	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_addr_adrfam_store
_nvmet_addr_adrfam_store:               ## @nvmet_addr_adrfam_store
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	callq	_to_nvmet_port
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EACCES@GOTPCREL(%rip), %rax
LBB0_12:
	subq	(%rax), %rbx
	jmp	LBB0_13
LBB0_2:
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_NVMF_ADDR_FAMILY_IP4@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_NVMF_ADDR_FAMILY_IP6@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_NVMF_ADDR_FAMILY_IB@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_NVMF_ADDR_FAMILY_FC@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.6(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot modify address while enabled\n"

L_.str.1:                               ## @.str.1
	.asciz	"Disable the address before modifying\n"

	.comm	_EACCES,8,3                     ## @EACCES
L_.str.2:                               ## @.str.2
	.asciz	"ipv4"

	.comm	_NVMF_ADDR_FAMILY_IP4,4,2       ## @NVMF_ADDR_FAMILY_IP4
L_.str.3:                               ## @.str.3
	.asciz	"ipv6"

	.comm	_NVMF_ADDR_FAMILY_IP6,4,2       ## @NVMF_ADDR_FAMILY_IP6
L_.str.4:                               ## @.str.4
	.asciz	"ib"

	.comm	_NVMF_ADDR_FAMILY_IB,4,2        ## @NVMF_ADDR_FAMILY_IB
L_.str.5:                               ## @.str.5
	.asciz	"fc"

	.comm	_NVMF_ADDR_FAMILY_FC,4,2        ## @NVMF_ADDR_FAMILY_FC
L_.str.6:                               ## @.str.6
	.asciz	"Invalid value '%s' for adrfam\n"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_nvmet_addr_adrfam_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_addr_adrfam_store
_nvmet_addr_adrfam_store:               ; @nvmet_addr_adrfam_store
	.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, x2
	mov	x21, x1
	bl	_to_nvmet_port
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh4:
	adrp	x8, _EACCES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
LBB0_2:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_12
LBB0_3:
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _NVMF_ADDR_FAMILY_IP4@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NVMF_ADDR_FAMILY_IP4@GOTPAGEOFF]
	b	LBB0_11
LBB0_5:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _NVMF_ADDR_FAMILY_IP6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NVMF_ADDR_FAMILY_IP6@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_9
; %bb.8:
Lloh16:
	adrp	x8, _NVMF_ADDR_FAMILY_IB@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NVMF_ADDR_FAMILY_IB@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_13
; %bb.10:
Lloh20:
	adrp	x8, _NVMF_ADDR_FAMILY_FC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NVMF_ADDR_FAMILY_FC@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_12:
	mov	x0, x19
	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
LBB0_13:
	str	x21, [sp]
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_err
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot modify address while enabled\n"

l_.str.1:                               ; @.str.1
	.asciz	"Disable the address before modifying\n"

	.comm	_EACCES,8,3                     ; @EACCES
l_.str.2:                               ; @.str.2
	.asciz	"ipv4"

	.comm	_NVMF_ADDR_FAMILY_IP4,4,2       ; @NVMF_ADDR_FAMILY_IP4
l_.str.3:                               ; @.str.3
	.asciz	"ipv6"

	.comm	_NVMF_ADDR_FAMILY_IP6,4,2       ; @NVMF_ADDR_FAMILY_IP6
l_.str.4:                               ; @.str.4
	.asciz	"ib"

	.comm	_NVMF_ADDR_FAMILY_IB,4,2        ; @NVMF_ADDR_FAMILY_IB
l_.str.5:                               ; @.str.5
	.asciz	"fc"

	.comm	_NVMF_ADDR_FAMILY_FC,4,2        ; @NVMF_ADDR_FAMILY_FC
l_.str.6:                               ; @.str.6
	.asciz	"Invalid value '%s' for adrfam\n"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_nvmet_addr_adrfam_store
.subsections_via_symbols
