	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function table_block_relation_estimate_size
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_table_block_relation_estimate_size
	.p2align	4, 0x90
_table_block_relation_estimate_size:    ## @table_block_relation_estimate_size
	.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
	movsd	%xmm1, -72(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_RelationGetNumberOfBlocks
	movl	%eax, %ebx
	movq	(%r13), %rcx
	movl	8(%rcx), %r15d
	movl	24(%rcx), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sdq	16(%rcx), %xmm0
	cmpl	$9, %ebx
	jg	LBB0_7
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	cmpl	$0, (%rcx)
	je	LBB0_3
## %bb.5:
	movl	%ebx, (%r14)
	testl	%ebx, %ebx
	jne	LBB0_4
	jmp	LBB0_6
LBB0_7:
	movl	%ebx, (%r14)
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.8:
	testl	%eax, %eax
	jle	LBB0_4
## %bb.9:
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	divsd	%xmm1, %xmm0
	jmp	LBB0_10
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	xorpd	%xmm0, %xmm0
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_3:
	movl	$10, (%r14)
	movl	$10, %ebx
LBB0_4:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_get_rel_data_width
	addsd	-64(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	-72(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
LBB0_10:
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	mulsd	%xmm1, %xmm0
	roundsd	$4, %xmm0, %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movsd	%xmm0, (%rax)
	xorpd	%xmm0, %xmm0
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.12:
	testl	%ebx, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jle	LBB0_16
## %bb.13:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15d, %xmm0
	ucomisd	%xmm1, %xmm0
	jae	LBB0_14
## %bb.15:
	divsd	%xmm1, %xmm0
	jmp	LBB0_16
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_14:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
LBB0_16:
	movsd	%xmm0, (%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_table_block_relation_estimate_size ; -- Begin function table_block_relation_estimate_size
	.p2align	2
_table_block_relation_estimate_size:    ; @table_block_relation_estimate_size
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	fmov	d8, d1
	fmov	d9, d0
	mov	x19, x4
	mov	x20, x3
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
	bl	_RelationGetNumberOfBlocks
	mov	x21, x0
	ldr	x9, [x23]
	ldr	w8, [x9, #24]
	ldr	d0, [x9, #16]
	ldr	w25, [x9, #8]
	cmp	w0, #9
	b.gt	LBB0_4
; %bb.1:
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	w8, [x9]
	cbz	w8, LBB0_8
; %bb.3:
	str	w21, [x24]
	cbnz	w21, LBB0_9
	b	LBB0_7
LBB0_4:
	str	w21, [x24]
	cbz	w21, LBB0_7
; %bb.5:
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	scvtf	d0, d0
	scvtf	d1, w8
	fdiv	d0, d0, d1
	b	LBB0_10
LBB0_7:
	str	xzr, [x20]
	movi	d0, #0000000000000000
	b	LBB0_14
LBB0_8:
	mov	w21, #10
	str	w21, [x24]
LBB0_9:
	mov	x0, x23
	mov	x1, x22
	bl	_get_rel_data_width
	fadd	d0, d0, d9
	fdiv	d0, d8, d0
LBB0_10:
	scvtf	d1, w21
	fmul	d0, d0, d1
	frintx	d0, d0
	str	d0, [x20]
	movi	d0, #0000000000000000
	cbz	w25, LBB0_14
; %bb.11:
	cmp	w21, #1
	b.lt	LBB0_14
; %bb.12:
	scvtf	d2, w25
	fmov	d0, #1.00000000
	fcmp	d2, d1
	b.ge	LBB0_14
; %bb.13:
	fdiv	d0, d2, d1
LBB0_14:
	str	d0, [x19]
	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	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
