	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function submit_io
_submit_io:                             ## @submit_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	%rdx, (%rdi)
	movl	$1, %edi
	callq	_likely
	movl	8(%r12), %r15d
	movq	32(%r12), %rdx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movb	(%rdx), %cl
	shll	%cl, %r15d
	jmp	LBB0_3
LBB0_2:
	movl	4(%rdx), %eax
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	imull	%eax, %r15d
LBB0_3:
	addl	16(%rdx), %r15d
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	8(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	*%rax
	movq	32(%r12), %rdx
LBB0_7:
	movl	16(%r12), %eax
	movq	_DM_BUFIO_WRITE_ALIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx), %ebx
	decl	%ebx
	movl	%ecx, %eax
	negl	%eax
	movl	12(%r12), %r13d
	andl	%eax, %r13d
	andl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	4(%rdx), %ebx
	seta	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	32(%r12), %rax
	movl	4(%rax), %ebx
LBB0_9:
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r13d, %eax
	shrl	%cl, %eax
	addl	%eax, %r15d
	subl	%r13d, %ebx
	shrl	%cl, %ebx
	jmp	LBB0_10
LBB0_4:
	movl	4(%rdx), %ebx
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrl	%cl, %ebx
	xorl	%r13d, %r13d
LBB0_10:
	movq	24(%r12), %rax
	movq	_DATA_MODE_VMALLOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_use_dmio                       ## TAILCALL
LBB0_11:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_use_bio                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_REQ_OP_WRITE,4,2               ## @REQ_OP_WRITE
	.comm	_DM_BUFIO_WRITE_ALIGN,4,2       ## @DM_BUFIO_WRITE_ALIGN
	.comm	_DATA_MODE_VMALLOC,8,3          ## @DATA_MODE_VMALLOC
	.no_dead_strip	_submit_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function submit_io
_submit_io:                             ; @submit_io
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	str	x2, [x0]
	mov	w0, #1
	bl	_likely
	ldr	w9, [x20, #8]
	ldr	x8, [x20, #32]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w10, [x8]
	lsl	w9, w9, w10
	b	LBB0_3
LBB0_2:
	ldr	w10, [x8, #4]
Lloh0:
	adrp	x11, _SECTOR_SHIFT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	lsr	w10, w10, w11
	mul	w9, w10, w9
LBB0_3:
	ldr	w10, [x8, #16]
	add	w21, w9, w10
Lloh3:
	adrp	x9, _REQ_OP_WRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REQ_OP_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w19
	b.ne	LBB0_9
; %bb.4:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.5:
	mov	x0, x20
	blr	x9
	ldr	x8, [x20, #32]
LBB0_6:
	ldp	w9, w10, [x20, #12]
Lloh6:
	adrp	x11, _DM_BUFIO_WRITE_ALIGN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _DM_BUFIO_WRITE_ALIGN@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	neg	w12, w11
	and	w22, w9, w12
	add	w9, w10, w11
	sub	w9, w9, #1
	and	w23, w9, w12
	ldr	w8, [x8, #4]
	cmp	w23, w8
	cset	w0, hi
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x20, #32]
	ldr	w23, [x8, #4]
LBB0_8:
Lloh9:
	adrp	x8, _SECTOR_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsr	w9, w22, w8
	add	w21, w9, w21
	sub	w9, w23, w22
	lsr	w3, w9, w8
	b	LBB0_10
LBB0_9:
	mov	w22, #0
	ldr	w8, [x8, #4]
Lloh12:
	adrp	x9, _SECTOR_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	lsr	w3, w8, w9
LBB0_10:
	ldr	x8, [x20, #24]
Lloh15:
	adrp	x9, _DATA_MODE_VMALLOC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DATA_MODE_VMALLOC@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x4, x22
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_use_dmio
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_use_bio
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_REQ_OP_WRITE,4,2               ; @REQ_OP_WRITE
	.comm	_DM_BUFIO_WRITE_ALIGN,4,2       ; @DM_BUFIO_WRITE_ALIGN
	.comm	_DATA_MODE_VMALLOC,8,3          ; @DATA_MODE_VMALLOC
	.no_dead_strip	_submit_io
.subsections_via_symbols
