	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_identify_ns_descs
_nvme_identify_ns_descs:                ## @nvme_identify_ns_descs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	_nvme_admin_identify@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	%esi, %edi
	callq	_cpu_to_le32
	movl	%eax, -52(%rbp)
	movq	_NVME_ID_CNS_NS_DESC_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_NVME_IDENTIFY_DATA_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %edi
	movl	(%r14), %ecx
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdx
	callq	_nvme_submit_sync_cmd
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_22
## %bb.3:
	cmpl	$0, (%r14)
	jle	LBB0_22
## %bb.4:
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %r13d
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	%r13d, %r12d
	addl	$16, %r12d
	cmpl	(%r14), %r12d
	jge	LBB0_22
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %rsi
	movq	(%rbx,%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	%rbx, %rsi
	movl	8(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$129, %eax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$130, %eax
	jne	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_NVME_NIDT_EUI64_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	cmpq	%r13, %rdx
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r15), %edi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NVME_NIDT_NGUID_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	cmpq	%r13, %rdx
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r15), %edi
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NVME_NIDT_UUID_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	cmpq	%r13, %rdx
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %rsi
	movq	%r15, %rdi
	callq	_uuid_copy
	jmp	LBB0_21
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_23
LBB0_10:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_18
LBB0_14:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.2(%rip), %rsi
LBB0_18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_warn
LBB0_22:
	movq	%rbx, %rdi
	callq	_kfree
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_admin_identify,4,2        ## @nvme_admin_identify
	.comm	_NVME_ID_CNS_NS_DESC_LIST,4,2   ## @NVME_ID_CNS_NS_DESC_LIST
	.comm	_NVME_IDENTIFY_DATA_SIZE,4,2    ## @NVME_IDENTIFY_DATA_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NVME_NIDT_EUI64_LEN,4,2        ## @NVME_NIDT_EUI64_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctrl returned bogus length: %d for NVME_NIDT_EUI64\n"

	.comm	_NVME_NIDT_NGUID_LEN,4,2        ## @NVME_NIDT_NGUID_LEN
L_.str.1:                               ## @.str.1
	.asciz	"ctrl returned bogus length: %d for NVME_NIDT_NGUID\n"

	.comm	_NVME_NIDT_UUID_LEN,4,2         ## @NVME_NIDT_UUID_LEN
L_.str.2:                               ## @.str.2
	.asciz	"ctrl returned bogus length: %d for NVME_NIDT_UUID\n"

	.no_dead_strip	_nvme_identify_ns_descs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_identify_ns_descs
_nvme_identify_ns_descs:                ; @nvme_identify_ns_descs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _nvme_admin_identify@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_admin_identify@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x1
	bl	_cpu_to_le32
Lloh3:
	adrp	x8, _NVME_ID_CNS_NS_DESC_LIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVME_ID_CNS_NS_DESC_LIST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w0, [sp]
Lloh6:
	adrp	x25, _NVME_IDENTIFY_DATA_SIZE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _NVME_IDENTIFY_DATA_SIZE@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_15
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #4]
	ldr	w3, [x25]
	mov	x1, sp
	mov	x2, x20
	bl	_nvme_submit_sync_cmd
	mov	x22, x0
	ldr	w8, [x25]
	cmp	w0, #0
	ccmp	w8, #1, #8, eq
	b.lt	LBB0_20
; %bb.2:
	mov	w26, #0
Lloh11:
	adrp	x28, _NVME_NIDT_UUID_LEN@GOTPAGE
Lloh12:
	ldr	x28, [x28, _NVME_NIDT_UUID_LEN@GOTPAGEOFF]
Lloh13:
	adrp	x27, _NVME_NIDT_NGUID_LEN@GOTPAGE
Lloh14:
	ldr	x27, [x27, _NVME_NIDT_NGUID_LEN@GOTPAGEOFF]
Lloh15:
	adrp	x23, _NVME_NIDT_EUI64_LEN@GOTPAGE
Lloh16:
	ldr	x23, [x23, _NVME_NIDT_EUI64_LEN@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x2
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w26, w24
	add	w26, w8, #16
	ldr	w8, [x25]
	cmp	w26, w8
	b.ge	LBB0_20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x20, w26, sxtw
	ldr	x2, [x8]
	cbz	x2, LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x8, #8]
	cmp	w9, #128
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #129
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #130
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x24, [x23]
	cmp	x2, x24
	b.ne	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21, #8]
	add	x1, x8, #16
	mov	x2, x24
	bl	_memcpy
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x24, [x27]
	cmp	x2, x24
	b.ne	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21, #4]
	add	x1, x8, #16
	mov	x2, x24
	bl	_memcpy
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x24, [x28]
	cmp	x2, x24
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x8, #16
	mov	x0, x21
	bl	_uuid_copy
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_4
LBB0_15:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_21
LBB0_16:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_19
LBB0_17:
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_19:
	ldr	w0, [x19]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_warn
LBB0_20:
	mov	x0, x20
	bl	_kfree
LBB0_21:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_admin_identify,4,2        ; @nvme_admin_identify
	.comm	_NVME_ID_CNS_NS_DESC_LIST,4,2   ; @NVME_ID_CNS_NS_DESC_LIST
	.comm	_NVME_IDENTIFY_DATA_SIZE,4,2    ; @NVME_IDENTIFY_DATA_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NVME_NIDT_EUI64_LEN,4,2        ; @NVME_NIDT_EUI64_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctrl returned bogus length: %d for NVME_NIDT_EUI64\n"

	.comm	_NVME_NIDT_NGUID_LEN,4,2        ; @NVME_NIDT_NGUID_LEN
l_.str.1:                               ; @.str.1
	.asciz	"ctrl returned bogus length: %d for NVME_NIDT_NGUID\n"

	.comm	_NVME_NIDT_UUID_LEN,4,2         ; @NVME_NIDT_UUID_LEN
l_.str.2:                               ; @.str.2
	.asciz	"ctrl returned bogus length: %d for NVME_NIDT_UUID\n"

	.no_dead_strip	_nvme_identify_ns_descs
.subsections_via_symbols
