	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bt_page_print_tuples
_bt_page_print_tuples:                  ## @bt_page_print_tuples
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_PageGetItemId
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ItemIdIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_PageGetItem
	movq	%rax, %r15
	movsbl	%r12b, %esi
	leaq	L_.str.1(%rip), %r12
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_psprintf
	movq	%rax, -96(%rbp)
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_ItemPointerGetBlockNumberNoCheck
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_ItemPointerGetOffsetNumberNoCheck
	movsbl	%r13b, %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_psprintf
	movq	%rax, -88(%rbp)
	movq	%r15, %rdi
	callq	_IndexTupleSize
	movsbl	%al, %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_psprintf
	movq	%rax, -80(%rbp)
	movq	%r15, %rdi
	callq	_IndexTupleHasNulls
	testq	%rax, %rax
	movl	$102, %r14d
	movl	$116, %ebx
	movl	$116, %esi
	cmovel	%r14d, %esi
	leaq	L_.str.3(%rip), %r12
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_psprintf
	movq	%rax, -72(%rbp)
	movq	%r15, %rdi
	callq	_IndexTupleHasVarwidths
	testq	%rax, %rax
	cmovel	%r14d, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_psprintf
	movq	%rax, -64(%rbp)
	movl	(%r15), %edi
	callq	_IndexInfoFindDataOffset
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_IndexTupleSize
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_IndexInfoFindDataOffset
	subl	%eax, %r12d
	leal	(%r12,%r12,2), %edi
	incl	%edi
	callq	_palloc0
	movq	%rax, -56(%rbp)
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	movslq	%r13d, %rax
	addq	%rax, %r15
	movsbl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	cmpl	$1, %r12d
	je	LBB0_6
## %bb.4:
	movl	%r12d, %r13d
	addq	$3, %rbx
	movl	$1, %r14d
	leaq	L_.str.4(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movb	$32, -1(%rbx)
	movsbl	(%r15,%r14), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_sprintf
	incq	%r14
	addq	$3, %rbx
	cmpq	%r14, %r13
	jne	LBB0_5
LBB0_6:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-96(%rbp), %rsi
	callq	_BuildTupleFromCStrings
	movl	%eax, %edi
	callq	_HeapTupleGetDatum
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid ItemId"

L_.str.1:                               ## @.str.1
	.asciz	"%d"

L_.str.2:                               ## @.str.2
	.asciz	"(%u,%u)"

L_.str.3:                               ## @.str.3
	.asciz	"%c"

L_.str.4:                               ## @.str.4
	.asciz	"%02x"

	.no_dead_strip	_bt_page_print_tuples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bt_page_print_tuples
_bt_page_print_tuples:                  ; @bt_page_print_tuples
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	mov	x0, x1
	mov	x1, x2
	bl	_PageGetItemId
	mov	x22, x0
	bl	_ItemIdIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	mov	x0, x20
	mov	x1, x22
	bl	_PageGetItem
	mov	x20, x0
Lloh8:
	adrp	x22, l_.str.1@PAGE
Lloh9:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_psprintf
	str	x0, [sp, #8]
	add	x21, x20, #4
	mov	x0, x21
	bl	_ItemPointerGetBlockNumberNoCheck
	mov	x23, x0
	mov	x0, x21
	bl	_ItemPointerGetOffsetNumberNoCheck
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	sxtb	w1, w23
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_psprintf
	str	x0, [sp, #16]
	mov	x0, x20
	bl	_IndexTupleSize
	sxtb	w1, w0
	mov	x0, x22
	bl	_psprintf
	str	x0, [sp, #24]
	mov	x0, x20
	bl	_IndexTupleHasNulls
	cmp	x0, #0
	mov	w22, #116
	mov	w23, #102
	csel	w1, w23, w22, eq
Lloh12:
	adrp	x21, l_.str.3@PAGE
Lloh13:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_psprintf
	str	x0, [sp, #32]
	mov	x0, x20
	bl	_IndexTupleHasVarwidths
	cmp	x0, #0
	csel	w1, w23, w22, eq
	mov	x0, x21
	bl	_psprintf
	str	x0, [sp, #40]
	ldr	w0, [x20]
	bl	_IndexInfoFindDataOffset
	mov	x22, x0
	mov	x0, x20
	bl	_IndexTupleSize
	mov	x21, x0
	ldr	w0, [x20]
	bl	_IndexInfoFindDataOffset
	sub	w23, w21, w0
	add	w8, w23, w23, lsl #1
	add	w0, w8, #1
	bl	_palloc0
	str	x0, [sp, #48]
	cmp	w23, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x21, x0
	sxtw	x22, w22
	ldrsb	w2, [x20, x22]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_sprintf
	cmp	w23, #1
	b.eq	LBB0_6
; %bb.4:
	add	x8, x22, x20
	add	x22, x8, #1
	sub	x23, x23, #1
	add	x20, x21, #3
	mov	w24, #32
Lloh16:
	adrp	x21, l_.str.4@PAGE
Lloh17:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sturb	w24, [x20, #-1]
	ldrsb	w2, [x22], #1
	mov	x0, x20
	mov	x1, x21
	bl	_sprintf
	add	x20, x20, #3
	subs	x23, x23, #1
	b.ne	LBB0_5
LBB0_6:
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_BuildTupleFromCStrings
	bl	_HeapTupleGetDatum
	ldr	x8, [sp, #56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid ItemId"

l_.str.1:                               ; @.str.1
	.asciz	"%d"

l_.str.2:                               ; @.str.2
	.asciz	"(%u,%u)"

l_.str.3:                               ; @.str.3
	.asciz	"%c"

l_.str.4:                               ; @.str.4
	.asciz	"%02x"

	.no_dead_strip	_bt_page_print_tuples
.subsections_via_symbols
