	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recompute_limits
_recompute_limits:                      ## @recompute_limits
	.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, %rbx
	movq	56(%rdi), %r14
	movq	48(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	leaq	-28(%rbp), %rdx
	movq	%r14, %rsi
	callq	_ExecEvalExprSwitchContext
	cmpl	$0, -28(%rbp)
	je	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %edi
	callq	_DatumGetInt64
LBB0_5:
	movq	%rax, 40(%rbx)
	movq	32(%rbx), %rdi
	movl	$1, %r15d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:
	leaq	-28(%rbp), %rdx
	movq	%r14, %rsi
	callq	_ExecEvalExprSwitchContext
	movl	%eax, %edi
	xorl	%eax, %eax
	cmpl	$0, -28(%rbp)
	jne	LBB0_9
## %bb.7:
	callq	_DatumGetInt64
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	movq	%rax, 24(%rbx)
	movl	%r15d, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	_LIMIT_RESCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_compute_tuples_needed
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_outerPlanState
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ExecSetTupleBound
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE,4,2 ## @ERRCODE_INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE
	.comm	_ERRCODE_INVALID_ROW_COUNT_IN_LIMIT_CLAUSE,4,2 ## @ERRCODE_INVALID_ROW_COUNT_IN_LIMIT_CLAUSE
	.comm	_LIMIT_RESCAN,4,2               ## @LIMIT_RESCAN
	.no_dead_strip	_recompute_limits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recompute_limits
_recompute_limits:                      ; @recompute_limits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldp	x0, x20, [x0, #48]
	cbz	x0, LBB0_4
; %bb.1:
	add	x2, sp, #12
	mov	x1, x20
	bl	_ExecEvalExprSwitchContext
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, #0
	b	LBB0_4
LBB0_3:
	bl	_DatumGetInt64
LBB0_4:
	str	x0, [x19, #40]
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_7
; %bb.5:
	add	x2, sp, #12
	mov	x1, x20
	bl	_ExecEvalExprSwitchContext
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_8
; %bb.6:
	mov	x0, #0
LBB0_7:
	mov	w8, #1
	b	LBB0_9
LBB0_8:
	bl	_DatumGetInt64
	mov	w8, #0
LBB0_9:
	stp	xzr, x0, [x19, #16]
	str	w8, [x19]
	str	xzr, [x19, #8]
Lloh0:
	adrp	x8, _LIMIT_RESCAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIMIT_RESCAN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_compute_tuples_needed
	mov	x20, x0
	mov	x0, x19
	bl	_outerPlanState
	mov	x1, x0
	mov	x0, x20
	bl	_ExecSetTupleBound
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE,4,2 ; @ERRCODE_INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE
	.comm	_ERRCODE_INVALID_ROW_COUNT_IN_LIMIT_CLAUSE,4,2 ; @ERRCODE_INVALID_ROW_COUNT_IN_LIMIT_CLAUSE
	.comm	_LIMIT_RESCAN,4,2               ; @LIMIT_RESCAN
	.no_dead_strip	_recompute_limits
.subsections_via_symbols
