	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function build_pgstattuple_type
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_build_pgstattuple_type:                ## @build_pgstattuple_type
	.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	$2968, %rsp                     ## imm = 0xB98
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-2964(%rbp), %rdx
	movl	%esi, %edi
	xorl	%esi, %esi
	callq	_get_call_result_type
	movq	_TYPEFUNC_COMPOSITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movl	-2964(%rbp), %edi
	callq	_TupleDescGetAttInMetadata
	movq	%rax, -2984(%rbp)               ## 8-byte Spill
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm2, %xmm2
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_3
	jnp	LBB0_4
LBB0_3:
	movupd	8(%rbx), %xmm2
	mulpd	LCPI0_0(%rip), %xmm2
	movddup	%xmm0, %xmm1                    ## xmm1 = xmm0[0,0]
	divpd	%xmm1, %xmm2
	movsd	24(%rbx), %xmm1                 ## xmm1 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm1
	divsd	%xmm0, %xmm1
LBB0_4:
	movapd	%xmm2, -3008(%rbp)              ## 16-byte Spill
	movsd	%xmm1, -2976(%rbp)              ## 8-byte Spill
	leaq	-2960(%rbp), %rdi
	movq	%rdi, -128(%rbp)
	leaq	-2646(%rbp), %r14
	movq	%r14, -120(%rbp)
	leaq	-2332(%rbp), %r12
	movq	%r12, -112(%rbp)
	leaq	-2018(%rbp), %r13
	movq	%r13, -104(%rbp)
	leaq	-1704(%rbp), %rax
	movq	%rax, -96(%rbp)
	leaq	-1390(%rbp), %rax
	movq	%rax, -88(%rbp)
	leaq	-1076(%rbp), %rax
	movq	%rax, -80(%rbp)
	leaq	-762(%rbp), %rax
	movq	%rax, -72(%rbp)
	leaq	-448(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	_INT64_FORMAT@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movl	$314, %esi                      ## imm = 0x13A
	callq	_snprintf
	movq	(%r15), %rdx
	movsd	32(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movq	%r14, %rdi
	movl	$314, %esi                      ## imm = 0x13A
	callq	_snprintf
	movq	(%r15), %rdx
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	movq	%r12, %rdi
	movl	$314, %esi                      ## imm = 0x13A
	callq	_snprintf
	leaq	L_.str.1(%rip), %r12
	movq	%r13, %rdi
	movl	$314, %esi                      ## imm = 0x13A
	movq	%r12, %rdx
	movaps	-3008(%rbp), %xmm0              ## 16-byte Reload
	callq	_snprintf
	movq	(%r15), %rdx
	movsd	40(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	leaq	-1704(%rbp), %rdi
	movl	$314, %esi                      ## imm = 0x13A
	callq	_snprintf
	movq	(%r15), %rdx
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	leaq	-1390(%rbp), %rdi
	movl	$314, %esi                      ## imm = 0x13A
	callq	_snprintf
	movaps	-3008(%rbp), %xmm0              ## 16-byte Reload
	movhlps	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	leaq	-1076(%rbp), %rdi
	movl	$314, %esi                      ## imm = 0x13A
	movq	%r12, %rdx
	callq	_snprintf
	movq	(%r15), %rdx
	movsd	24(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	leaq	-762(%rbp), %rdi
	movl	$314, %esi                      ## imm = 0x13A
	callq	_snprintf
	leaq	-448(%rbp), %rdi
	movl	$314, %esi                      ## imm = 0x13A
	movq	%r12, %rdx
	movsd	-2976(%rbp), %xmm0              ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_snprintf
	leaq	-128(%rbp), %rsi
	movq	-2984(%rbp), %rdi               ## 8-byte Reload
	callq	_BuildTupleFromCStrings
	movl	%eax, %edi
	callq	_HeapTupleGetDatum
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$2968, %rsp                     ## imm = 0xB98
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPEFUNC_COMPOSITE,8,3         ## @TYPEFUNC_COMPOSITE
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"return type must be a row type"

	.comm	_INT64_FORMAT,8,3               ## @INT64_FORMAT
L_.str.1:                               ## @.str.1
	.asciz	"%.2f"

	.comm	_NCHARS,4,2                     ## @NCHARS
	.comm	_NCOLUMNS,4,2                   ## @NCOLUMNS
	.no_dead_strip	_build_pgstattuple_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_pgstattuple_type
_build_pgstattuple_type:                ; @build_pgstattuple_type
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #2960
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	add	x2, sp, #40
	mov	x0, x1
	mov	x1, #0
	bl	_get_call_result_type
Lloh3:
	adrp	x8, _TYPEFUNC_COMPOSITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPEFUNC_COMPOSITE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	ldr	w0, [sp, #40]
	bl	_TupleDescGetAttInMetadata
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	d0, [x19]
	fcmp	d0, #0.0
	b.ne	LBB0_4
; %bb.3:
	movi.2d	v1, #0000000000000000
	str	q1, [sp, #16]                   ; 16-byte Folded Spill
	movi	d8, #0000000000000000
	b	LBB0_5
LBB0_4:
	ldur	q1, [x19, #8]
	mov	x8, #4636737291354636288
	dup.2d	v2, x8
	dup.2d	v3, v0[0]
	fmul.2d	v1, v1, v2
	fdiv.2d	v1, v1, v3
	str	q1, [sp, #16]                   ; 16-byte Folded Spill
	ldr	d1, [x19, #24]
	fmov	d2, x8
	fmul	d1, d1, d2
	fdiv	d8, d1, d0
LBB0_5:
	add	x8, sp, #46
	add	x24, x8, #314
	stp	x8, x24, [x29, #-184]
	add	x25, x8, #628
	add	x26, x8, #942
	stp	x25, x26, [x29, #-168]
	add	x27, x8, #1256
	add	x28, x8, #1570
	stp	x27, x28, [x29, #-152]
	add	x23, x8, #1884
	add	x22, x8, #2198
	stp	x23, x22, [x29, #-136]
	add	x21, x8, #2512
	stur	x21, [x29, #-120]
Lloh11:
	adrp	x20, _INT64_FORMAT@GOTPAGE
Lloh12:
	ldr	x20, [x20, _INT64_FORMAT@GOTPAGEOFF]
	ldr	x2, [x20]
	add	x0, sp, #46
	mov	w1, #314
                                        ; kill: def $d0 killed $d0 killed $q0
	bl	_snprintf
	ldr	x2, [x20]
	ldr	d0, [x19, #32]
	mov	x0, x24
	mov	w1, #314
	bl	_snprintf
	ldr	x2, [x20]
	ldr	d0, [x19, #8]
	mov	x0, x25
	mov	w1, #314
	bl	_snprintf
Lloh13:
	adrp	x24, l_.str.1@PAGE
Lloh14:
	add	x24, x24, l_.str.1@PAGEOFF
	mov	x0, x26
	mov	w1, #314
	mov	x2, x24
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
                                        ; kill: def $d0 killed $d0 killed $q0
	bl	_snprintf
	ldr	x2, [x20]
	ldr	d0, [x19, #40]
	mov	x0, x27
	mov	w1, #314
	bl	_snprintf
	ldr	x2, [x20]
	ldr	d0, [x19, #16]
	mov	x0, x28
	mov	w1, #314
	bl	_snprintf
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	mov	d0, v0[1]
	mov	x0, x23
	mov	w1, #314
	mov	x2, x24
	bl	_snprintf
	ldr	x2, [x20]
	ldr	d0, [x19, #24]
	mov	x0, x22
	mov	w1, #314
	bl	_snprintf
	mov	x0, x21
	mov	w1, #314
	mov	x2, x24
	fmov	d0, d8
	bl	_snprintf
	sub	x1, x29, #184
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_BuildTupleFromCStrings
	bl	_HeapTupleGetDatum
	ldur	x8, [x29, #-112]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	add	sp, sp, #2960
	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
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPEFUNC_COMPOSITE,8,3         ; @TYPEFUNC_COMPOSITE
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"return type must be a row type"

	.comm	_INT64_FORMAT,8,3               ; @INT64_FORMAT
l_.str.1:                               ; @.str.1
	.asciz	"%.2f"

	.comm	_NCHARS,4,2                     ; @NCHARS
	.comm	_NCOLUMNS,4,2                   ; @NCOLUMNS
	.no_dead_strip	_build_pgstattuple_type
.subsections_via_symbols
