	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_nsid                       ## -- Begin function get_nsid
	.p2align	4, 0x90
_get_nsid:                              ## @get_nsid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_NVME_GET_NSID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_4
LBB0_3:
	movl	-20(%rbp), %edi
	movl	$4, %esi
	callq	_strndup
	movq	%rax, (%rbx)
LBB0_4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movl	-24(%rbp), %eax
	movl	%eax, (%r14)
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_GET_NSID,4,2              ## @NVME_GET_NSID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVME_GET_NSID ioctl failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_nsid                       ; -- Begin function get_nsid
	.p2align	2
_get_nsid:                              ; @get_nsid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _NVME_GET_NSID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_GET_NSID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	tbnz	x0, #63, LBB0_6
; %bb.1:
	cbz	x20, LBB0_3
LBB0_2:
	ldr	w0, [sp, #12]
	mov	w1, #4
	bl	_strndup
	str	x0, [x20]
LBB0_3:
	cbz	x19, LBB0_5
; %bb.4:
	ldr	w8, [sp, #8]
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
	cbnz	x20, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_GET_NSID,4,2              ; @NVME_GET_NSID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVME_GET_NSID ioctl failed"

.subsections_via_symbols
