	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_fill_mode_parm_hdr
_nvme_trans_fill_mode_parm_hdr:         ## @nvme_trans_fill_mode_parm_hdr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	%r8d, %ebx
	movq	_SNTI_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	cmpl	$7, %esi
	jg	LBB0_2
## %bb.1:
	testl	%edx, %edx
	jne	LBB0_8
LBB0_2:
	cmpl	$3, %esi
	jg	LBB0_4
## %bb.3:
	testl	%edx, %edx
	je	LBB0_8
LBB0_4:
	testl	%edx, %edx
	je	LBB0_6
## %bb.5:
	movzbl	%bh, %eax
	movl	%eax, (%rdi)
	movzbl	%bl, %eax
	movl	%eax, 4(%rdi)
	movl	%ecx, 16(%rdi)
	movq	_RESERVED_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	movl	%r9d, %ecx
	movzbl	%ch, %eax
	movl	%eax, 24(%rdi)
	movl	$7, %eax
	jmp	LBB0_7
LBB0_6:
	movzbl	%bl, %eax
	movl	%eax, (%rdi)
	movl	$3, %eax
	movl	%r9d, %ecx
LBB0_7:
	movzbl	%cl, %ecx
	movl	%ecx, (%rdi,%rax,4)
	movq	_SNTI_TRANSLATION_SUCCESS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNTI_INTERNAL_ERROR,4,2        ## @SNTI_INTERNAL_ERROR
	.comm	_RESERVED_FIELD,4,2             ## @RESERVED_FIELD
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.no_dead_strip	_nvme_trans_fill_mode_parm_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_fill_mode_parm_hdr
_nvme_trans_fill_mode_parm_hdr:         ; @nvme_trans_fill_mode_parm_hdr
	.cfi_startproc
; %bb.0:
	cmp	w1, #7
	b.gt	LBB0_2
; %bb.1:
	cbnz	w2, LBB0_4
LBB0_2:
	cmp	w1, #3
	b.gt	LBB0_5
; %bb.3:
	cbnz	w2, LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _SNTI_INTERNAL_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNTI_INTERNAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_5:
	cbz	w2, LBB0_7
; %bb.6:
	ubfx	w8, w4, #8, #8
	and	w9, w4, #0xff
	stp	w8, w9, [x0]
Lloh3:
	adrp	x8, _RESERVED_FIELD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESERVED_FIELD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w3, w8, [x0, #16]
	ubfx	w8, w5, #8, #8
	str	w8, [x0, #24]
	mov	w8, #7
	b	LBB0_8
LBB0_7:
	and	w8, w4, #0xff
	str	w8, [x0]
	mov	w8, #3
LBB0_8:
	and	w9, w5, #0xff
	str	w9, [x0, x8, lsl #2]
Lloh6:
	adrp	x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_INTERNAL_ERROR,4,2        ; @SNTI_INTERNAL_ERROR
	.comm	_RESERVED_FIELD,4,2             ; @RESERVED_FIELD
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.no_dead_strip	_nvme_trans_fill_mode_parm_hdr
.subsections_via_symbols
