	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdunlinkfork
_mdunlinkfork:                          ## @mdunlinkfork
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%edi, %r12d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_relpath
	movq	%rax, %r15
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.1:
	movq	_MAIN_FORKNUM@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	%r12d, %edi
	callq	_RelFileNodeBackendIsTemp
	testq	%rax, %rax
	je	LBB0_8
LBB0_3:
	movl	%r12d, %edi
	callq	_RelFileNodeBackendIsTemp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	%r12d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_register_forget_request
LBB0_5:
	movq	%r15, %rdi
	callq	_unlink
	testl	$-2147483648, %eax              ## imm = 0x80000000
	jne	LBB0_6
LBB0_15:
	movq	%r15, %rdi
	callq	_strlen
	leaq	12(%rax), %rdi
	callq	_palloc
	movq	%rax, %r13
	movl	$1, %ebx
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_sprintf
	movq	%r13, %rdi
	callq	_unlink
	incl	%ebx
	testq	%rax, %rax
	js	LBB0_19
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_RelFileNodeBackendIsTemp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%r12d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_register_forget_request
	jmp	LBB0_18
LBB0_19:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_21
## %bb.20:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_21:
	movq	%r13, %rdi
	callq	_pfree
	jmp	LBB0_22
LBB0_6:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_22
## %bb.7:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_22
LBB0_8:
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_PG_BINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OpenTransientFile
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ftruncate
	movl	%eax, %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_CloseTransientFile
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	testl	%r14d, %r14d
	js	LBB0_11
## %bb.14:
	movl	%r12d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_register_unlink_segment
	jmp	LBB0_15
LBB0_9:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_11:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_13
## %bb.12:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_13:
	movl	%r12d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_register_unlink_segment
LBB0_22:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAIN_FORKNUM,8,3               ## @MAIN_FORKNUM
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_WARNING,4,2                    ## @WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not remove file \"%s\": %m"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_PG_BINARY,4,2                  ## @PG_BINARY
L_.str.1:                               ## @.str.1
	.asciz	"could not truncate file \"%s\": %m"

L_.str.2:                               ## @.str.2
	.asciz	"%s.%u"

	.no_dead_strip	_mdunlinkfork
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdunlinkfork
_mdunlinkfork:                          ; @mdunlinkfork
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	bl	_relpath
	mov	x19, x0
	cbnz	w22, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _MAIN_FORKNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_RelFileNodeBackendIsTemp
	cbz	x0, LBB0_15
LBB0_3:
	mov	x0, x21
	bl	_RelFileNodeBackendIsTemp
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_register_forget_request
LBB0_5:
	mov	x0, x19
	bl	_unlink
	tbnz	w0, #31, LBB0_13
LBB0_6:
	mov	x0, x19
	bl	_strlen
	add	x0, x0, #12
	bl	_palloc
	mov	x22, x0
	mov	w23, #1
Lloh3:
	adrp	x24, l_.str.2@PAGE
Lloh4:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	mov	x1, x24
	mov	x2, x19
	mov	x3, x23
	bl	_sprintf
	mov	x0, x22
	bl	_unlink
	add	w23, w23, #1
	tbnz	x0, #63, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_RelFileNodeBackendIsTemp
	cbnz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	bl	_register_forget_request
	b	LBB0_7
LBB0_10:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ENOENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_12
; %bb.11:
Lloh11:
	adrp	x8, _WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_12:
	mov	x0, x22
	bl	_pfree
	b	LBB0_22
LBB0_13:
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _ENOENT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_22
; %bb.14:
Lloh22:
	adrp	x8, _WARNING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_22
LBB0_15:
Lloh27:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _PG_BINARY@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PG_BINARY@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_OpenTransientFile
	tbnz	w0, #31, LBB0_18
; %bb.16:
	mov	x22, x0
	mov	w1, #0
	bl	_ftruncate
	mov	x23, x0
Lloh33:
	adrp	x25, _errno@GOTPAGE
Lloh34:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	ldr	w24, [x25]
	mov	x0, x22
	bl	_CloseTransientFile
	str	w24, [x25]
	tbnz	w23, #31, LBB0_19
; %bb.17:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_register_unlink_segment
	b	LBB0_6
LBB0_18:
Lloh35:
	adrp	x8, _errno@GOTPAGE
Lloh36:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh37:
	ldr	w24, [x8]
LBB0_19:
Lloh38:
	adrp	x8, _ENOENT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w24, w8
	b.eq	LBB0_21
; %bb.20:
Lloh41:
	adrp	x8, _WARNING@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh43:
	ldr	w22, [x8]
	bl	_errcode_for_file_access
Lloh44:
	adrp	x0, l_.str.1@PAGE
Lloh45:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_21:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_register_unlink_segment
LBB0_22:
	mov	x0, x19
	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
	b	_pfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_MAIN_FORKNUM,8,3               ; @MAIN_FORKNUM
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_WARNING,4,2                    ; @WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not remove file \"%s\": %m"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_PG_BINARY,4,2                  ; @PG_BINARY
l_.str.1:                               ; @.str.1
	.asciz	"could not truncate file \"%s\": %m"

l_.str.2:                               ; @.str.2
	.asciz	"%s.%u"

	.no_dead_strip	_mdunlinkfork
.subsections_via_symbols
