	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_toast_tuple_find_biggest_attribute ## -- Begin function toast_tuple_find_biggest_attribute
	.p2align	4, 0x90
_toast_tuple_find_biggest_attribute:    ## @toast_tuple_find_biggest_attribute
	.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, -60(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r12d
	movq	_TOAST_POINTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAXALIGN
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	movq	_TOASTCOL_INCOMPRESSIBLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.5:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_TOASTCOL_IGNORE@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orq	(%rax), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	shlq	$2, %r12
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_6
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rax
	movq	8(%rax,%r15,4), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %rax
	cmovgq	%rax, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmovgl	%r13d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%r13d
	addq	$4, %r15
	cmpq	%r15, %r12
	je	LBB0_16
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_TupleDescAttr
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, (%rax,%r15,4)
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r15), %edi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_VARATT_IS_EXTERNAL
	testq	%rax, %rax
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r15), %edi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_VARATT_IS_COMPRESSED
	testq	%rax, %rax
	jne	LBB0_15
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%r14), %eax
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$109, %al
	je	LBB0_14
	jmp	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$120, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$101, %al
	je	LBB0_14
	jmp	LBB0_15
LBB0_4:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_16:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOAST_POINTER_SIZE,4,2         ## @TOAST_POINTER_SIZE
	.comm	_TOASTCOL_IGNORE,8,3            ## @TOASTCOL_IGNORE
	.comm	_TOASTCOL_INCOMPRESSIBLE,8,3    ## @TOASTCOL_INCOMPRESSIBLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_toast_tuple_find_biggest_attribute ; -- Begin function toast_tuple_find_biggest_attribute
	.p2align	2
_toast_tuple_find_biggest_attribute:    ; @toast_tuple_find_biggest_attribute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #16]
	ldr	x22, [x8]
	ldr	w27, [x22]
Lloh0:
	adrp	x8, _TOAST_POINTER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOAST_POINTER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_MAXALIGN
Lloh3:
	adrp	x8, _TOASTCOL_INCOMPRESSIBLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOASTCOL_INCOMPRESSIBLE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w20, #0
	csel	x8, xzr, x8, eq
	cmp	w27, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x23, x0
	mov	x25, #0
Lloh6:
	adrp	x9, _TOASTCOL_IGNORE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TOASTCOL_IGNORE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	orr	x28, x8, x9
	mov	w24, #-1
	mov	w19, #8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, x19]
	cmp	x8, x23
	csel	x23, x8, x23, gt
	csel	w24, w25, w24, gt
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	add	x19, x19, #16
	cmp	x27, x25
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x25
	bl	_TupleDescAttr
	ldr	x8, [x21]
	add	x8, x8, x19
	ldur	x8, [x8, #-8]
	tst	x8, x28
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	ldr	x8, [x21, #8]
	ldr	w0, [x8, x25, lsl #2]
	bl	_DatumGetPointer
	bl	_VARATT_IS_EXTERNAL
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w20, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	w0, [x8, x25, lsl #2]
	bl	_DatumGetPointer
	bl	_VARATT_IS_COMPRESSED
	cbnz	x0, LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x26]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #109
	b.eq	LBB0_2
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #120
	b.eq	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #101
	b.eq	LBB0_2
	b	LBB0_3
LBB0_12:
	mov	w24, #-1
LBB0_13:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TOAST_POINTER_SIZE,4,2         ; @TOAST_POINTER_SIZE
	.comm	_TOASTCOL_IGNORE,8,3            ; @TOASTCOL_IGNORE
	.comm	_TOASTCOL_INCOMPRESSIBLE,8,3    ; @TOASTCOL_INCOMPRESSIBLE
.subsections_via_symbols
