	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aio_io
_aio_io:                                ## @aio_io
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_SIGEV_THREAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movl	%ebx, %edi
	movq	%rbx, %rsi
	callq	_aio_sigev_alloc
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	*%r15
	movl	%eax, %r14d
	movq	-32(%rbp), %rax
	movq	%rax, (%rbx)
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	xorl	%eax, %eax
	callq	___sigev_list_lock
	movq	-40(%rbp), %rdi
	callq	___sigev_delete_node
	xorl	%eax, %eax
	callq	___sigev_list_unlock
	movl	%ebx, (%r15)
	jmp	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rsi                           ## TAILCALL
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGEV_THREAD,8,3               ## @SIGEV_THREAD
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_aio_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aio_io
_aio_io:                                ; @aio_io
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SIGEV_THREAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIGEV_THREAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x19
	bl	_aio_sigev_alloc
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	blr	x1
	mov	x20, x0
	ldr	x8, [sp, #16]
	str	x8, [x19]
	cbz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x19, _errno@GOTPAGE
Lloh4:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w21, [x19]
	bl	___sigev_list_lock
	ldr	x0, [sp, #24]
	bl	___sigev_delete_node
	bl	___sigev_list_unlock
	str	w21, [x19]
LBB0_4:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_5:
	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
	add	sp, sp, #80
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGEV_THREAD,8,3               ; @SIGEV_THREAD
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_aio_io
.subsections_via_symbols
