	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_subsys_make
_nvmet_subsys_make:                     ## @nvmet_subsys_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_NVME_DISC_SUBSYS_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_1:
	movq	_NVME_NQN_NVME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nvmet_subsys_alloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_CAST                       ## TAILCALL
LBB0_2:
	movq	_nvmet_subsys_type@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_config_group_init_type_name
	leaq	8(%r14), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	_nvmet_namespaces_type@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_config_group_init_type_name
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_configfs_add_default_group
	movq	%r14, %rbx
	addq	$4, %rbx
	leaq	L_.str.2(%rip), %rsi
	movq	_nvmet_allowed_hosts_type@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_config_group_init_type_name
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_configfs_add_default_group
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_DISC_SUBSYS_NAME,4,2      ## @NVME_DISC_SUBSYS_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't create discovery subsystem through configfs\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NVME_NQN_NVME,4,2              ## @NVME_NQN_NVME
	.comm	_nvmet_subsys_type,4,2          ## @nvmet_subsys_type
L_.str.1:                               ## @.str.1
	.asciz	"namespaces"

	.comm	_nvmet_namespaces_type,4,2      ## @nvmet_namespaces_type
L_.str.2:                               ## @.str.2
	.asciz	"allowed_hosts"

	.comm	_nvmet_allowed_hosts_type,4,2   ## @nvmet_allowed_hosts_type
	.no_dead_strip	_nvmet_subsys_make
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_subsys_make
_nvmet_subsys_make:                     ; @nvmet_subsys_make
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
Lloh0:
	adrp	x8, _NVME_DISC_SUBSYS_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_DISC_SUBSYS_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sysfs_streq
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_2:
Lloh8:
	adrp	x8, _NVME_NQN_NVME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NVME_NQN_NVME@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_nvmet_subsys_alloc
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_CAST
LBB0_4:
Lloh11:
	adrp	x2, _nvmet_subsys_type@GOTPAGE
Lloh12:
	ldr	x2, [x2, _nvmet_subsys_type@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_config_group_init_type_name
	add	x20, x19, #8
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh15:
	adrp	x2, _nvmet_namespaces_type@GOTPAGE
Lloh16:
	ldr	x2, [x2, _nvmet_namespaces_type@GOTPAGEOFF]
	mov	x0, x20
	bl	_config_group_init_type_name
	mov	x0, x20
	mov	x1, x19
	bl	_configfs_add_default_group
	add	x20, x19, #4
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh19:
	adrp	x2, _nvmet_allowed_hosts_type@GOTPAGE
Lloh20:
	ldr	x2, [x2, _nvmet_allowed_hosts_type@GOTPAGEOFF]
	mov	x0, x20
	bl	_config_group_init_type_name
	mov	x0, x20
	mov	x1, x19
	bl	_configfs_add_default_group
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_DISC_SUBSYS_NAME,4,2      ; @NVME_DISC_SUBSYS_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't create discovery subsystem through configfs\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NVME_NQN_NVME,4,2              ; @NVME_NQN_NVME
	.comm	_nvmet_subsys_type,4,2          ; @nvmet_subsys_type
l_.str.1:                               ; @.str.1
	.asciz	"namespaces"

	.comm	_nvmet_namespaces_type,4,2      ; @nvmet_namespaces_type
l_.str.2:                               ; @.str.2
	.asciz	"allowed_hosts"

	.comm	_nvmet_allowed_hosts_type,4,2   ; @nvmet_allowed_hosts_type
	.no_dead_strip	_nvmet_subsys_make
.subsections_via_symbols
