; BGL · SECURE CLEAN PIN · full iron · after BGF · before SDF
; =============================================================================
; NAME     BGL  (secure / clean surface)
; OP       bgl(surface) → surface|1   when clean live · or 0 if surface==0 refuse
;          also: bgl_ok() style — edi dirty_flags → 0 if clean else flags|1 scar-class
; PIN      secure clean · field hygiene · not measure peel · not place
; ABI      System V · edi=surface_or_dirty · → eax
; MODES
;   Preferred desk use: edi = clean surface mark → return edi|1
;   If edi==0 → return 0 (no surface / not live)
; LAW
;   · BGL is COOK/hygiene seat on the line · keep flawless
;   · public_listen must stay 0 · scar cook off residual
;   · not commercial AV · desk field hygiene only
;   · C IS LIE · do not invent third pin as “security god”
; LINE     BGS → BGF(+atoms) → BGL → SDF · SPV free
; RELATED  scar/ · cover.sh · spv-antivirus · bgf-sheen-scrape
; ARCH     x86_64 · aarch64
; IRON
        global  bgl
bgl:
        mov     eax, edi
        test    eax, eax
        jz      .off
        or      eax, 1          ; clean surface live |1
        ret
.off:   xor     eax, eax        ; no surface
        ret
