	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exit_cleanup
_exit_cleanup:                          ## @exit_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_dirfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$-1, %edi
	je	LBB0_3
## %bb.1:
	movq	_newfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	callq	_unlinkat
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_warn                           ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dirfd,4,2                      ## @dirfd
	.comm	_newfile,8,3                    ## @newfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unlinkat"

	.no_dead_strip	_exit_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exit_cleanup
_exit_cleanup:                          ; @exit_cleanup
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _dirfd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dirfd@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _newfile@GOTPAGE
Lloh4:
	ldr	x8, [x8, _newfile@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	cmn	w0, #1
	ccmp	x1, #0, #4, ne
	b.eq	LBB0_3
; %bb.1:
	mov	w2, #0
	bl	_unlinkat
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_warn
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dirfd,4,2                      ; @dirfd
	.comm	_newfile,8,3                    ; @newfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unlinkat"

	.no_dead_strip	_exit_cleanup
.subsections_via_symbols
