	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aio_context_init
_aio_context_init:                      ## @aio_context_init
	.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	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_BUFFER_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	cmpl	%r14d, %ecx
	setge	%dil
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_ATF_REQUIRE_MSG
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_bzero
	movl	%r12d, (%rbx)
	movl	%r15d, 4(%rbx)
	movl	%r14d, 8(%rbx)
	xorl	%eax, %eax
	callq	_srandomdev
	xorl	%eax, %eax
	callq	_random
	movl	%eax, 12(%rbx)
	movl	16(%rbx), %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_aio_fill_buffer
	movl	12(%rbx), %edx
	movl	16(%rbx), %edi
	movl	%r14d, %esi
	callq	_aio_test_buffer
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ATF_REQUIRE_MSG                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFER_MAX,4,2                 ## @BUFFER_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"aio_context_init: buffer too large (%d > %d)"

L_.str.1:                               ## @.str.1
	.asciz	"aio_test_buffer: internal error"

	.no_dead_strip	_aio_context_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aio_context_init
_aio_context_init:                      ; @aio_context_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _BUFFER_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFFER_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	cset	w0, ge
	stp	x19, x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ATF_REQUIRE_MSG
	mov	x0, x22
	mov	w1, #20
	bl	_bzero
	stp	w21, w20, [x22]
	str	w19, [x22, #8]
	bl	_srandomdev
	bl	_random
	mov	x2, x0
	str	w0, [x22, #12]
	ldr	w0, [x22, #16]
	mov	x1, x19
	bl	_aio_fill_buffer
	ldp	w2, w0, [x22, #12]
	mov	x1, x19
	bl	_aio_test_buffer
	cmp	x0, #0
	cset	w0, ne
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_ATF_REQUIRE_MSG
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFER_MAX,4,2                 ; @BUFFER_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"aio_context_init: buffer too large (%d > %d)"

l_.str.1:                               ; @.str.1
	.asciz	"aio_test_buffer: internal error"

	.no_dead_strip	_aio_context_init
.subsections_via_symbols
