	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PathNameDeleteTemporaryFile    ## -- Begin function PathNameDeleteTemporaryFile
	.p2align	4, 0x90
_PathNameDeleteTemporaryFile:           ## @PathNameDeleteTemporaryFile
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	leaq	-48(%rbp), %rsi
	callq	_stat
	xorl	%r13d, %r13d
	movq	_errno@GOTPCREL(%rip), %r12
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %ebx
LBB0_2:
	movq	_ENOENT@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	je	LBB0_13
## %bb.3:
	movq	%r14, %rdi
	callq	_unlink
	testq	%rax, %rax
	js	LBB0_4
## %bb.9:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.11:
	movl	%ebx, (%r12)
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_12
LBB0_4:
	movl	(%r12), %eax
	cmpl	(%r15), %eax
	je	LBB0_13
## %bb.5:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.7:
	movq	_LOG@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_ReportTemporaryFileUsage
LBB0_12:
	movl	$1, %r13d
	jmp	LBB0_13
LBB0_6:
	movq	_ERROR@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r15d
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_13:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_LOG,4,2                        ## @LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not unlink temporary file \"%s\": %m"

L_.str.1:                               ## @.str.1
	.asciz	"could not stat file \"%s\": %m"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PathNameDeleteTemporaryFile    ; -- Begin function PathNameDeleteTemporaryFile
	.p2align	2
_PathNameDeleteTemporaryFile:           ; @PathNameDeleteTemporaryFile
	.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	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	bl	_stat
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x21, _errno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	x8, #0
	csel	w22, wzr, w9, eq
Lloh2:
	adrp	x23, _ENOENT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ENOENT@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w22, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_unlink
	tbnz	x0, #63, LBB0_4
; %bb.2:
	cbz	w22, LBB0_7
; %bb.3:
	str	w22, [x21]
Lloh4:
	adrp	x8, _LOG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_8
LBB0_4:
	ldr	w8, [x21]
	ldr	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	adrp	x9, _LOG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LOG@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w20, [x8]
	bl	_errcode_for_file_access
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_ReportTemporaryFileUsage
LBB0_8:
	mov	w0, #1
LBB0_9:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_LOG,4,2                        ; @LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not unlink temporary file \"%s\": %m"

l_.str.1:                               ; @.str.1
	.asciz	"could not stat file \"%s\": %m"

.subsections_via_symbols
