	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_nvme_init_nsdata
_pci_nvme_init_nsdata:                  ## @pci_nvme_init_nsdata
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %eax
	cltd
	idivl	4(%rdi)
	movl	%eax, (%rsi)
	movl	%eax, 4(%rsi)
	movl	%eax, 8(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsi)
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.1:
	movq	$0, -48(%rbp)
	movq	_vmname@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%r14), %rax
	movl	8(%rax), %ecx
	movl	(%rax), %r9d
	movl	4(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_asprintf
	movq	-48(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_2
## %bb.3:
	movq	_OUI_FREEBSD_NVME_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_strlen
	xorl	%edi, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_crc16
	movl	%eax, %r12d
	orl	%r13d, %r12d
	movq	-48(%rbp), %rdi
	callq	_free
	shll	$16, %r12d
	jmp	LBB0_4
LBB0_2:
	xorl	%r12d, %r12d
LBB0_4:
	movzwl	%r15w, %ecx
	orl	%r12d, %ecx
LBB0_5:
	movl	24(%rbx), %edi
	movl	%ecx, %esi
	callq	_be64enc
	movl	8(%r14), %eax
	movq	_NVME_NS_DATA_LBAF_LBADS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%u%u%u"

	.comm	_vmname,4,2                     ## @vmname
	.comm	_OUI_FREEBSD_NVME_LOW,4,2       ## @OUI_FREEBSD_NVME_LOW
	.comm	_NVME_NS_DATA_LBAF_LBADS_SHIFT,4,2 ## @NVME_NS_DATA_LBAF_LBADS_SHIFT
	.no_dead_strip	_pci_nvme_init_nsdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_nvme_init_nsdata
_pci_nvme_init_nsdata:                  ; @pci_nvme_init_nsdata
	.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	x19, x1
	mov	x20, x0
	ldp	w8, w9, [x0]
	sdiv	w8, w8, w9
	stp	w8, w8, [x1]
	str	w8, [x1, #8]
	stp	xzr, xzr, [x1, #32]
	cbnz	w3, LBB0_5
; %bb.1:
	mov	x21, x2
Lloh0:
	adrp	x8, _vmname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vmname@GOTPAGEOFF]
	str	xzr, [sp, #8]
Lloh2:
	ldr	w2, [x8]
	ldr	x8, [x20, #16]
	ldp	w4, w3, [x8, #4]
	ldr	w5, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	ldr	x22, [sp, #8]
	cbz	x22, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _OUI_FREEBSD_NVME_LOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OUI_FREEBSD_NVME_LOW@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	w0, #0
	mov	x1, x22
	bl	_crc16
	orr	w22, w0, w23
	ldr	x0, [sp, #8]
	bl	_free
	lsl	w8, w22, #16
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	and	w9, w21, #0xffff
	orr	w3, w8, w9
LBB0_5:
	ldr	w0, [x19, #24]
	mov	x1, x3
	bl	_be64enc
	ldr	w8, [x20, #8]
Lloh8:
	adrp	x9, _NVME_NS_DATA_LBAF_LBADS_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NVME_NS_DATA_LBAF_LBADS_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	ldr	x9, [x19, #16]
	str	w8, [x9]
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%u%u%u"

	.comm	_vmname,4,2                     ; @vmname
	.comm	_OUI_FREEBSD_NVME_LOW,4,2       ; @OUI_FREEBSD_NVME_LOW
	.comm	_NVME_NS_DATA_LBAF_LBADS_SHIFT,4,2 ; @NVME_NS_DATA_LBAF_LBADS_SHIFT
	.no_dead_strip	_pci_nvme_init_nsdata
.subsections_via_symbols
