	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function postgresIterateForeignScan
_postgresIterateForeignScan:            ## @postgresIterateForeignScan
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	8(%rdi), %rbx
	cmpl	$0, 28(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_create_cursor
LBB0_2:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_6
## %bb.3:
	cmpl	$0, 24(%rbx)
	je	LBB0_4
## %bb.5:
	cmpq	%rcx, %rax
	jge	LBB0_7
LBB0_6:
	movq	16(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%rbx)
	movl	(%rcx,%rax,4), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ExecStoreHeapTuple
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rdi
	callq	_fetch_more_data
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ExecClearTuple                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_postgresIterateForeignScan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function postgresIterateForeignScan
_postgresIterateForeignScan:            ; @postgresIterateForeignScan
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldp	x19, x21, [x0]
	ldr	w8, [x21, #28]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_create_cursor
LBB0_2:
	ldp	x8, x9, [x21]
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.3:
	ldr	w10, [x21, #24]
	cbz	w10, LBB0_6
; %bb.4:
	cmp	x8, x9
	b.ge	LBB0_7
LBB0_5:
	ldr	x9, [x21, #16]
	add	x10, x8, #1
	str	x10, [x21]
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, x19
	mov	w2, #0
	bl	_ExecStoreHeapTuple
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x20
	bl	_fetch_more_data
	ldp	x8, x9, [x21]
	cmp	x8, x9
	b.lt	LBB0_5
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ExecClearTuple
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_postgresIterateForeignScan
.subsections_via_symbols
