	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function async_io
_async_io:                              ## @async_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movl	%r8d, %r13d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r14
	cmpl	$2, %esi
	jb	LBB0_3
## %bb.1:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_op_is_write
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mempool_alloc
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movq	$0, 40(%rax)
	leaq	32(%rax), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	%r14, 24(%r15)
	movq	16(%rbp), %rax
	movq	%rax, 16(%r15)
	movq	24(%rbp), %rax
	movq	%rax, 8(%r15)
	movl	4(%rbx), %eax
	movl	%eax, 4(%r15)
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	$0, (%rsp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_dispatch_io
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edi
	callq	_WARN_ON
	movl	$1, %edi
	movq	24(%rbp), %rsi
	callq	*16(%rbp)
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.no_dead_strip	_async_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function async_io
_async_io:                              ; @async_io
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x20, x6
	mov	x21, x5
	mov	x23, x4
	mov	x25, x3
	mov	x22, x2
	mov	x24, x1
	mov	x26, x0
	cmp	w1, #2
	b.lo	LBB0_2
; %bb.1:
	mov	x0, x25
	bl	_op_is_write
	cbz	w0, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_mempool_alloc
	mov	x27, x0
	str	xzr, [x0, #40]
	add	x0, x0, #32
	mov	w1, #1
	bl	_atomic_set
	stp	x20, x26, [x27, #16]
	str	x19, [x27, #8]
	ldr	d0, [x21]
	str	d0, [x27]
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	mov	x3, x22
	mov	x4, x21
	mov	x5, x27
	mov	w6, #0
	bl	_dispatch_io
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #1
	bl	_WARN_ON
	mov	w0, #1
	mov	x1, x19
	blr	x20
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.no_dead_strip	_async_io
.subsections_via_symbols
