	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_request_sense
_nvme_trans_request_sense:              ## @nvme_trans_request_sense
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdx, %rdi
	callq	_GET_REQUEST_SENSE_ALLOC_LENGTH
	movl	%eax, %r15d
	movq	_REQUEST_SENSE_DESC_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GET_U8_FROM_CDB
	movl	%eax, %r13d
	movq	_REQUEST_SENSE_DESC_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	jne	LBB0_1
## %bb.2:
	movq	_FIXED_FMT_SENSE_DATA_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DESC_FMT_SENSE_DATA_SIZE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %rbx
	movq	_DESCRIPTOR_FORMAT_SENSE_DATA_TYPE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_8
## %bb.7:
	movq	_DESC_FORMAT_SENSE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_NO_SENSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_SCSI_ASC_NO_SENSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$3, %ecx
	jmp	LBB0_9
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_8:
	movq	_FIXED_SENSE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_NO_SENSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FIXED_SENSE_DATA_ADD_LENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rbx)
	movq	_SCSI_ASC_NO_SENSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rbx)
	movl	$13, %ecx
LBB0_9:
	movq	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rbx,%rcx,4)
	movl	%eax, 8(%rbx)
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_min
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_nvme_trans_copy_to_user
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r14d, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_REQUEST_SENSE_DESC_OFFSET,4,2  ## @REQUEST_SENSE_DESC_OFFSET
	.comm	_REQUEST_SENSE_DESC_MASK,4,2    ## @REQUEST_SENSE_DESC_MASK
	.comm	_DESC_FMT_SENSE_DATA_SIZE,4,2   ## @DESC_FMT_SENSE_DATA_SIZE
	.comm	_FIXED_FMT_SENSE_DATA_SIZE,4,2  ## @FIXED_FMT_SENSE_DATA_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DESCRIPTOR_FORMAT_SENSE_DATA_TYPE,4,2 ## @DESCRIPTOR_FORMAT_SENSE_DATA_TYPE
	.comm	_DESC_FORMAT_SENSE_DATA,4,2     ## @DESC_FORMAT_SENSE_DATA
	.comm	_NO_SENSE,4,2                   ## @NO_SENSE
	.comm	_SCSI_ASC_NO_SENSE,4,2          ## @SCSI_ASC_NO_SENSE
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ## @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_FIXED_SENSE_DATA,4,2           ## @FIXED_SENSE_DATA
	.comm	_FIXED_SENSE_DATA_ADD_LENGTH,4,2 ## @FIXED_SENSE_DATA_ADD_LENGTH
	.no_dead_strip	_nvme_trans_request_sense
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_request_sense
_nvme_trans_request_sense:              ; @nvme_trans_request_sense
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x0, x2
	bl	_GET_REQUEST_SENSE_ALLOC_LENGTH
	mov	x20, x0
Lloh0:
	adrp	x8, _REQUEST_SENSE_DESC_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REQUEST_SENSE_DESC_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GET_U8_FROM_CDB
Lloh3:
	adrp	x8, _REQUEST_SENSE_DESC_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REQUEST_SENSE_DESC_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DESC_FMT_SENSE_DATA_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DESC_FMT_SENSE_DATA_SIZE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _FIXED_FMT_SENSE_DATA_SIZE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _FIXED_FMT_SENSE_DATA_SIZE@GOTPAGEOFF]
	ands	w23, w8, w0
	csel	x8, x10, x9, eq
	ldr	w22, [x8]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh13:
	adrp	x8, _DESCRIPTOR_FORMAT_SENSE_DATA_TYPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DESCRIPTOR_FORMAT_SENSE_DATA_TYPE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_4
; %bb.2:
Lloh16:
	adrp	x8, _DESC_FORMAT_SENSE_DATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DESC_FORMAT_SENSE_DATA@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh19:
	adrp	x8, _NO_SENSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NO_SENSE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x21, #4]
Lloh22:
	adrp	x8, _SCSI_ASC_NO_SENSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SCSI_ASC_NO_SENSE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	mov	w9, #3
	b	LBB0_5
LBB0_3:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
Lloh28:
	adrp	x8, _FIXED_SENSE_DATA@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FIXED_SENSE_DATA@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh31:
	adrp	x8, _NO_SENSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NO_SENSE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _FIXED_SENSE_DATA_ADD_LENGTH@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FIXED_SENSE_DATA_ADD_LENGTH@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	str	w9, [x21, #28]
Lloh37:
	adrp	x9, _SCSI_ASC_NO_SENSE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SCSI_ASC_NO_SENSE@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	str	w9, [x21, #48]
	mov	w9, #13
LBB0_5:
Lloh40:
	adrp	x10, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGE
Lloh41:
	ldr	x10, [x10, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	str	w10, [x21, x9, lsl #2]
	str	w8, [x21, #8]
	mov	x0, x20
	mov	x1, x22
	bl	_min
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nvme_trans_copy_to_user
	mov	x19, x0
	mov	x0, x21
	bl	_kfree
	mov	x0, x19
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_REQUEST_SENSE_DESC_OFFSET,4,2  ; @REQUEST_SENSE_DESC_OFFSET
	.comm	_REQUEST_SENSE_DESC_MASK,4,2    ; @REQUEST_SENSE_DESC_MASK
	.comm	_DESC_FMT_SENSE_DATA_SIZE,4,2   ; @DESC_FMT_SENSE_DATA_SIZE
	.comm	_FIXED_FMT_SENSE_DATA_SIZE,4,2  ; @FIXED_FMT_SENSE_DATA_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DESCRIPTOR_FORMAT_SENSE_DATA_TYPE,4,2 ; @DESCRIPTOR_FORMAT_SENSE_DATA_TYPE
	.comm	_DESC_FORMAT_SENSE_DATA,4,2     ; @DESC_FORMAT_SENSE_DATA
	.comm	_NO_SENSE,4,2                   ; @NO_SENSE
	.comm	_SCSI_ASC_NO_SENSE,4,2          ; @SCSI_ASC_NO_SENSE
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ; @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_FIXED_SENSE_DATA,4,2           ; @FIXED_SENSE_DATA
	.comm	_FIXED_SENSE_DATA_ADD_LENGTH,4,2 ; @FIXED_SENSE_DATA_ADD_LENGTH
	.no_dead_strip	_nvme_trans_request_sense
.subsections_via_symbols
