	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function callout_callback
_callout_callback:                      ## @callout_callback
	.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
	movq	8(%rdi), %rdi
	callq	_mtx_lock
	movq	_mtx_callout@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	movq	$0, 32(%rbx)
LBB0_2:
	movq	_mtx_callout@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	16(%rbx), %edi
	callq	*%rax
LBB0_4:
	movq	_CALLOUT_RETURNUNLOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mtx_unlock                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mtx_callout,4,2                ## @mtx_callout
	.comm	_entry,4,2                      ## @entry
	.comm	_CALLOUT_RETURNUNLOCKED,4,2     ## @CALLOUT_RETURNUNLOCKED
	.no_dead_strip	_callout_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function callout_callback
_callout_callback:                      ; @callout_callback
	.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	x0, [x0, #8]
	bl	_mtx_lock
Lloh0:
	adrp	x0, _mtx_callout@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mtx_callout@GOTPAGEOFF]
	bl	_mtx_lock
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _entry@GOTPAGE
Lloh3:
	ldr	x8, [x8, _entry@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LIST_REMOVE
	str	xzr, [x19, #32]
LBB0_2:
Lloh5:
	adrp	x0, _mtx_callout@GOTPAGE
Lloh6:
	ldr	x0, [x0, _mtx_callout@GOTPAGEOFF]
	bl	_mtx_unlock
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #16]
	blr	x8
LBB0_4:
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _CALLOUT_RETURNUNLOCKED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CALLOUT_RETURNUNLOCKED@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mtx_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_mtx_callout,4,2                ; @mtx_callout
	.comm	_entry,4,2                      ; @entry
	.comm	_CALLOUT_RETURNUNLOCKED,4,2     ; @CALLOUT_RETURNUNLOCKED
	.no_dead_strip	_callout_callback
.subsections_via_symbols
