	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mspro_block_issue_req
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mspro_block_issue_req:                 ## @mspro_block_issue_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_memstick_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %r15
	addq	$40, %r15
	movq	_BLK_STS_RESOURCE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	movq	16(%rbx), %rsi
	movl	(%rsi), %edi
	movl	36(%rbx), %edx
	callq	_blk_rq_map_sg
	movl	%eax, 32(%rbx)
	movq	16(%rbx), %rdi
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_blk_rq_cur_bytes
	movq	16(%rbx), %rdi
	movl	(%r12), %esi
	movl	%eax, %edx
	callq	_blk_update_request
	testl	%eax, %eax
	jne	LBB0_1
## %bb.3:
	movq	16(%rbx), %rdi
	movl	(%r12), %esi
	callq	___blk_mq_end_request
	movq	$0, 16(%rbx)
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	callq	_blk_rq_pos
	movl	%eax, %r15d
	shll	$9, %r15d
	movq	16(%rbx), %rdi
	callq	_blk_rq_bytes
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	*24(%rbx)
	movq	16(%rbx), %rdi
	callq	_rq_data_dir
	movq	%rax, (%rbx)
	movq	_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_MSPRO_CMD_READ_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_MSPRO_CMD_WRITE_DATA@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	(%r14), %edi
	callq	_memstick_new_req
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_STS_RESOURCE,4,2           ## @BLK_STS_RESOURCE
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_READ,8,3                       ## @READ
	.comm	_MSPRO_CMD_READ_DATA,4,2        ## @MSPRO_CMD_READ_DATA
	.comm	_MSPRO_CMD_WRITE_DATA,4,2       ## @MSPRO_CMD_WRITE_DATA
	.no_dead_strip	_mspro_block_issue_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_issue_req
_mspro_block_issue_req:                 ; @mspro_block_issue_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	x20, x0
	bl	_memstick_get_drvdata
	mov	x19, x0
	add	x22, x0, #40
Lloh0:
	adrp	x21, _BLK_STS_RESOURCE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BLK_STS_RESOURCE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [x22]
	ldr	x1, [x19, #16]
	ldr	w0, [x1]
	ldr	w2, [x19, #36]
	bl	_blk_rq_map_sg
	mov	x8, x0
	str	w0, [x19, #32]
	ldr	x0, [x19, #16]
	cbnz	w8, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_blk_rq_cur_bytes
	mov	x2, x0
	ldr	x0, [x19, #16]
	ldr	w1, [x21]
	bl	_blk_update_request
	cbnz	w0, LBB0_1
; %bb.3:
	ldr	x0, [x19, #16]
	ldr	w1, [x21]
	bl	___blk_mq_end_request
	str	xzr, [x19, #16]
Lloh2:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	bl	_blk_rq_pos
	lsl	w21, w0, #9
	ldr	x0, [x19, #16]
	bl	_blk_rq_bytes
	mov	x2, x0
	ldr	x8, [x19, #24]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldr	x0, [x19, #16]
	bl	_rq_data_dir
	str	x0, [x19]
Lloh5:
	adrp	x8, _READ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _READ@GOTPAGEOFF]
Lloh7:
	adrp	x9, _MSPRO_CMD_READ_DATA@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MSPRO_CMD_READ_DATA@GOTPAGEOFF]
Lloh9:
	adrp	x10, _MSPRO_CMD_WRITE_DATA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MSPRO_CMD_WRITE_DATA@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w0, [x20]
	bl	_memstick_new_req
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_STS_RESOURCE,4,2           ; @BLK_STS_RESOURCE
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_READ,8,3                       ; @READ
	.comm	_MSPRO_CMD_READ_DATA,4,2        ; @MSPRO_CMD_READ_DATA
	.comm	_MSPRO_CMD_WRITE_DATA,4,2       ; @MSPRO_CMD_WRITE_DATA
	.no_dead_strip	_mspro_block_issue_req
.subsections_via_symbols
