	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renamerace
_renamerace:                            ## @renamerace
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NWRK@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_FSTYPE_SYSVBFS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_atf_tc_skip
LBB0_2:
	movq	%r13, %rdi
	callq	_FSTYPE_RUMPFS
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_atf_tc_skip
LBB0_4:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_FSTYPE_UDF
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_atf_tc_expect_fail
LBB0_6:
	movq	_RUMP_RFCFDG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rump_pub_lwproc_rfork
	movl	%eax, %edi
	callq	_RZ
	xorl	%eax, %eax
	callq	_rump_sys_getpid
	movq	_wrkpid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%eax, %edi
	callq	_RL
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_rump_sys_chdir
	movl	%eax, %edi
	callq	_RL
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.7:
	xorl	%r15d, %r15d
	movq	_w1@GOTPCREL(%rip), %r13
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	incq	%r15
	movslq	(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_8
## %bb.9:
	testl	%eax, %eax
	jle	LBB0_12
## %bb.10:
	xorl	%r15d, %r15d
	movq	_w2@GOTPCREL(%rip), %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	incq	%r15
	movslq	(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_11
LBB0_12:
	movl	$5, %edi
	callq	_sleep
	movq	_quittingtime@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	cmpl	$0, (%r12)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_18
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %edi
	xorl	%esi, %esi
	callq	_pthread_join
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_14
## %bb.15:
	testl	%eax, %eax
	jle	LBB0_18
## %bb.16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	xorl	%esi, %esi
	callq	_pthread_join
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_17
LBB0_18:
	leaq	L_.str.3(%rip), %rdi
	callq	_rump_sys_chdir
	movl	%eax, %edi
	callq	_RL
	movq	%r15, %rdi
	callq	_FSTYPE_UDF
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.4(%rip), %rdi
	callq	_atf_tc_fail
LBB0_20:
	movq	%r15, %rdi
	callq	_FSTYPE_MSDOS
	testq	%rax, %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_24
## %bb.21:
	leaq	L_.str.5(%rip), %rdi
	callq	_atf_tc_expect_fail
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_msdosfs_fstest_unmount
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rump_pub_vfs_mount_print
	leaq	L_.str.6(%rip), %rdi
	callq	_atf_tc_fail_errno
LBB0_23:
	leaq	L_.str.4(%rip), %rdi
	callq	_atf_tc_fail
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NWRK,4,2                       ## @NWRK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"filesystem has not enough inodes"

L_.str.1:                               ## @.str.1
	.asciz	"rename not supported by file system"

L_.str.2:                               ## @.str.2
	.asciz	"PR kern/49046"

	.comm	_RUMP_RFCFDG,4,2                ## @RUMP_RFCFDG
	.comm	_wrkpid,4,2                     ## @wrkpid
	.comm	_w1,4,2                         ## @w1
	.comm	_w2,4,2                         ## @w2
	.comm	_quittingtime,4,2               ## @quittingtime
L_.str.3:                               ## @.str.3
	.asciz	"/"

L_.str.4:                               ## @.str.4
	.asciz	"race did not trigger this time"

L_.str.5:                               ## @.str.5
	.asciz	"PR kern/43626"

L_.str.6:                               ## @.str.6
	.asciz	"unmount failed"

	.no_dead_strip	_renamerace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function renamerace
_renamerace:                            ; @renamerace
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x22, _NWRK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NWRK@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x24, x9, x12
	mov	sp, x24
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	bl	_FSTYPE_SYSVBFS
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_atf_tc_skip
LBB0_2:
	mov	x0, x20
	bl	_FSTYPE_RUMPFS
	cbz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_atf_tc_skip
LBB0_4:
	mov	x0, x20
	bl	_FSTYPE_UDF
	cbz	x0, LBB0_6
; %bb.5:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_atf_tc_expect_fail
LBB0_6:
Lloh15:
	adrp	x8, _RUMP_RFCFDG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RUMP_RFCFDG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_rump_pub_lwproc_rfork
	bl	_RZ
	bl	_rump_sys_getpid
Lloh18:
	adrp	x8, _wrkpid@GOTPAGE
Lloh19:
	ldr	x8, [x8, _wrkpid@GOTPAGEOFF]
Lloh20:
	str	w0, [x8]
	bl	_RL
	mov	x0, x19
	bl	_rump_sys_chdir
	bl	_RL
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.7:
	mov	x25, #0
Lloh21:
	adrp	x26, _w1@GOTPAGE
Lloh22:
	ldr	x26, [x26, _w1@GOTPAGEOFF]
	mov	x21, x24
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	mov	x0, x21
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	add	x25, x25, #1
	ldrsw	x8, [x22]
	add	x21, x21, #4
	cmp	x25, x8
	b.lt	LBB0_8
; %bb.9:
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x25, #0
Lloh23:
	adrp	x26, _w2@GOTPAGE
Lloh24:
	ldr	x26, [x26, _w2@GOTPAGEOFF]
	mov	x21, x23
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	mov	x0, x21
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	add	x25, x25, #1
	ldrsw	x8, [x22]
	add	x21, x21, #4
	cmp	x25, x8
	b.lt	LBB0_11
LBB0_12:
	mov	w0, #5
	bl	_sleep
Lloh25:
	adrp	x8, _quittingtime@GOTPAGE
Lloh26:
	ldr	x8, [x8, _quittingtime@GOTPAGEOFF]
	mov	w9, #1
Lloh27:
	str	w9, [x8]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.13:
	mov	x21, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, x21, lsl #2]
	mov	x1, #0
	bl	_pthread_join
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_14
; %bb.15:
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.16:
	mov	x21, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, x21, lsl #2]
	mov	x1, #0
	bl	_pthread_join
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_17
LBB0_18:
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_rump_sys_chdir
	bl	_RL
	mov	x0, x20
	bl	_FSTYPE_UDF
	cbz	x0, LBB0_20
; %bb.19:
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_atf_tc_fail
LBB0_20:
	mov	x0, x20
	bl	_FSTYPE_MSDOS
	cbz	x0, LBB0_24
; %bb.21:
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_atf_tc_expect_fail
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_msdosfs_fstest_unmount
	cbz	x0, LBB0_23
; %bb.22:
	mov	x0, x19
	mov	w1, #1
	bl	_rump_pub_vfs_mount_print
Lloh34:
	adrp	x0, l_.str.6@PAGE
Lloh35:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_atf_tc_fail_errno
LBB0_23:
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_atf_tc_fail
LBB0_24:
	ldur	x8, [x29, #-72]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_NWRK,4,2                       ; @NWRK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"filesystem has not enough inodes"

l_.str.1:                               ; @.str.1
	.asciz	"rename not supported by file system"

l_.str.2:                               ; @.str.2
	.asciz	"PR kern/49046"

	.comm	_RUMP_RFCFDG,4,2                ; @RUMP_RFCFDG
	.comm	_wrkpid,4,2                     ; @wrkpid
	.comm	_w1,4,2                         ; @w1
	.comm	_w2,4,2                         ; @w2
	.comm	_quittingtime,4,2               ; @quittingtime
l_.str.3:                               ; @.str.3
	.asciz	"/"

l_.str.4:                               ; @.str.4
	.asciz	"race did not trigger this time"

l_.str.5:                               ; @.str.5
	.asciz	"PR kern/43626"

l_.str.6:                               ; @.str.6
	.asciz	"unmount failed"

	.no_dead_strip	_renamerace
.subsections_via_symbols
