	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_addr_trtype_store
_nvmet_addr_trtype_store:               ## @nvmet_addr_trtype_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	%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
	movq	%rdx, %r15
	movq	%rsi, %r13
	callq	_to_nvmet_port
	cmpq	$0, 16(%rax)
	je	LBB0_1
## %bb.9:
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EACCES@GOTPCREL(%rip), %rax
	subq	(%rax), %r15
	jmp	LBB0_8
LBB0_1:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_nvmet_transport_names@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	8(%rax,%rbx), %esi
	movq	%r13, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r14
	jl	LBB0_3
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subq	(%rax), %r15
	jmp	LBB0_8
LBB0_6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	addq	$8, %rdi
	movq	_NVMF_TSAS_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r12), %rax
	movq	(%rax,%rbx), %rax
	movq	%rax, (%r14)
	movq	_NVMF_TRTYPE_RDMA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_nvmet_port_init_tsas_rdma
LBB0_8:
	movq	%r15, %rax
	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	"Cannot modify address while enabled\n"

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

	.comm	_EACCES,8,3                     ## @EACCES
	.comm	_nvmet_transport_names,8,3      ## @nvmet_transport_names
L_.str.2:                               ## @.str.2
	.asciz	"Invalid value '%s' for trtype\n"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_NVMF_TSAS_SIZE,4,2             ## @NVMF_TSAS_SIZE
	.comm	_NVMF_TRTYPE_RDMA,8,3           ## @NVMF_TRTYPE_RDMA
	.no_dead_strip	_nvmet_addr_trtype_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_trtype_store
_nvmet_addr_trtype_store:               ; @nvmet_addr_trtype_store
	.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, x2
	mov	x21, x1
	bl	_to_nvmet_port
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %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]
	b	LBB0_7
LBB0_2:
	mov	x20, x0
Lloh6:
	adrp	x22, _nvmet_transport_names@GOTPAGE
Lloh7:
	ldr	x22, [x22, _nvmet_transport_names@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x23, #0
	mov	x24, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x8, x8, x23
	ldr	w1, [x8, #8]
	mov	x0, x21
	bl	_sysfs_streq
	cbnz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x23, x23, #16
	cmp	x24, w0, sxtw
	b.lt	LBB0_4
LBB0_6:
	str	x21, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_8:
	mov	x0, x19
	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
LBB0_9:
	add	x0, x20, #8
Lloh12:
	adrp	x8, _NVMF_TSAS_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NVMF_TSAS_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	str	x8, [x20]
Lloh15:
	adrp	x9, _NVMF_TRTYPE_RDMA@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NVMF_TRTYPE_RDMA@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.10:
	mov	x0, x20
	bl	_nvmet_port_init_tsas_rdma
	b	LBB0_8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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
	.comm	_nvmet_transport_names,8,3      ; @nvmet_transport_names
l_.str.2:                               ; @.str.2
	.asciz	"Invalid value '%s' for trtype\n"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_NVMF_TSAS_SIZE,4,2             ; @NVMF_TSAS_SIZE
	.comm	_NVMF_TRTYPE_RDMA,8,3           ; @NVMF_TRTYPE_RDMA
	.no_dead_strip	_nvmet_addr_trtype_store
.subsections_via_symbols
