	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_fmt_get_parm_header
_nvme_trans_fmt_get_parm_header:        ## @nvme_trans_fmt_get_parm_header
	.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	%rcx, %rbx
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_nvme_trans_copy_from_user
	movl	%eax, %ebx
	movq	_SNTI_TRANSLATION_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_13
## %bb.3:
	movq	_FORMAT_UNIT_IMMED_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FORMAT_UNIT_IMMED_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15,%rax,4)
	je	LBB0_4
LBB0_12:
	movq	_SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ILLEGAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCSI_ASC_INVALID_CDB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	callq	_nvme_trans_completion
	movl	%eax, %ebx
LBB0_13:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_FORMAT_UNIT_LONG_PARM_LIST_LEN@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_FORMAT_UNIT_PROT_INT_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testb	$15, (%r15,%rax,4)
	jne	LBB0_12
LBB0_6:
	movq	_FORMAT_UNIT_PROT_FIELD_USAGE_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_FORMAT_UNIT_PROT_FIELD_USAGE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r15,%rcx,4), %eax
	shll	$2, %eax
	orl	%r13d, %eax
	cmpl	$7, %eax
	ja	LBB0_12
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	jmp	LBB0_13
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_13
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$2, (%rax)
	jmp	LBB0_13
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$3, (%rax)
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FORMAT_UNIT_IMMED_OFFSET,8,3   ## @FORMAT_UNIT_IMMED_OFFSET
	.comm	_FORMAT_UNIT_IMMED_MASK,4,2     ## @FORMAT_UNIT_IMMED_MASK
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ## @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ## @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_CDB,4,2       ## @SCSI_ASC_INVALID_CDB
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ## @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_FORMAT_UNIT_LONG_PARM_LIST_LEN,4,2 ## @FORMAT_UNIT_LONG_PARM_LIST_LEN
	.comm	_FORMAT_UNIT_PROT_INT_OFFSET,8,3 ## @FORMAT_UNIT_PROT_INT_OFFSET
	.comm	_FORMAT_UNIT_PROT_FIELD_USAGE_OFFSET,8,3 ## @FORMAT_UNIT_PROT_FIELD_USAGE_OFFSET
	.comm	_FORMAT_UNIT_PROT_FIELD_USAGE_MASK,4,2 ## @FORMAT_UNIT_PROT_FIELD_USAGE_MASK
	.no_dead_strip	_nvme_trans_fmt_get_parm_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_fmt_get_parm_header
_nvme_trans_fmt_get_parm_header:        ; @nvme_trans_fmt_get_parm_header
	.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	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_nvme_trans_copy_from_user
	mov	x21, x0
Lloh3:
	adrp	x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _FORMAT_UNIT_IMMED_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FORMAT_UNIT_IMMED_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
Lloh9:
	adrp	x9, _FORMAT_UNIT_IMMED_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FORMAT_UNIT_IMMED_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_3:
Lloh12:
	adrp	x8, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _ILLEGAL_REQUEST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _SCSI_ASC_INVALID_CDB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCSI_ASC_INVALID_CDB@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x0, x20
	bl	_nvme_trans_completion
	mov	x21, x0
LBB0_4:
	mov	x0, x19
	bl	_kfree
	b	LBB0_6
LBB0_5:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x21
	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
LBB0_7:
Lloh27:
	adrp	x8, _FORMAT_UNIT_LONG_PARM_LIST_LEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FORMAT_UNIT_LONG_PARM_LIST_LEN@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_9
; %bb.8:
Lloh30:
	adrp	x8, _FORMAT_UNIT_PROT_INT_OFFSET@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FORMAT_UNIT_PROT_INT_OFFSET@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
	tst	w8, #0xf
	b.ne	LBB0_3
LBB0_9:
Lloh33:
	adrp	x8, _FORMAT_UNIT_PROT_FIELD_USAGE_OFFSET@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FORMAT_UNIT_PROT_FIELD_USAGE_OFFSET@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
Lloh36:
	adrp	x9, _FORMAT_UNIT_PROT_FIELD_USAGE_MASK@GOTPAGE
Lloh37:
	ldr	x9, [x9, _FORMAT_UNIT_PROT_FIELD_USAGE_MASK@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	and	w8, w9, w8
	orr	w8, w23, w8, lsl #2
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.10:
Lloh39:
	adrp	x9, lJTI0_0@PAGE
Lloh40:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:
	str	wzr, [x22]
	b	LBB0_4
LBB0_12:
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_4
LBB0_13:
	mov	w8, #2
	str	w8, [x22]
	b	LBB0_4
LBB0_14:
	mov	w8, #3
	str	w8, [x22]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FORMAT_UNIT_IMMED_OFFSET,8,3   ; @FORMAT_UNIT_IMMED_OFFSET
	.comm	_FORMAT_UNIT_IMMED_MASK,4,2     ; @FORMAT_UNIT_IMMED_MASK
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ; @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ; @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_CDB,4,2       ; @SCSI_ASC_INVALID_CDB
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ; @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_FORMAT_UNIT_LONG_PARM_LIST_LEN,4,2 ; @FORMAT_UNIT_LONG_PARM_LIST_LEN
	.comm	_FORMAT_UNIT_PROT_INT_OFFSET,8,3 ; @FORMAT_UNIT_PROT_INT_OFFSET
	.comm	_FORMAT_UNIT_PROT_FIELD_USAGE_OFFSET,8,3 ; @FORMAT_UNIT_PROT_FIELD_USAGE_OFFSET
	.comm	_FORMAT_UNIT_PROT_FIELD_USAGE_MASK,4,2 ; @FORMAT_UNIT_PROT_FIELD_USAGE_MASK
	.no_dead_strip	_nvme_trans_fmt_get_parm_header
.subsections_via_symbols
