	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vscsi_scsi_command
_vscsi_scsi_command:                    ## @vscsi_scsi_command
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	xorl	%edi, %edi
	testl	%ecx, %ecx
	sete	%dil
	movslq	%ecx, %rsi
	callq	_KASSERT
	movq	8(%rbx), %rdi
	addq	$28, %rdi
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtx_assert
	movl	(%r14), %eax
	movq	_CAM_CDB_POINTER@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	sete	%dl
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	8(%r14,%rdx,8), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leal	-16(%rax), %esi
	xorl	%ecx, %ecx
	cmpl	$17, %eax
	cmovll	%ecx, %esi
	movl	%r12d, %edx
	shll	$4, %edx
	xorl	%r13d, %r13d
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	cmpl	$2, %r12d
	setge	%r13b
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	leal	(%rsi,%r13,4), %eax
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	cmovgel	%edx, %ecx
	leal	(%rcx,%rax), %edi
	addl	$64, %edi
	movl	%edi, (%rbx)
	movl	$16, %esi
	callq	_roundup
	movl	%eax, (%rbx)
	movq	8(%rbx), %rcx
	movl	24(%rcx), %edi
	movq	_M_BESTFIT@GOTPCREL(%rip), %rcx
	movq	_M_NOWAIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rcx
	movl	%eax, %esi
	callq	_vmem_alloc
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_panic
LBB0_2:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rax), %rbx
	movslq	4(%rcx), %r12
	leaq	(%rbx,%r12,4), %r14
	movl	(%rcx), %esi
	movq	%r14, %rdi
	callq	_bzero
	movq	_SRP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx,%r12,4)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edx
	cmpl	$17, %edx
	jl	LBB0_4
## %bb.3:
	leal	-64(,%rdx,4), %eax
	movl	%eax, (%r14)
	movl	(%rbx), %edx
LBB0_4:
	movq	%r14, %r12
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r13,4), %r13d
	addl	$64, %r13d
	movq	32(%r14), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 4(%r14)
	movl	4(%rbx), %edi
	callq	_CAM_EXTLUN_BYTE_SWIZZLE
	movl	%eax, %edi
	callq	_htobe64
	movl	%eax, 24(%r14)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	movq	%rbx, %r14
	movl	%r13d, -80(%rbp)                ## 4-byte Spill
	jl	LBB0_18
## %bb.5:
	movq	_CAM_DIR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%r14), %esi
	cmpl	$129, %esi
	je	LBB0_8
## %bb.6:
	cmpl	$128, %esi
	jne	LBB0_9
## %bb.7:
	movl	$32, 8(%r12)
	jmp	LBB0_10
LBB0_18:
	cmpl	$1, %eax
	jne	LBB0_25
## %bb.19:
	movq	_CAM_DIR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%r14), %esi
	cmpl	$129, %esi
	je	LBB0_22
## %bb.20:
	cmpl	$128, %esi
	jne	LBB0_23
## %bb.21:
	movl	$16, 8(%r12)
	jmp	LBB0_24
LBB0_25:
	movl	$0, 8(%r12)
	jmp	LBB0_26
LBB0_8:
	movl	$2, 8(%r12)
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	callq	_panic
LBB0_10:
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	(%r14), %eax
	leal	-16(%rax), %r13d
	xorl	%ebx, %ebx
	cmpl	$17, %eax
	cmovll	%ebx, %r13d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movl	4(%rcx), %ecx
	movl	(%rax), %eax
	addl	%r13d, %eax
	addl	%ecx, %eax
	addl	$68, %eax
	movl	%eax, -48(%rbp)
	movl	%edx, -44(%rbp)
	leaq	(,%r13,4), %rdi
	addq	16(%r12), %rdi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	16(%r12), %rax
	leaq	(%rax,%r13,4), %rdi
	addq	$48, %rdi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r14d
	cmpl	$9, %eax
	jae	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_12:
	movl	%r14d, %eax
	andl	$7, %eax
	testq	%rax, %rax
	movl	$8, %ecx
	cmovneq	%rax, %rcx
	movq	%r14, %rax
	subq	%rcx, %rax
	pxor	%xmm0, %xmm0
	xorl	%ecx, %ecx
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r15,%rcx,8), %xmm2
	movups	16(%r15,%rcx,8), %xmm3
	shufps	$136, %xmm3, %xmm2              ## xmm2 = xmm2[0,2],xmm3[0,2]
	paddd	%xmm2, %xmm0
	movups	32(%r15,%rcx,8), %xmm2
	movups	48(%r15,%rcx,8), %xmm3
	shufps	$136, %xmm3, %xmm2              ## xmm2 = xmm2[0,2],xmm3[0,2]
	paddd	%xmm2, %xmm1
	addq	$8, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_13
