	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_fmt_set_blk_size_count
_nvme_trans_fmt_set_blk_size_count:     ## @nvme_trans_fmt_set_blk_size_count
	.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	%rsi, %rbx
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	cmpl	$0, 4(%rdi)
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%r12)
	je	LBB0_3
## %bb.2:
	movq	_SNTI_TRANSLATION_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_3:
	movq	(%r14), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %rdx
	movl	$24, %esi
	callq	_dma_alloc_coherent
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movl	8(%r12), %esi
	movl	-44(%rbp), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_nvme_identify
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nvme_trans_status_code
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movl	%r13d, %ebx
	testl	%r13d, %r13d
	jne	LBB0_11
## %bb.7:
	cmpl	$0, 4(%r12)
	jne	LBB0_9
## %bb.8:
	movl	16(%r15), %edi
	callq	_le64_to_cpu
	movl	%eax, 4(%r12)
LBB0_9:
	xorl	%ebx, %ebx
	cmpl	$0, (%r12)
	jne	LBB0_11
## %bb.10:
	movl	(%r15), %eax
	andl	$15, %eax
	movq	8(%r15), %rcx
	movb	(%rcx,%rax,4), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	%eax, (%r12)
LBB0_11:
	movq	(%r14), %rdi
	movl	-44(%rbp), %ecx
	movl	$24, %esi
	movq	%r15, %rdx
	callq	_dma_free_coherent
	jmp	LBB0_12
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	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	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_nvme_trans_fmt_set_blk_size_count
.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_set_blk_size_count
_nvme_trans_fmt_set_blk_size_count:     ; @nvme_trans_fmt_set_blk_size_count
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	b	LBB0_13
LBB0_3:
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x2, sp, #12
	mov	w1, #24
	bl	_dma_alloc_coherent
	cbz	x0, LBB0_10
; %bb.4:
	mov	x21, x0
	ldr	w1, [x20, #8]
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	w2, #0
	bl	_nvme_identify
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_nvme_trans_status_code
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.5:
	mov	x22, x23
	cbnz	w23, LBB0_12
; %bb.6:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w0, [x21, #16]
	bl	_le64_to_cpu
	str	w0, [x20, #4]
LBB0_8:
	ldr	w8, [x20]
	cbz	w8, LBB0_11
; %bb.9:
	mov	w22, #0
	b	LBB0_12
LBB0_10:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_13
LBB0_11:
	mov	w22, #0
	ldr	w8, [x21]
	and	x8, x8, #0xf
	ldr	x9, [x21, #8]
	ldr	w8, [x9, x8, lsl #2]
	mov	w9, #1
	lsl	w8, w9, w8
	str	w8, [x20]
LBB0_12:
	ldr	x0, [x19]
	ldr	w3, [sp, #12]
	mov	w1, #24
	mov	x2, x21
	bl	_dma_free_coherent
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_nvme_trans_fmt_set_blk_size_count
.subsections_via_symbols
