	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_scsi_translate
_nvme_scsi_translate:                   ## @nvme_scsi_translate
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_BLK_MAX_CDB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_28
## %bb.27:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$25, %eax
	ja	LBB0_25
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
LBB0_8:
	movq	%r14, %rcx
	callq	_nvme_trans_io
	jmp	LBB0_26
LBB0_18:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_security_protocol
	jmp	LBB0_26
LBB0_13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_mode_sense
	jmp	LBB0_26
LBB0_12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_mode_select
	jmp	LBB0_26
LBB0_23:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_write_buffer
	jmp	LBB0_26
LBB0_24:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_unmap
	jmp	LBB0_26
LBB0_22:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_test_unit_ready
	jmp	LBB0_26
LBB0_20:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_synchronize_cache
	jmp	LBB0_26
LBB0_19:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_start_stop
	jmp	LBB0_26
LBB0_14:
	movq	%r14, %rdi
	callq	_IS_READ_CAP_16
	testl	%eax, %eax
	je	LBB0_25
LBB0_15:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_read_capacity
	jmp	LBB0_26
LBB0_25:
	movq	_SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ILLEGAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCSI_ASC_ILLEGAL_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_nvme_trans_completion
	jmp	LBB0_26
LBB0_17:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_request_sense
	jmp	LBB0_26
LBB0_16:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_report_luns
	jmp	LBB0_26
LBB0_11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_log_sense
	jmp	LBB0_26
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_inquiry
	jmp	LBB0_26
LBB0_21:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_nvme_trans_format_unit
	jmp	LBB0_26
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_23
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_24
	.long	L0_0_set_22
	.long	L0_0_set_20
	.long	L0_0_set_19
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_BLK_MAX_CDB,4,2                ## @BLK_MAX_CDB
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.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_ILLEGAL_COMMAND,4,2   ## @SCSI_ASC_ILLEGAL_COMMAND
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ## @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.no_dead_strip	_nvme_scsi_translate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_scsi_translate
_nvme_scsi_translate:                   ; @nvme_scsi_translate
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _BLK_MAX_CDB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLK_MAX_CDB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x1, [x1, #8]
	cbz	x1, LBB0_3
; %bb.1:
	ldr	w2, [x19]
	mov	x0, x20
	bl	_copy_from_user
	cbz	x0, LBB0_7
; %bb.2:
Lloh8:
	adrp	x8, _EFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.6:
	sub	sp, x29, #32
	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_7:
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #25
	b.hi	LBB0_22
; %bb.8:
Lloh15:
	adrp	x9, lJTI0_0@PAGE
Lloh16:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	b	LBB0_11
LBB0_10:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
LBB0_11:
	mov	x3, x20
	bl	_nvme_trans_io
	b	LBB0_5
LBB0_12:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_security_protocol
	b	LBB0_5
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_mode_sense
	b	LBB0_5
LBB0_14:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_mode_select
	b	LBB0_5
LBB0_15:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_write_buffer
	b	LBB0_5
LBB0_16:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_unmap
	b	LBB0_5
LBB0_17:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_test_unit_ready
	b	LBB0_5
LBB0_18:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_synchronize_cache
	b	LBB0_5
LBB0_19:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_start_stop
	b	LBB0_5
LBB0_20:
	mov	x0, x20
	bl	_IS_READ_CAP_16
	cbz	w0, LBB0_22
LBB0_21:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_read_capacity
	b	LBB0_5
LBB0_22:
Lloh17:
	adrp	x8, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _ILLEGAL_REQUEST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _SCSI_ASC_ILLEGAL_COMMAND@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SCSI_ASC_ILLEGAL_COMMAND@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	adrp	x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_nvme_trans_completion
	b	LBB0_5
LBB0_23:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_request_sense
	b	LBB0_5
LBB0_24:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_report_luns
	b	LBB0_5
LBB0_25:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_log_sense
	b	LBB0_5
LBB0_26:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_inquiry
	b	LBB0_5
LBB0_27:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_nvme_trans_format_unit
	b	LBB0_5
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_19-LBB0_9)>>2
	.byte	(LBB0_20-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_23-LBB0_9)>>2
	.byte	(LBB0_24-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_25-LBB0_9)>>2
	.byte	(LBB0_26-LBB0_9)>>2
	.byte	(LBB0_27-LBB0_9)>>2
                                        ; -- End function
	.comm	_BLK_MAX_CDB,4,2                ; @BLK_MAX_CDB
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.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_ILLEGAL_COMMAND,4,2   ; @SCSI_ASC_ILLEGAL_COMMAND
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ; @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.no_dead_strip	_nvme_scsi_translate
.subsections_via_symbols
