	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printtup_internal_20
_printtup_internal_20:                  ## @printtup_internal_20
	.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
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rsi
	leaq	24(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %edx
	cmpq	%rsi, 16(%r14)
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	cmpl	%edx, (%r14)
	je	LBB0_3
LBB0_2:
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_printtup_prepare_info
LBB0_3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_slot_getallattrs
	movl	4(%r14), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$66, %esi
	callq	_pq_beginmessage_reuse
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testl	%edi, %edi
	jle	LBB0_17
## %bb.4:
	movl	$128, %eax
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	orl	%ecx, %esi
	cmpl	$1, %eax
	jbe	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	sarl	%eax
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %rdi
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rcx
	cmpq	$0, (%rcx,%rbx,8)
	movl	%eax, %ecx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_pq_sendint8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$128, %eax
	jmp	LBB0_10
LBB0_11:
	cmpl	$128, %eax
	je	LBB0_13
## %bb.12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_pq_sendint8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_13:
	movl	$4, %r12d
	xorl	%r15d, %r15d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r15
	addq	$8, %r12
	cmpq	%r15, %rdi
	je	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rax
	cmpq	$0, (%rax,%r15,8)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%rdx), %rax
	movl	(%rax,%r15,4), %r13d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r14
	xorl	%edi, %edi
	cmpl	$1, (%r14,%r15,8)
	sete	%dil
	callq	_Assert
	addq	%r12, %r14
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	callq	_SendFunctionCall
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_VARSIZE
	movq	_VARHDRSZ@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_pq_sendint32
	movq	%rbx, %rdi
	callq	_VARDATA
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_VARSIZE
	movq	_VARHDRSZ@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_pq_sendbytes
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_17:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_pq_endmessage_reuse
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movl	4(%r14), %edi
	callq	_MemoryContextReset
	movl	$1, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VARHDRSZ,8,3                   ## @VARHDRSZ
	.no_dead_strip	_printtup_internal_20
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printtup_internal_20
_printtup_internal_20:                  ; @printtup_internal_20
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x1, [x0, #16]
	add	x20, x19, #24
	ldr	w22, [x1]
	ldr	x8, [x19, #16]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, w22
	b.eq	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x2, x22
	bl	_printtup_prepare_info
LBB0_3:
	mov	x0, x21
	bl	_slot_getallattrs
	ldr	w0, [x19, #4]
	bl	_MemoryContextSwitchTo
	mov	x23, x0
	mov	x0, x20
	mov	w1, #66
	bl	_pq_beginmessage_reuse
	cmp	w22, #1
	b.lt	LBB0_15
; %bb.4:
	mov	x24, #0
	mov	w1, #0
	lsl	x25, x22, #3
	mov	w8, #128
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	asr	w8, w8, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #8
	cmp	x25, x24
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x9, [x9, x24]
	cmp	x9, #0
	csel	w9, w8, wzr, eq
	orr	w1, w9, w1
	cmp	w8, #1
	b.hi	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_pq_sendint8
	mov	w1, #0
	mov	w8, #128
	b	LBB0_6
LBB0_9:
	cmp	w8, #128
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_pq_sendint8
LBB0_11:
	mov	x26, #0
	mov	x27, #0
Lloh0:
	adrp	x28, _VARHDRSZ@GOTPAGE
Lloh1:
	ldr	x28, [x28, _VARHDRSZ@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x27, x27, #1
	add	x26, x26, #8
	cmp	x22, x27
	b.eq	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, x26]
	cbnz	x8, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x21, #8]
	ldr	w24, [x8, x27, lsl #2]
	ldr	x8, [x19, #8]
	add	x25, x8, x26
	ldr	w8, [x25], #4
	cmp	w8, #1
	cset	w0, eq
	bl	_Assert
	mov	x0, x25
	mov	x1, x24
	bl	_SendFunctionCall
	mov	x24, x0
	bl	_VARSIZE
	ldr	x8, [x28]
	sub	x1, x0, x8
	mov	x0, x20
	bl	_pq_sendint32
	mov	x0, x24
	bl	_VARDATA
	mov	x25, x0
	mov	x0, x24
	bl	_VARSIZE
	ldr	x8, [x28]
	sub	x2, x0, x8
	mov	x0, x20
	mov	x1, x25
	bl	_pq_sendbytes
	b	LBB0_12
LBB0_15:
	mov	x0, x20
	bl	_pq_endmessage_reuse
	mov	x0, x23
	bl	_MemoryContextSwitchTo
	ldr	w0, [x19, #4]
	bl	_MemoryContextReset
	mov	w0, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VARHDRSZ,8,3                   ; @VARHDRSZ
	.no_dead_strip	_printtup_internal_20
.subsections_via_symbols
