	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_trivial_stats
_compute_trivial_stats:                 ## @compute_trivial_stats
	.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, %r13d
	movq	%rsi, %r14
	movq	32(%rdi), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_2
## %bb.1:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testl	%r13d, %r13d
	jg	LBB0_3
	jmp	LBB0_21
LBB0_2:
	movl	(%rax), %eax
	cmpl	$-1, %eax
	sete	%cl
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	shrl	$31, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r13d, %r13d
	jle	LBB0_21
LBB0_3:
	movq	%rdi, %r15
	xorpd	%xmm2, %xmm2
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %edi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_VARSIZE_ANY
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	-64(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	addsd	%xmm0, %xmm2
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	%ebx, %r13d
	je	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm2, -64(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_vacuum_delay_point
	movq	%r15, %rdi
	movl	%ebx, %esi
	leaq	-68(%rbp), %rdx
	callq	*%r14
	cmpl	$0, -68(%rbp)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	%r12d
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movsd	-64(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %edi
	callq	_DatumGetCString
	movl	%eax, %edi
	callq	_strlen
	incq	%rax
	jmp	LBB0_12
LBB0_14:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	jle	LBB0_17
## %bb.15:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r12d, %xmm0
	cvtsi2sd	%r13d, %xmm1
	movl	$1, (%r15)
	divsd	%xmm1, %xmm0
	movsd	%xmm0, 8(%r15)
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_19
## %bb.16:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	divsd	%xmm0, %xmm2
	jmp	LBB0_20
LBB0_17:
	testl	%r12d, %r12d
	jle	LBB0_21
## %bb.18:
	movl	$1, (%r15)
	movabsq	$4607182418800017408, %rax      ## imm = 0x3FF0000000000000
	movq	%rax, 8(%r15)
	xorpd	%xmm2, %xmm2
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_20
LBB0_19:
	movq	32(%r15), %rax
	xorps	%xmm2, %xmm2
	cvtsi2sdl	(%rax), %xmm2
LBB0_20:
	movsd	%xmm2, 16(%r15)
	movq	$0, 24(%r15)
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_compute_trivial_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_trivial_stats
_compute_trivial_stats:                 ; @compute_trivial_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_2
; %bb.1:
	mov	w24, #0
	mov	w23, #0
	cmp	w20, #1
	b.ge	LBB0_3
	b	LBB0_19
LBB0_2:
	ldr	w8, [x8]
	cmn	w8, #1
	cset	w24, eq
	lsr	w23, w8, #31
	cmp	w20, #1
	b.lt	LBB0_19
LBB0_3:
	mov	w22, #0
	mov	w26, #0
	mov	w25, #0
	movi	d8, #0000000000000000
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	cmp	w20, w22
	b.eq	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_vacuum_delay_point
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x22
	blr	x21
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w25, w25, #1
	cbz	w24, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_DatumGetPointer
	bl	_VARSIZE_ANY
	scvtf	d0, x0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	w23, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_DatumGetCString
	bl	_strlen
	add	x8, x0, #1
	scvtf	d0, x8
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	fadd	d8, d8, d0
	b	LBB0_5
LBB0_12:
	cmp	w25, #1
	b.lt	LBB0_15
; %bb.13:
	mov	w8, #1
	str	w8, [x19]
	scvtf	d0, w26
	scvtf	d1, w20
	fdiv	d0, d0, d1
	str	d0, [x19, #8]
	cbz	w23, LBB0_17
; %bb.14:
	scvtf	d0, w25
	fdiv	d0, d8, d0
	b	LBB0_18
LBB0_15:
	cmp	w26, #1
	b.lt	LBB0_19
; %bb.16:
	mov	w8, #1
	str	w8, [x19]
	mov	x8, #4607182418800017408
	str	x8, [x19, #8]
	movi	d0, #0000000000000000
	tbnz	w23, #0, LBB0_18
LBB0_17:
	ldr	x8, [x19, #32]
	ldr	s0, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
LBB0_18:
	str	d0, [x19, #16]
	str	xzr, [x19, #24]
LBB0_19:
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_compute_trivial_stats
.subsections_via_symbols