## %bb.14:
	paddd	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,8), %ebx
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_15
## %bb.16:
	movl	%ebx, -44(%rbp)
	leal	16(%r13), %edi
	shlq	$2, %rdi
	addq	16(%r12), %rdi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movslq	%r13d, %rax
	leaq	80(,%rax,4), %rbx
	movq	%r12, %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r15,%r12,8), %eax
	movl	%eax, -48(%rbp)
	movl	(%r15,%r12,8), %eax
	movl	%eax, -44(%rbp)
	movq	16(%r13), %rdi
	addq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	16(%r13), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$48, %rdi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	incq	%r12
	addq	$64, %rbx
	cmpq	%r12, %r14
	jne	LBB0_17
	jmp	LBB0_26
LBB0_22:
	movl	$1, 8(%r12)
	jmp	LBB0_24
LBB0_23:
	leaq	L_.str.2(%rip), %rdi
	callq	_panic
LBB0_24:
	movl	4(%r15), %eax
	movl	%eax, -48(%rbp)
	movl	(%r15), %eax
	movl	%eax, -44(%rbp)
	movl	(%r14), %eax
	leal	-16(%rax), %ecx
	xorl	%ebx, %ebx
	cmpl	$17, %eax
	cmovgel	%ecx, %ebx
	leaq	(,%rbx,4), %rdi
	addq	16(%r12), %rdi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	16(%r12), %rax
	leaq	(%rax,%rbx,4), %rdi
	addq	$48, %rdi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r14), %eax
	leal	48(%rax), %ecx
	cmpl	$17, %eax
	movl	$64, %eax
	cmovgel	%ecx, %eax
	xorl	%edi, %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%eax, (%rcx)
	setge	%dil
	leaq	L_.str.3(%rip), %rsi
	callq	_KASSERT
LBB0_26:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	movl	12(%rax), %edi
	movq	_BUS_DMASYNC_PREWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_dmamap_sync
	movq	8(%rbx), %rax
	movq	_H_SEND_CRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	4(%rax), %esi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	movl	$128, %ecx
	callq	_phyp_hcall
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_panic
LBB0_28:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_CAM_CDB_POINTER,4,2            ## @CAM_CDB_POINTER
	.comm	_M_BESTFIT,4,2                  ## @M_BESTFIT
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Error during VMEM allocation (%d)"

	.comm	_SRP_CMD,4,2                    ## @SRP_CMD
	.comm	_CAM_DIR_MASK,4,2               ## @CAM_DIR_MASK
L_.str.2:                               ## @.str.2
	.asciz	"Does not support bidirectional commands (%d)"

L_.str.3:                               ## @.str.3
	.asciz	"SRP IU command length"

	.comm	_BUS_DMASYNC_PREWRITE,4,2       ## @BUS_DMASYNC_PREWRITE
	.comm	_H_SEND_CRQ,4,2                 ## @H_SEND_CRQ
L_.str.4:                               ## @.str.4
	.asciz	"CRQ send failure (%d)"

	.no_dead_strip	_vscsi_scsi_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vscsi_scsi_command
