	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mspro_block_submit_req
_mspro_block_submit_req:                ## @mspro_block_submit_req
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_memstick_get_drvdata
	cmpl	$0, (%rax)
	je	LBB0_1
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rax, %r14
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_blk_fetch_request
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_ENODEV@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	subl	(%r14), %esi
	movq	%rax, %rdi
	callq	___blk_end_request_all
	movq	%rbx, %rdi
	callq	_blk_fetch_request
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_7
LBB0_5:
	movl	$1, (%r14)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mspro_block_issue_req
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	$0, (%r14)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_mspro_block_submit_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mspro_block_submit_req
_mspro_block_submit_req:                ; @mspro_block_submit_req
	.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, x0
	ldr	x21, [x0]
	mov	x0, x21
	bl	_memstick_get_drvdata
	ldr	w8, [x0]
	cbz	w8, LBB0_2
LBB0_1:
	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
	ret
LBB0_2:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_blk_fetch_request
	cbz	x0, LBB0_1
; %bb.4:
Lloh0:
	adrp	x20, _ENODEV@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ENODEV@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	neg	w1, w8
	bl	___blk_end_request_all
	mov	x0, x19
	bl	_blk_fetch_request
	cbnz	x0, LBB0_5
	b	LBB0_1
LBB0_6:
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x21
	mov	w1, #0
	bl	_mspro_block_issue_req
	cbz	x0, LBB0_1
; %bb.7:
	str	wzr, [x20]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_mspro_block_submit_req
.subsections_via_symbols
