	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r5l_do_submit_io
_r5l_do_submit_io:                      ## @r5l_do_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_spin_lock_irqsave
	movq	_IO_UNIT_IO_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	___r5l_set_io_unit_state
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_REQ_PREFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	movq	_REQ_FUA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
LBB0_5:
	callq	_submit_bio
LBB0_6:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:
	movq	_REQ_PREFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	orl	%eax, (%rcx)
LBB0_8:
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.10:
	movq	_REQ_FUA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rdi
	orl	%eax, (%rdi)
	jmp	LBB0_11
LBB0_9:
	movq	(%rbx), %rdi
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_submit_bio                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_UNIT_IO_START,4,2           ## @IO_UNIT_IO_START
	.comm	_REQ_PREFLUSH,4,2               ## @REQ_PREFLUSH
	.comm	_REQ_FUA,4,2                    ## @REQ_FUA
	.no_dead_strip	_r5l_do_submit_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r5l_do_submit_io
_r5l_do_submit_io:                      ; @r5l_do_submit_io
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _IO_UNIT_IO_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IO_UNIT_IO_START@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	___r5l_set_io_unit_state
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x0, [x19, #24]
Lloh3:
	adrp	x21, _REQ_PREFLUSH@GOTPAGE
Lloh4:
	ldr	x21, [x21, _REQ_PREFLUSH@GOTPAGEOFF]
Lloh5:
	adrp	x20, _REQ_FUA@GOTPAGE
Lloh6:
	ldr	x20, [x20, _REQ_FUA@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x21]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x20]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_5:
	bl	_submit_bio
LBB0_6:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w8, [x21]
	ldr	x9, [x19]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w8, [x20]
	ldr	x0, [x19]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	b	LBB0_11
LBB0_10:
	ldr	x0, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_submit_bio
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_UNIT_IO_START,4,2           ; @IO_UNIT_IO_START
	.comm	_REQ_PREFLUSH,4,2               ; @REQ_PREFLUSH
	.comm	_REQ_FUA,4,2                    ; @REQ_FUA
	.no_dead_strip	_r5l_do_submit_io
.subsections_via_symbols
