	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_nvm_identity
_nvme_nvm_identity:                     ## @nvme_nvm_identity
	.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	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	_nvme_nvm_admin_identity@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdx
	movl	$4, %ecx
	callq	_nvme_submit_sync_cmd
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r15), %edx
	cmpl	$2, %edx
	je	LBB0_7
## %bb.5:
	cmpl	$1, %edx
	jne	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_nvme_nvm_setup_12
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_nvme_nvm_setup_20
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_8:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_nvm_admin_identity,4,2    ## @nvme_nvm_admin_identity
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OCSSD revision not supported (%d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nvme_nvm_identity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_nvm_identity
_nvme_nvm_identity:                     ; @nvme_nvm_identity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _nvme_nvm_admin_identity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_nvm_admin_identity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	add	x1, sp, #8
	mov	x2, x19
	mov	w3, #4
	bl	_nvme_submit_sync_cmd
	cbz	w0, LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x19
	bl	_kfree
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	w2, [x19]
	cmp	w2, #2
	b.eq	LBB0_10
; %bb.8:
	cmp	w2, #1
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	_nvme_nvm_setup_12
	mov	x20, x0
	b	LBB0_4
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_nvme_nvm_setup_20
	mov	x20, x0
	b	LBB0_4
LBB0_11:
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_nvm_admin_identity,4,2    ; @nvme_nvm_admin_identity
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OCSSD revision not supported (%d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nvme_nvm_identity
.subsections_via_symbols
