	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w2
_w2:                                    ## @w2
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_wrkpid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rump_pub_lwproc_newlwp
	movq	_quittingtime@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rump_sys_rename
	cmpl	$0, (%r15)
	je	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wrkpid,4,2                     ## @wrkpid
	.comm	_quittingtime,4,2               ## @quittingtime
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rename.test1"

L_.str.1:                               ## @.str.1
	.asciz	"rename.test2"

	.no_dead_strip	_w2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w2
_w2:                                    ; @w2
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _wrkpid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wrkpid@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_rump_pub_lwproc_newlwp
Lloh3:
	adrp	x21, _quittingtime@GOTPAGE
Lloh4:
	ldr	x21, [x21, _quittingtime@GOTPAGEOFF]
	ldr	w8, [x21]
	cbnz	w8, LBB0_3
; %bb.1:
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
Lloh7:
	adrp	x20, l_.str.1@PAGE
Lloh8:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_rump_sys_rename
	ldr	w8, [x21]
	cbz	w8, LBB0_2
LBB0_3:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_wrkpid,4,2                     ; @wrkpid
	.comm	_quittingtime,4,2               ; @quittingtime
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rename.test1"

l_.str.1:                               ; @.str.1
	.asciz	"rename.test2"

	.no_dead_strip	_w2
.subsections_via_symbols
