	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quota_test5
_quota_test5:                           ## @quota_test5
	.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
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.1:
	movq	%rdi, %rbx
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %eax
	cmpq	%rax, %r15
	jae	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx,%r15), %edx
	cmpl	$85, %edx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$82, %edx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$76, %edx
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	jmp	LBB0_4
LBB0_12:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_13:
	testl	%r13d, %r13d
	je	LBB0_17
## %bb.14:
	leaq	L_.str.1(%rip), %rdi
	callq	___UNCONST
	movl	%eax, -48(%rbp)
	movq	_MOUNT_FFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FSTEST_MNTNAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_MNT_UPDATE@GOTPCREL(%rip), %rax
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.15:
	movq	_MNT_LOG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_16:
	orl	(%rax), %r14d
	leaq	-48(%rbp), %rcx
	movl	%r14d, %edx
	movl	$4, %r8d
	callq	_rump_sys_mount
	cmpl	$-1, %eax
	je	LBB0_25
LBB0_17:
	testl	%r12d, %r12d
	je	LBB0_26
LBB0_18:
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	movl	$420, %edx                      ## imm = 0x1A4
	callq	_rump_sys_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_20
## %bb.19:
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_20:
	movups	L_.str.5(%rip), %xmm0
	movaps	%xmm0, _quota_test5.buf(%rip)
	movl	$6646889, _quota_test5.buf+15(%rip) ## imm = 0x656C69
	leaq	_quota_test5.buf(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_rump_sys_write
	leaq	L_.str.3(%rip), %rdi
	callq	_rump_sys_unlink
	cmpl	$-1, %eax
	jne	LBB0_22
## %bb.21:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_22:
	movl	%ebx, %edi
	callq	_rump_sys_fsync
	cmpl	$-1, %eax
	jne	LBB0_24
## %bb.23:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_24:
	movq	_RUMP_RB_NOSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rump_sys_reboot
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %ebx
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_27
LBB0_25:
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
	testl	%r12d, %r12d
	jne	LBB0_18
LBB0_26:
	xorl	%ebx, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_quota_test5.buf,512,4 ## @quota_test5.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"test4: unknown option %c"

L_.str.1:                               ## @.str.1
	.asciz	"/diskdev"

	.comm	_MOUNT_FFS,4,2                  ## @MOUNT_FFS
	.comm	_FSTEST_MNTNAME,4,2             ## @FSTEST_MNTNAME
	.comm	_MNT_UPDATE,4,2                 ## @MNT_UPDATE
	.comm	_MNT_LOG,4,2                    ## @MNT_LOG
L_.str.2:                               ## @.str.2
	.asciz	"mount ffs rw %s"

L_.str.3:                               ## @.str.3
	.asciz	"unlinked_file"

	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_RDWR,4,2                     ## @O_RDWR
L_.str.4:                               ## @.str.4
	.asciz	"create %s"

L_.str.5:                               ## @.str.5
	.asciz	"test unlinked_file"

L_.str.6:                               ## @.str.6
	.asciz	"unlink unlinked_file"

L_.str.7:                               ## @.str.7
	.asciz	"fsync unlinked_file"

	.comm	_RUMP_RB_NOSYNC,4,2             ## @RUMP_RB_NOSYNC
L_.str.8:                               ## @.str.8
	.asciz	"reboot failed"

	.no_dead_strip	_quota_test5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quota_test5
_quota_test5:                           ; @quota_test5
	.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, x0
	cbz	x0, LBB0_24
; %bb.1:
	mov	x0, x19
	bl	_strlen
	cbz	w0, LBB0_11
; %bb.2:
	mov	w23, #0
	mov	w21, #0
	mov	w22, #0
	mov	x24, #0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_errx
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	mov	x0, x19
	bl	_strlen
	cmp	x24, w0, uxtw
	b.hs	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x19, x24]
	cmp	w8, #85
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #82
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #76
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	b	LBB0_4
LBB0_11:
	mov	w22, #0
	mov	w21, #0
	mov	w23, #0
LBB0_12:
	cbz	w23, LBB0_14
; %bb.13:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	___UNCONST
	str	w0, [sp, #8]
Lloh4:
	adrp	x8, _MOUNT_FFS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MOUNT_FFS@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x19, _FSTEST_MNTNAME@GOTPAGE
Lloh8:
	ldr	x19, [x19, _FSTEST_MNTNAME@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh9:
	adrp	x8, _MNT_UPDATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MNT_UPDATE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _MNT_LOG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MNT_LOG@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w22, #0
	csel	w9, wzr, w9, eq
	orr	w2, w9, w8
	add	x3, sp, #8
	mov	w4, #4
	bl	_rump_sys_mount
	cmn	w0, #1
	b.eq	LBB0_22
LBB0_14:
	cbz	w21, LBB0_23
LBB0_15:
Lloh15:
	adrp	x8, _O_EXCL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _O_EXCL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _O_RDWR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _O_RDWR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh24:
	adrp	x20, l_.str.3@PAGE
Lloh25:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w2, #420
	bl	_rump_sys_open
	mov	x19, x0
	tbz	w0, #31, LBB0_17
; %bb.16:
	str	x20, [sp]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_17:
Lloh28:
	adrp	x20, _quota_test5.buf@PAGE
Lloh29:
	add	x20, x20, _quota_test5.buf@PAGEOFF
	mov	w8, #27753
	movk	w8, #101, lsl #16
	stur	w8, [x20, #15]
Lloh30:
	adrp	x8, l_.str.5@PAGE
Lloh31:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh32:
	ldr	q0, [x8]
	str	q0, [x20]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_rump_sys_write
Lloh33:
	adrp	x0, l_.str.3@PAGE
Lloh34:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_rump_sys_unlink
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.18:
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_19:
	mov	x0, x19
	bl	_rump_sys_fsync
	cmn	w0, #1
	b.ne	LBB0_21
; %bb.20:
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_21:
Lloh39:
	adrp	x8, _RUMP_RB_NOSYNC@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RUMP_RB_NOSYNC@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rump_sys_reboot
Lloh42:
	adrp	x1, l_.str.8@PAGE
Lloh43:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w19, #1
	mov	w0, #1
	bl	_errx
	b	LBB0_24
LBB0_22:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
	cbnz	w21, LBB0_15
LBB0_23:
	mov	w19, #0
LBB0_24:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAddLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_quota_test5.buf,512,0 ; @quota_test5.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"test4: unknown option %c"

l_.str.1:                               ; @.str.1
	.asciz	"/diskdev"

	.comm	_MOUNT_FFS,4,2                  ; @MOUNT_FFS
	.comm	_FSTEST_MNTNAME,4,2             ; @FSTEST_MNTNAME
	.comm	_MNT_UPDATE,4,2                 ; @MNT_UPDATE
	.comm	_MNT_LOG,4,2                    ; @MNT_LOG
l_.str.2:                               ; @.str.2
	.asciz	"mount ffs rw %s"

l_.str.3:                               ; @.str.3
	.asciz	"unlinked_file"

	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_RDWR,4,2                     ; @O_RDWR
l_.str.4:                               ; @.str.4
	.asciz	"create %s"

l_.str.5:                               ; @.str.5
	.asciz	"test unlinked_file"

l_.str.6:                               ; @.str.6
	.asciz	"unlink unlinked_file"

l_.str.7:                               ; @.str.7
	.asciz	"fsync unlinked_file"

	.comm	_RUMP_RB_NOSYNC,4,2             ; @RUMP_RB_NOSYNC
l_.str.8:                               ; @.str.8
	.asciz	"reboot failed"

	.no_dead_strip	_quota_test5
.subsections_via_symbols