_vscsi_scsi_command:                    ; @vscsi_scsi_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x25, [x0, #16]
	cmp	w3, #0
	cset	w0, eq
	sxtw	x1, w3
	bl	_KASSERT
	ldr	x8, [x19, #8]
	add	x0, x8, #28
Lloh0:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mtx_assert
	ldr	w8, [x25]
Lloh3:
	adrp	x9, _CAM_CDB_POINTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CAM_CDB_POINTER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w9, #8
	mov	w10, #16
	csel	x9, x10, x9, eq
	ldr	x24, [x25, x9]
	subs	w8, w8, #16
	csel	w8, w8, wzr, gt
	mov	w9, #64
	mov	w10, #68
	cmp	w23, #1
	csel	w9, w10, w9, gt
	lsl	w26, w23, #4
	csel	w10, w26, wzr, gt
	add	w20, w8, w9
	add	w0, w20, w10
	str	w0, [x19]
	mov	w1, #16
	bl	_roundup
	mov	x1, x0
	str	w0, [x19]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #24]
Lloh6:
	adrp	x8, _M_BESTFIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_BESTFIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _M_NOWAIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _M_NOWAIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x3, x19, #4
	bl	_vmem_alloc
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	ldp	w1, w9, [x19]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x22, x8, x9, lsl #2
	mov	x0, x22
	bl	_bzero
Lloh14:
	adrp	x8, _SRP_CMD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SRP_CMD@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x22, #40]
	ldr	w2, [x25]
	cmp	w2, #17
	b.lt	LBB0_4
; %bb.3:
	lsl	w8, w2, #2
	sub	w8, w8, #64
	str	w8, [x22]
	ldr	w2, [x25]
LBB0_4:
	ldr	x0, [x22, #32]
	mov	x1, x24
	bl	_memcpy
	str	w19, [x22, #4]
	ldr	w0, [x25, #4]
	bl	_CAM_EXTLUN_BYTE_SWIZZLE
	bl	_htobe64
	str	w0, [x22, #24]
	cmp	w23, #2
	b.lt	LBB0_8
; %bb.5:
	ldr	w8, [x25]
Lloh17:
	adrp	x9, _CAM_DIR_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CAM_DIR_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	and	w1, w9, w8
	cmp	w1, #129
	b.eq	LBB0_13
; %bb.6:
	cmp	w1, #128
	b.ne	LBB0_14
; %bb.7:
	mov	w8, #32
	str	w8, [x22, #8]
	b	LBB0_15
LBB0_8:
	cmp	w23, #1
	b.ne	LBB0_12
; %bb.9:
	ldr	w8, [x25]
Lloh20:
	adrp	x9, _CAM_DIR_MASK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CAM_DIR_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	and	w1, w9, w8
	cmp	w1, #129
	b.eq	LBB0_24
; %bb.10:
	cmp	w1, #128
	b.ne	LBB0_25
; %bb.11:
	mov	w8, #16
	str	w8, [x22, #8]
	b	LBB0_26
LBB0_12:
	str	wzr, [x22, #8]
	b	LBB0_27
LBB0_13:
	mov	w8, #2
	str	w8, [x22, #8]
	b	LBB0_15
LBB0_14:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_panic
LBB0_15:
	ldr	w8, [x25]
	subs	w8, w8, #16
	csel	w25, w8, wzr, gt
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	add	w8, w8, w25
	add	w8, w8, w9
	add	w8, w8, #68
	stp	w26, w8, [sp, #8]
	ldr	x8, [x22, #16]
	add	x0, x8, w25, uxtw #2
	add	x1, sp, #12
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x22, #16]
	add	w9, w25, #12
	add	x0, x8, w9, uxtw #2
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	mov	w24, w23
	cmp	w23, #17
	b.hs	LBB0_17
; %bb.16:
	mov	x8, #0
	mov	w9, #0
	b	LBB0_20
LBB0_17:
	ands	x8, x24, #0xf
	mov	w9, #16
	csel	x8, x9, x8, eq
	sub	x8, x24, x8
	add	x10, x21, #64
	movi.2d	v0, #0000000000000000
	mov	x9, x8
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	sub	x11, x10, #64
	ld2.4s	{ v4, v5 }, [x11]
	sub	x11, x10, #32
	ld2.4s	{ v6, v7 }, [x11]
	add	x11, x10, #128
	ld2.4s	{ v16, v17 }, [x10], #32
	ld2.4s	{ v18, v19 }, [x10]
	add.4s	v0, v0, v4
	add.4s	v1, v1, v6
	add.4s	v2, v2, v16
	add.4s	v3, v3, v18
	mov	x10, x11
	subs	x9, x9, #16
	b.ne	LBB0_18
; %bb.19:
	add.4s	v0, v1, v0
	add.4s	v0, v2, v0
	add.4s	v0, v3, v0
	addv.4s	s0, v0
	fmov	w9, s0
LBB0_20:
	add	x10, x21, x8, lsl #3
	sub	x8, x24, x8
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #8
	add	w9, w9, w11
	subs	x8, x8, #1
	b.ne	LBB0_21
; %bb.22:
	str	w9, [sp, #8]
	ldr	x8, [x22, #16]
	add	w9, w25, #16
	add	x0, x8, w9, uxtw #2
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	add	w8, w25, #20
	add	x21, x21, #4
	sbfiz	x23, x8, #2, #32
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	ldur	w8, [x21, #-4]
	stp	w8, w9, [sp, #8]
	ldr	x8, [x22, #16]
	add	x0, x8, x23
	add	x1, sp, #12
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x22, #16]
	add	x8, x8, x23
	add	x0, x8, #48
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	add	x21, x21, #8
	add	x23, x23, #64
	subs	x24, x24, #1
	b.ne	LBB0_23
	b	LBB0_27
LBB0_24:
	mov	w8, #1
	str	w8, [x22, #8]
	b	LBB0_26
LBB0_25:
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_panic
LBB0_26:
	ldp	w9, w8, [x21]
	stp	w9, w8, [sp, #8]
	ldr	w8, [x25]
	subs	w8, w8, #16
	csel	w21, w8, wzr, gt
	ldr	x8, [x22, #16]
	add	x0, x8, w21, uxtw #2
	add	x1, sp, #12
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x22, #16]
	add	w9, w21, #12
	add	x0, x8, w9, uxtw #2
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x19]
	ldr	w9, [x25]
	add	w10, w9, #48
	mov	w11, #64
	cmp	w9, #16
	csel	w9, w10, w11, gt
	cmp	w8, w9
	cset	w0, ge
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_KASSERT
LBB0_27:
	ldr	x8, [x19, #8]
	ldp	w1, w0, [x8, #8]
Lloh29:
	adrp	x8, _BUS_DMASYNC_PREWRITE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BUS_DMASYNC_PREWRITE@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	bl	_bus_dmamap_sync
	ldr	x8, [x19, #8]
Lloh32:
	adrp	x9, _H_SEND_CRQ@GOTPAGE
Lloh33:
	ldr	x9, [x9, _H_SEND_CRQ@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x9]
	ldr	w1, [x8, #4]
	mov	x2, x20
	mov	w3, #128
	bl	_phyp_hcall
	cbz	w0, LBB0_29
; %bb.28:
	mov	x1, x0
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_panic
LBB0_29:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_CAM_CDB_POINTER,4,2            ; @CAM_CDB_POINTER
	.comm	_M_BESTFIT,4,2                  ; @M_BESTFIT
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Error during VMEM allocation (%d)"

	.comm	_SRP_CMD,4,2                    ; @SRP_CMD
	.comm	_CAM_DIR_MASK,4,2               ; @CAM_DIR_MASK
l_.str.2:                               ; @.str.2
	.asciz	"Does not support bidirectional commands (%d)"

l_.str.3:                               ; @.str.3
	.asciz	"SRP IU command length"

	.comm	_BUS_DMASYNC_PREWRITE,4,2       ; @BUS_DMASYNC_PREWRITE
	.comm	_H_SEND_CRQ,4,2                 ; @H_SEND_CRQ
l_.str.4:                               ; @.str.4
	.asciz	"CRQ send failure (%d)"

	.no_dead_strip	_vscsi_scsi_command
.subsections_via_symbols
