	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_ns_make
_nvmet_ns_make:                         ## @nvmet_ns_make
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_namespaces_to_subsys
	movq	%rax, %r14
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_kstrtou32
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	_NVME_NSID_ALL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_3
## %bb.5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_nvmet_ns_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r12
	movq	_nvmet_ns_type@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_config_group_init_type_name
	movq	-40(%rbp), %rsi
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_info
	jmp	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
LBB0_4:
	movl	%ebx, %edi
	callq	_ERR_PTR
	movq	%rax, %r12
LBB0_7:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NVME_NSID_ALL,8,3              ## @NVME_NSID_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid nsid %#x"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nvmet_ns_type,4,2              ## @nvmet_ns_type
L_.str.1:                               ## @.str.1
	.asciz	"adding nsid %d to subsystem %s\n"

	.no_dead_strip	_nvmet_ns_make
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_ns_make
_nvmet_ns_make:                         ; @nvmet_ns_make
	.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	x19, x1
	bl	_namespaces_to_subsys
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #0
	bl	_kstrtou32
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x1, [sp, #8]
Lloh0:
	adrp	x8, _NVME_NSID_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_NSID_ALL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, #0
	ccmp	x1, x8, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_nvmet_ns_alloc
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
Lloh11:
	adrp	x2, _nvmet_ns_type@GOTPAGE
Lloh12:
	ldr	x2, [x2, _nvmet_ns_type@GOTPAGEOFF]
	mov	x1, x19
	bl	_config_group_init_type_name
	ldr	x1, [sp, #8]
	ldr	w2, [x20]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
	b	LBB0_7
LBB0_5:
	neg	w21, w22
LBB0_6:
	mov	x0, x21
	bl	_ERR_PTR
	mov	x21, x0
LBB0_7:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NVME_NSID_ALL,8,3              ; @NVME_NSID_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid nsid %#x"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nvmet_ns_type,4,2              ; @nvmet_ns_type
l_.str.1:                               ; @.str.1
	.asciz	"adding nsid %d to subsystem %s\n"

	.no_dead_strip	_nvmet_ns_make
.subsections_via_symbols
