	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wrrd_after_unlink
_wrrd_after_unlink:                     ## @wrrd_after_unlink
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$17, -20(%rbp)
	xorl	%eax, %eax
	callq	_FSTEST_ENTER
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	movl	$438, %edx                      ## imm = 0x1B6
	callq	_rump_sys_open
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_RL
	movq	%r14, %rdi
	callq	_rump_sys_unlink
	movl	%eax, %edi
	callq	_RL
	leaq	-20(%rbp), %rsi
	movl	%ebx, %edi
	movl	$4, %edx
	movl	$654321, %ecx                   ## imm = 0x9FBF1
	callq	_rump_sys_pwrite
	movl	%eax, %edi
	callq	_RL
	movl	%ebx, %edi
	callq	_rump_sys_fsync
	movl	%eax, %edi
	callq	_RL
	leaq	-24(%rbp), %rsi
	movl	%ebx, %edi
	movl	$4, %edx
	movl	$654321, %ecx                   ## imm = 0x9FBF1
	callq	_rump_sys_pread
	movl	%eax, %edi
	callq	_RL
	movl	%ebx, %edi
	callq	_rump_sys_close
	movl	-20(%rbp), %edi
	movl	-24(%rbp), %esi
	callq	_ATF_REQUIRE_EQ
	xorl	%eax, %eax
	callq	_FSTEST_EXIT
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.no_dead_strip	_wrrd_after_unlink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wrrd_after_unlink
_wrrd_after_unlink:                     ; @wrrd_after_unlink
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	w8, #17
	str	w8, [sp, #12]
	bl	_FSTEST_ENTER
Lloh0:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh6:
	adrp	x19, l_.str@PAGE
Lloh7:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #438
	bl	_rump_sys_open
	mov	x20, x0
	bl	_RL
	mov	x0, x19
	bl	_rump_sys_unlink
	bl	_RL
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #4
	mov	w3, #64497
	movk	w3, #9, lsl #16
	bl	_rump_sys_pwrite
	bl	_RL
	mov	x0, x20
	bl	_rump_sys_fsync
	bl	_RL
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #4
	mov	w3, #64497
	movk	w3, #9, lsl #16
	bl	_rump_sys_pread
	bl	_RL
	mov	x0, x20
	bl	_rump_sys_close
	ldp	w1, w0, [sp, #8]
	bl	_ATF_REQUIRE_EQ
	bl	_FSTEST_EXIT
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.no_dead_strip	_wrrd_after_unlink
.subsections_via_symbols
