	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_subsys_attr_version_store
_nvmet_subsys_attr_version_store:       ## @nvmet_subsys_attr_version_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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_to_subsys
	movq	%rax, %r14
	movl	$0, -28(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	leaq	-28(%rbp), %r8
	movq	%rbx, %rdi
	callq	_sscanf
	andl	$-2, %eax
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.2:
	movq	_nvmet_config_sem@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_down_write
	movl	-36(%rbp), %edi
	movl	-32(%rbp), %esi
	movl	-28(%rbp), %edx
	callq	_NVME_VS
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_up_write
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subq	(%rax), %r15
LBB0_3:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d.%d.%d\n"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_nvmet_config_sem,4,2           ## @nvmet_config_sem
	.no_dead_strip	_nvmet_subsys_attr_version_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_subsys_attr_version_store
_nvmet_subsys_attr_version_store:       ; @nvmet_subsys_attr_version_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_subsys
	mov	x20, x0
	str	wzr, [sp, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x21
	bl	_sscanf
	and	w8, w0, #0xfffffffe
	cmp	w8, #2
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x21, _nvmet_config_sem@GOTPAGE
Lloh3:
	ldr	x21, [x21, _nvmet_config_sem@GOTPAGEOFF]
	mov	x0, x21
	bl	_down_write
	ldp	w1, w0, [sp, #8]
	ldr	w2, [sp, #4]
	bl	_NVME_VS
	str	w0, [x20]
	mov	x0, x21
	bl	_up_write
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_3:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d.%d.%d\n"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_nvmet_config_sem,4,2           ; @nvmet_config_sem
	.no_dead_strip	_nvmet_subsys_attr_version_store
.subsections_via_symbols
