	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_io
_nvme_trans_io:                         ## @nvme_trans_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rcx), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_5
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	_SNTI_TRANSLATION_SUCCESS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_6:
	leaq	-48(%rbp), %rsi
	movq	%rcx, %rdi
	callq	_nvme_trans_get_io_cdb6
	cmpl	$0, (%r13)
	jg	LBB0_8
	jmp	LBB0_15
LBB0_4:
	leaq	-48(%rbp), %rsi
	movq	%rcx, %rdi
	callq	_nvme_trans_get_io_cdb16
	cmpl	$0, (%r13)
	jg	LBB0_8
	jmp	LBB0_15
LBB0_3:
	leaq	-48(%rbp), %rsi
	movq	%rcx, %rdi
	callq	_nvme_trans_get_io_cdb12
	cmpl	$0, (%r13)
	jg	LBB0_8
LBB0_15:
	movl	4(%r13), %ebx
	jmp	LBB0_16
LBB0_2:
	leaq	-48(%rbp), %rsi
	movq	%rcx, %rdi
	callq	_nvme_trans_get_io_cdb10
	cmpl	$0, (%r13)
	jle	LBB0_15
LBB0_8:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rsi
	addq	%r14, %rsi
	leaq	-56(%rbp), %rdi
	movl	$4, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movzbl	(%r12), %ecx
	movl	$-1, %edx
	shll	%cl, %edx
	movl	-56(%rbp), %eax
	notl	%edx
	testl	%edx, %eax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	addl	%eax, %ebx
	incq	%r15
	movslq	(%r13), %rax
	addq	$4, %r14
	cmpq	%rax, %r15
	jl	LBB0_9
LBB0_16:
	movl	4(%r13), %edi
	movl	%ebx, %esi
	callq	_min
	movl	-48(%rbp), %edx
	movb	(%r12), %cl
	movl	%edx, %esi
	shll	%cl, %esi
	cmpl	%esi, %eax
	jne	LBB0_17
## %bb.18:
	testl	%edx, %edx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_20
## %bb.19:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_nvme_trans_do_nvme_io
	jmp	LBB0_20
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_10:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
LBB0_11:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_20
LBB0_13:
	movq	_SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ILLEGAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCSI_ASC_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	callq	_nvme_trans_completion
	jmp	LBB0_20
LBB0_5:
	movq	_SNTI_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_SNTI_INTERNAL_ERROR,4,2        ## @SNTI_INTERNAL_ERROR
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ## @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ## @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_PARAMETER,4,2 ## @SCSI_ASC_INVALID_PARAMETER
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ## @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nvme_trans_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_io
_nvme_trans_io:                         ; @nvme_trans_io
	.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
	ldr	w8, [x3]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_20
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x9, _SNTI_TRANSLATION_SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNTI_TRANSLATION_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x9]
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x1, sp, #8
	mov	x0, x3
	bl	_nvme_trans_get_io_cdb6
	b	LBB0_6
LBB0_3:
	add	x1, sp, #8
	mov	x0, x3
	bl	_nvme_trans_get_io_cdb16
	b	LBB0_6
LBB0_4:
	add	x1, sp, #8
	mov	x0, x3
	bl	_nvme_trans_get_io_cdb12
	b	LBB0_6
LBB0_5:
	add	x1, sp, #8
	mov	x0, x3
	bl	_nvme_trans_get_io_cdb10
LBB0_6:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x24, #0
	mov	x25, #0
	mov	w23, #0
	mov	w26, #-1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x1, x24, x8
	mov	x0, sp
	mov	w2, #4
	bl	_copy_from_user
	cbnz	x0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp]
	ldr	w9, [x22]
	lsl	w9, w26, w9
	bics	wzr, w8, w9
	b.ne	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w23, w8, w23
	add	x25, x25, #1
	ldrsw	x8, [x20]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_8
	b	LBB0_12
LBB0_11:
	ldr	w23, [x20, #4]
LBB0_12:
	ldr	w0, [x20, #4]
	mov	x1, x23
	bl	_min
	ldr	w8, [sp, #8]
	ldr	w9, [x22]
	lsl	w9, w8, w9
	cmp	w0, w9
	b.ne	LBB0_15
; %bb.13:
	cbz	w8, LBB0_21
; %bb.14:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x20
	mov	x3, x21
	bl	_nvme_trans_do_nvme_io
	b	LBB0_19
LBB0_15:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh7:
	adrp	x8, _EFAULT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_21
LBB0_18:
Lloh9:
	adrp	x8, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _ILLEGAL_REQUEST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _SCSI_ASC_INVALID_PARAMETER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SCSI_ASC_INVALID_PARAMETER@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	mov	x0, x20
	bl	_nvme_trans_completion
LBB0_19:
	mov	x19, x0
	b	LBB0_21
LBB0_20:
Lloh21:
	adrp	x8, _SNTI_INTERNAL_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SNTI_INTERNAL_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
LBB0_21:
	mov	x0, x19
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_SNTI_INTERNAL_ERROR,4,2        ; @SNTI_INTERNAL_ERROR
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ; @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ; @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_PARAMETER,4,2 ; @SCSI_ASC_INVALID_PARAMETER
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ; @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nvme_trans_io
.subsections_via_symbols
