	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_callout_test
_run_callout_test:                      ## @run_callout_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	movq	8(%rdi), %r14
	movq	_comaster@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movslq	%eax, %r15
	movq	(%rcx,%r15,8), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	$0, 4(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r12)
	movups	%xmm0, 48(%r12)
	movq	$0, 64(%r12)
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	_M_CALLTMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 16(%r12)
	jmp	LBB0_4
LBB0_1:
	movq	_M_CALLTMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$80, %edi
	callq	_malloc
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	%r12, (%rax,%r15,8)
	movq	(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	leaq	72(%r12), %rdi
	movq	_MTX_DUPOK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_mtx_init
	movl	%r15d, (%r12)
LBB0_4:
	movslq	(%r14), %rdi
	movl	%edi, 4(%r12)
	movl	4(%r14), %eax
	movl	%eax, 24(%r12)
	shlq	$2, %rdi
	movq	_M_CALLTMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	%rax, 16(%r12)
	cmpl	$0, 4(%r12)
	jle	LBB0_8
## %bb.5:
	movq	_CALLOUT_MPSAFE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_callout_init
	cmpl	$2, 4(%r12)
	jl	LBB0_8
## %bb.6:
	movl	$1, %r15d
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rdi
	addq	%rbx, %rdi
	movl	(%r14), %esi
	callq	_callout_init
	incq	%r15
	movslq	4(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_7
LBB0_8:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_execute_the_co_test            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_comaster,8,3                   ## @comaster
	.comm	_M_CALLTMP,4,2                  ## @M_CALLTMP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"callouttest"

	.comm	_MTX_DUPOK,4,2                  ## @MTX_DUPOK
	.comm	_CALLOUT_MPSAFE,4,2             ## @CALLOUT_MPSAFE
	.no_dead_strip	_run_callout_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_callout_test
_run_callout_test:                      ; @run_callout_test
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w23, [x0]
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x24, _comaster@GOTPAGE
Lloh1:
	ldr	x24, [x24, _comaster@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x19, [x8, w23, sxtw #3]
Lloh2:
	adrp	x21, _M_CALLTMP@GOTPAGE
Lloh3:
	ldr	x21, [x21, _M_CALLTMP@GOTPAGEOFF]
Lloh4:
	adrp	x22, _M_WAITOK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _M_WAITOK@GOTPAGEOFF]
	cbz	x19, LBB0_3
; %bb.1:
	stp	wzr, wzr, [x19, #4]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
	str	xzr, [x19, #64]
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w1, [x21]
	bl	_free
	str	xzr, [x19, #16]
	b	LBB0_4
LBB0_3:
	sxtw	x25, w23
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	w0, #80
	bl	_malloc
	mov	x19, x0
	ldr	x8, [x24]
	lsl	x9, x25, #3
	str	x0, [x8, x9]
	ldr	x8, [x24]
	ldr	x0, [x8, x9]
	mov	w1, #0
	mov	w2, #80
	bl	_memset
	add	x0, x19, #72
Lloh6:
	adrp	x8, _MTX_DUPOK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MTX_DUPOK@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_mtx_init
	str	w23, [x19]
LBB0_4:
	ldp	w8, w9, [x20]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	str	w8, [x19, #4]
	str	w9, [x19, #24]
	lsl	x0, x8, #2
	ldr	w1, [x21]
	ldr	w2, [x22]
	bl	_malloc
	str	x0, [x19, #16]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
Lloh11:
	adrp	x20, _CALLOUT_MPSAFE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _CALLOUT_MPSAFE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_callout_init
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.lt	LBB0_8
; %bb.6:
	mov	w21, #1
	mov	w22, #4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x22
	ldr	w1, [x20]
	bl	_callout_init
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	add	x22, x22, #4
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_execute_the_co_test
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_comaster,8,3                   ; @comaster
	.comm	_M_CALLTMP,4,2                  ; @M_CALLTMP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"callouttest"

	.comm	_MTX_DUPOK,4,2                  ; @MTX_DUPOK
	.comm	_CALLOUT_MPSAFE,4,2             ; @CALLOUT_MPSAFE
	.no_dead_strip	_run_callout_test
.subsections_via_symbols
