	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GlobalDeinit
_GlobalDeinit:                          ## @GlobalDeinit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_lWindowCount@GOTPCREL(%rip), %rdi
	callq	_InterlockedDecrement
	testl	%eax, %eax
	js	LBB0_1
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_hDefaultFontN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_DeleteObject
	movq	$0, (%rbx)
LBB0_3:
	movq	_hDefaultFontB@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_DeleteObject
	movq	$0, (%rbx)
LBB0_5:
	movq	_hPatternPen@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_DeleteObject
	movq	$0, (%rbx)
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pBufferedPtExit                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lWindowCount,4,2               ## @lWindowCount
	.comm	_hDefaultFontN,8,3              ## @hDefaultFontN
	.comm	_hDefaultFontB,8,3              ## @hDefaultFontB
	.comm	_hPatternPen,8,3                ## @hPatternPen
	.no_dead_strip	_GlobalDeinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GlobalDeinit
_GlobalDeinit:                          ; @GlobalDeinit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, _lWindowCount@GOTPAGE
Lloh1:
	ldr	x0, [x0, _lWindowCount@GOTPAGEOFF]
	bl	_InterlockedDecrement
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x19, _hDefaultFontN@GOTPAGE
Lloh3:
	ldr	x19, [x19, _hDefaultFontN@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_DeleteObject
	str	xzr, [x19]
LBB0_4:
Lloh4:
	adrp	x19, _hDefaultFontB@GOTPAGE
Lloh5:
	ldr	x19, [x19, _hDefaultFontB@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_DeleteObject
	str	xzr, [x19]
LBB0_6:
Lloh6:
	adrp	x19, _hPatternPen@GOTPAGE
Lloh7:
	ldr	x19, [x19, _hPatternPen@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_DeleteObject
	str	xzr, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pBufferedPtExit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_lWindowCount,4,2               ; @lWindowCount
	.comm	_hDefaultFontN,8,3              ; @hDefaultFontN
	.comm	_hDefaultFontB,8,3              ; @hDefaultFontB
	.comm	_hPatternPen,8,3                ; @hPatternPen
	.no_dead_strip	_GlobalDeinit
.subsections_via_symbols
