	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HEADER_FreeCallbackItems
_HEADER_FreeCallbackItems:              ## @HEADER_FreeCallbackItems
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_HDI_TEXT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	callq	_heap_free
	movq	$0, 8(%rbx)
	movl	(%rbx), %eax
LBB0_2:
	movq	_HDI_IMAGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_I_IMAGECALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDI_TEXT,4,2                   ## @HDI_TEXT
	.comm	_HDI_IMAGE,4,2                  ## @HDI_IMAGE
	.comm	_I_IMAGECALLBACK,4,2            ## @I_IMAGECALLBACK
	.no_dead_strip	_HEADER_FreeCallbackItems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HEADER_FreeCallbackItems
_HEADER_FreeCallbackItems:              ; @HEADER_FreeCallbackItems
	.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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HDI_TEXT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDI_TEXT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	bl	_heap_free
	str	xzr, [x19, #8]
	ldr	w8, [x19]
LBB0_2:
Lloh3:
	adrp	x9, _HDI_IMAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HDI_IMAGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _I_IMAGECALLBACK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I_IMAGECALLBACK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HDI_TEXT,4,2                   ; @HDI_TEXT
	.comm	_HDI_IMAGE,4,2                  ; @HDI_IMAGE
	.comm	_I_IMAGECALLBACK,4,2            ; @I_IMAGECALLBACK
	.no_dead_strip	_HEADER_FreeCallbackItems
.subsections_via_symbols
