	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_addr_treq_store
_nvmet_addr_treq_store:                 ## @nvmet_addr_treq_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_to_nvmet_port
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	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), %r14
	jmp	LBB0_9
LBB0_2:
	movq	%rax, %r12
	movq	_NVME_TREQ_SECURE_CHANNEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%ebx
	andl	(%r12), %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NVMF_TREQ_NOT_SPECIFIED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_NVMF_TREQ_REQUIRED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	_NVMF_TREQ_NOT_REQUIRED@GOTPCREL(%rip), %rax
LBB0_8:
	orl	(%rax), %ebx
	movl	%ebx, (%r12)
LBB0_9:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.5(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subq	(%rax), %r14
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_TREQ_SECURE_CHANNEL_MASK,4,2 ## @NVME_TREQ_SECURE_CHANNEL_MASK
	.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	"not specified"

	.comm	_NVMF_TREQ_NOT_SPECIFIED,4,2    ## @NVMF_TREQ_NOT_SPECIFIED
L_.str.3:                               ## @.str.3
	.asciz	"required"

	.comm	_NVMF_TREQ_REQUIRED,4,2         ## @NVMF_TREQ_REQUIRED
L_.str.4:                               ## @.str.4
	.asciz	"not required"

	.comm	_NVMF_TREQ_NOT_REQUIRED,4,2     ## @NVMF_TREQ_NOT_REQUIRED
L_.str.5:                               ## @.str.5
	.asciz	"Invalid value '%s' for treq\n"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_nvmet_addr_treq_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_treq_store
_nvmet_addr_treq_store:                 ; @nvmet_addr_treq_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, #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_10
LBB0_3:
	mov	x20, x0
	ldr	w22, [x0]
Lloh6:
	adrp	x8, _NVME_TREQ_SECURE_CHANNEL_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_TREQ_SECURE_CHANNEL_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _NVMF_TREQ_NOT_SPECIFIED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NVMF_TREQ_NOT_SPECIFIED@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _NVMF_TREQ_REQUIRED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NVMF_TREQ_REQUIRED@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_11
; %bb.8:
Lloh19:
	adrp	x8, _NVMF_TREQ_NOT_REQUIRED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NVMF_TREQ_NOT_REQUIRED@GOTPAGEOFF]
LBB0_9:
	bic	w9, w22, w23
	ldr	w8, [x8]
	orr	w8, w8, w9
	str	w8, [x20]
LBB0_10:
	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_11:
	str	x21, [sp]
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_TREQ_SECURE_CHANNEL_MASK,4,2 ; @NVME_TREQ_SECURE_CHANNEL_MASK
	.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	"not specified"

	.comm	_NVMF_TREQ_NOT_SPECIFIED,4,2    ; @NVMF_TREQ_NOT_SPECIFIED
l_.str.3:                               ; @.str.3
	.asciz	"required"

	.comm	_NVMF_TREQ_REQUIRED,4,2         ; @NVMF_TREQ_REQUIRED
l_.str.4:                               ; @.str.4
	.asciz	"not required"

	.comm	_NVMF_TREQ_NOT_REQUIRED,4,2     ; @NVMF_TREQ_NOT_REQUIRED
l_.str.5:                               ; @.str.5
	.asciz	"Invalid value '%s' for treq\n"

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