	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DropRelationFiles              ## -- Begin function DropRelationFiles
	.p2align	4, 0x90
_DropRelationFiles:                     ## @DropRelationFiles
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leal	(,%r12,4), %edi
	callq	_palloc
	movq	%rax, %r15
	testl	%r12d, %r12d
	jle	LBB0_1
## %bb.2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r13d
	xorl	%r12d, %r12d
	movq	_MAX_FORKNUM@GOTPCREL(%rip), %r14
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	%r13d, (%r15,%r12,4)
	incq	%r12
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	cmpq	%r13, %r12
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	(%rbx,%r12,4), %edi
	movq	_InvalidBackendId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_smgropen
	movl	%eax, %r13d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r14)
	js	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$-1, %r15
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r15
	movl	(%rbx,%r12,4), %edi
	movq	%r15, %rsi
	callq	_XLogDropRelation
	cmpq	(%r14), %r15
	jl	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_smgrdounlinkall
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_smgrclose
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_9
	jmp	LBB0_10
LBB0_1:
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_smgrdounlinkall
LBB0_10:
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBackendId,4,2           ## @InvalidBackendId
	.comm	_MAX_FORKNUM,8,3                ## @MAX_FORKNUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DropRelationFiles              ; -- Begin function DropRelationFiles
	.p2align	2
_DropRelationFiles:                     ; @DropRelationFiles
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	lsl	w0, w1, #2
	bl	_palloc
	mov	x19, x0
	cmp	w21, #0
	b.le	LBB0_9
; %bb.1:
	mov	x26, #0
Lloh0:
	adrp	x27, _InvalidBackendId@GOTPAGE
Lloh1:
	ldr	x27, [x27, _InvalidBackendId@GOTPAGEOFF]
Lloh2:
	adrp	x28, _MAX_FORKNUM@GOTPAGE
Lloh3:
	ldr	x28, [x28, _MAX_FORKNUM@GOTPAGEOFF]
	mov	w25, w21
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w23, [x19, x26, lsl #2]
	add	x26, x26, #1
	cmp	x26, x25
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w0, [x22, x26, lsl #2]
	ldr	w1, [x27]
	bl	_smgropen
	mov	x23, x0
	cbz	w20, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x28]
	tbnz	x8, #63, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #-1
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x24, x24, #1
	ldr	w0, [x22, x26, lsl #2]
	mov	x1, x24
	bl	_XLogDropRelation
	ldr	x8, [x28]
	cmp	x24, x8
	b.lt	LBB0_6
	b	LBB0_2
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_smgrdounlinkall
	mov	x20, x19
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_smgrclose
	subs	x25, x25, #1
	b.ne	LBB0_8
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_smgrdounlinkall
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_pfree
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBackendId,4,2           ; @InvalidBackendId
	.comm	_MAX_FORKNUM,8,3                ; @MAX_FORKNUM
.subsections_via_symbols
