	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function volume_name
_volume_name:                           ## @volume_name
	.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
	cmpl	$3, %edi
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movq	16(%rsi), %rdi
	callq	_strlen
	cmpl	$8, %eax
	jb	LBB0_6
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_warnx
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_mfi_unit@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mfi_open
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movl	%eax, %r14d
	movq	8(%r15), %rsi
	leaq	-28(%rbp), %rdx
	movl	%eax, %edi
	callq	_mfi_lookup_volume
	testq	%rax, %rax
	js	LBB0_12
## %bb.8:
	movl	-28(%rbp), %esi
	leaq	-40(%rbp), %rdx
	movl	%r14d, %edi
	callq	_mfi_ld_get_props
	testq	%rax, %rax
	js	LBB0_13
## %bb.9:
	movl	(%rbx), %ebx
	movl	-28(%rbp), %esi
	movl	%r14d, %edi
	callq	_mfi_volume_name
	movq	-40(%rbp), %rcx
	movq	16(%r15), %r8
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_printf
	movq	-40(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	movq	-40(%rbp), %rdi
	movq	16(%r15), %rsi
	callq	_strcpy
	leaq	-40(%rbp), %rsi
	movl	%r14d, %edi
	callq	_mfi_ld_set_props
	testq	%rax, %rax
	js	LBB0_14
## %bb.10:
	movl	%r14d, %edi
	callq	_close
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_11:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_5
LBB0_12:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r15), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_16
LBB0_13:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_15
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rdi
LBB0_15:
	xorl	%eax, %eax
	callq	_warn
LBB0_16:
	movl	%r14d, %edi
	callq	_close
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name: volume and name required"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"name: new name is too long"

	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_mfi_unit,4,2                   ## @mfi_unit
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"mfi_open"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid volume: %s"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to fetch volume properties"

L_.str.5:                               ## @.str.5
	.asciz	"mfi%u volume %s name changed from \"%s\" to \"%s\"\n"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to set volume properties"

	.no_dead_strip	_volume_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function volume_name
_volume_name:                           ; @volume_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	cmp	w0, #3
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x1
	ldr	x0, [x1, #16]
	bl	_strlen
	cmp	w0, #8
	b.lo	LBB0_6
; %bb.2:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
Lloh2:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w21, [x8]
LBB0_5:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
LBB0_6:
Lloh8:
	adrp	x21, _mfi_unit@GOTPAGE
Lloh9:
	ldr	x21, [x21, _mfi_unit@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh10:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_mfi_open
	tbnz	w0, #31, LBB0_11
; %bb.7:
	mov	x19, x0
	ldr	x1, [x20, #8]
	add	x2, sp, #20
	bl	_mfi_lookup_volume
	tbnz	x0, #63, LBB0_12
; %bb.8:
	ldr	w1, [sp, #20]
	add	x2, sp, #24
	mov	x0, x19
	bl	_mfi_ld_get_props
	tbnz	x0, #63, LBB0_13
; %bb.9:
	ldr	w21, [x21]
	ldr	w1, [sp, #20]
	mov	x0, x19
	bl	_mfi_volume_name
	mov	x2, x0
	ldr	x3, [sp, #24]
	ldr	x4, [x20, #16]
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_printf
	ldr	x0, [sp, #24]
	mov	w1, #8
	bl	_bzero
	ldr	x0, [sp, #24]
	ldr	x1, [x20, #16]
	bl	_strcpy
	add	x1, sp, #24
	mov	x0, x19
	bl	_mfi_ld_set_props
	tbnz	x0, #63, LBB0_14
; %bb.10:
	mov	x0, x19
	bl	_close
	mov	w21, #0
	b	LBB0_5
LBB0_11:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	b	LBB0_5
LBB0_12:
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x8]
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_13:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh30:
	adrp	x8, _errno@GOTPAGE
Lloh31:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_15:
	bl	_warn
	mov	x0, x19
	bl	_close
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name: volume and name required"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"name: new name is too long"

	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_mfi_unit,4,2                   ; @mfi_unit
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"mfi_open"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid volume: %s"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to fetch volume properties"

l_.str.5:                               ; @.str.5
	.asciz	"mfi%u volume %s name changed from \"%s\" to \"%s\"\n"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to set volume properties"

	.no_dead_strip	_volume_name
.subsections_via_symbols
