	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heapam_relation_needs_toast_table
_heapam_relation_needs_toast_table:     ## @heapam_relation_needs_toast_table
	.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	(%rdi), %r14
	cmpl	$0, (%r14)
	jle	LBB0_11
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_4
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	12(%r12), %esi
	movl	16(%r12), %edi
	callq	_type_maximum_size
	movq	%rax, %r15
	testq	%rax, %rax
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	$1, %ecx
	cmovsl	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$0, %eax
	cmovleq	%rax, %r15
	addq	%r13, %r15
	cmpb	$112, 8(%r12)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmovnel	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movl	(%r14), %edi
	cmpl	%edi, %ebx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	cmpq	$0, 24(%rax)
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movl	20(%rax), %esi
	movq	%r15, %rdi
	callq	_att_align_nominal
	movq	%rax, %r13
	movq	(%r12), %r15
	testq	%r15, %r15
	jle	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%r13, %r15
	jmp	LBB0_3
LBB0_7:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.8:
	movl	$1, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.9:
	movq	_SizeofHeapTupleHeader@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	callq	_BITMAPLEN
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_MAXALIGN
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_MAXALIGN
	movq	%rax, %rcx
	addq	%rbx, %rcx
	movq	_TOAST_TUPLE_THRESHOLD@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setg	%al
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SizeofHeapTupleHeader,8,3      ## @SizeofHeapTupleHeader
	.comm	_TOAST_TUPLE_THRESHOLD,8,3      ## @TOAST_TUPLE_THRESHOLD
	.no_dead_strip	_heapam_relation_needs_toast_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heapam_relation_needs_toast_table
_heapam_relation_needs_toast_table:     ; @heapam_relation_needs_toast_table
	.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
	ldr	x19, [x0]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x21, #0
	mov	w20, #0
	mov	w23, #0
	mov	w24, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w0, [x22, #12]
	bl	_type_maximum_size
	cmp	x0, #0
	csel	x8, x0, xzr, gt
	csinc	w23, w23, wzr, ge
	add	x21, x8, x21
	ldrb	w8, [x22, #8]
	cmp	w8, #112
	csinc	w24, w24, wzr, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, #1
	ldr	w0, [x19]
	cmp	w20, w0
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_TupleDescAttr
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	ldr	w1, [x0, #20]
	mov	x0, x21
	bl	_att_align_nominal
	mov	x21, x0
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x8, x21
	b	LBB0_3
LBB0_7:
	cbz	w24, LBB0_10
; %bb.8:
	cbz	w23, LBB0_11
; %bb.9:
	mov	w0, #1
	b	LBB0_12
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
Lloh0:
	adrp	x8, _SizeofHeapTupleHeader@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SizeofHeapTupleHeader@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	bl	_BITMAPLEN
	add	x0, x0, x19
	bl	_MAXALIGN
	mov	x19, x0
	mov	x0, x21
	bl	_MAXALIGN
Lloh3:
	adrp	x8, _TOAST_TUPLE_THRESHOLD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOAST_TUPLE_THRESHOLD@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x9, x0, x19
	cmp	x9, x8
	cset	w0, gt
LBB0_12:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SizeofHeapTupleHeader,8,3      ; @SizeofHeapTupleHeader
	.comm	_TOAST_TUPLE_THRESHOLD,8,3      ; @TOAST_TUPLE_THRESHOLD
	.no_dead_strip	_heapam_relation_needs_toast_table
.subsections_via_symbols
