	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smgrGetPendingDeletes          ## -- Begin function smgrGetPendingDeletes
	.p2align	4, 0x90
_smgrGetPendingDeletes:                 ## @smgrGetPendingDeletes
	.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
	movq	%rsi, %r12
	movl	%edi, %r15d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GetCurrentTransactionNestLevel
	movl	%eax, %ebx
	movq	_pendingDeletes@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_InvalidBackendId@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rax)
	jl	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 4(%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	cmpq	%rcx, 8(%rax)
	sete	%dl
	addl	%edx, %r14d
	jmp	LBB0_5
LBB0_6:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.8:
	leal	(,%r14,4), %edi
	callq	_palloc
	movq	%rax, (%r12)
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.9:
	movq	_InvalidBackendId@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rcx)
	jl	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	%r15d, 4(%rcx)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rdx, 8(%rcx)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	16(%rcx), %esi
	movl	%esi, (%rax)
	addq	$4, %rax
	jmp	LBB0_14
LBB0_7:
	movq	$0, (%r12)
	xorl	%r14d, %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pendingDeletes,8,3             ## @pendingDeletes
	.comm	_InvalidBackendId,8,3           ## @InvalidBackendId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smgrGetPendingDeletes          ; -- Begin function smgrGetPendingDeletes
	.p2align	2
_smgrGetPendingDeletes:                 ; @smgrGetPendingDeletes
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x1
	mov	x20, x0
	bl	_GetCurrentTransactionNestLevel
Lloh0:
	adrp	x23, _pendingDeletes@GOTPAGE
Lloh1:
	ldr	x23, [x23, _pendingDeletes@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x21, x0
	mov	w19, #0
Lloh2:
	adrp	x24, _InvalidBackendId@GOTPAGE
Lloh3:
	ldr	x24, [x24, _InvalidBackendId@GOTPAGEOFF]
	ldr	x9, [x24]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cmp	w10, w21
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x8, #4]
	cmp	w10, w20
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x8, #8]
	cmp	x10, x9
	cinc	w19, w19, eq
	b	LBB0_2
LBB0_6:
	cbz	w19, LBB0_14
; %bb.7:
	lsl	w0, w19, #2
	bl	_palloc
	str	x0, [x22]
	ldr	x8, [x23]
	cbz	x8, LBB0_15
; %bb.8:
	ldr	x9, [x24]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_15
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cmp	w10, w21
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w10, [x8, #4]
	cmp	w10, w20
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x10, [x8, #8]
	cmp	x10, x9
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w10, [x8, #16]
	str	w10, [x0], #4
	b	LBB0_9
LBB0_14:
	mov	w19, #0
	str	xzr, [x22]
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_pendingDeletes,8,3             ; @pendingDeletes
	.comm	_InvalidBackendId,8,3           ; @InvalidBackendId
.subsections_via_symbols
