	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function _book_maptype1_quantvals
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	__book_maptype1_quantvals
	.p2align	4, 0x90
__book_maptype1_quantvals:              ## @_book_maptype1_quantvals
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cvtsi2ssq	(%rdi), %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	8(%rdi), %xmm1
	callq	_pow
	movl	%eax, %edi
	callq	_floor
	movss	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movq	(%rbx), %rcx
	xorps	%xmm1, %xmm1
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%esi, %esi
	cmpq	%rcx, %rdx
	setle	%sil
	leaq	(%rax,%rsi,2), %rax
	decq	%rax
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	$1, %edx
	ucomiss	%xmm1, %xmm0
	movl	$1, %esi
	jbe	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rax), %rdi
	movl	$1, %esi
	movl	$1, %ebx
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	imulq	%rdi, %rsi
	xorps	%xmm2, %xmm2
	cvtsi2ss	%ebx, %xmm2
	imulq	%rax, %rdx
	incl	%ebx
	ucomiss	%xmm2, %xmm0
	ja	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rcx, %rdx
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rcx, %rsi
	jle	LBB0_6
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	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	__book_maptype1_quantvals       ; -- Begin function _book_maptype1_quantvals
	.p2align	2
__book_maptype1_quantvals:              ; @_book_maptype1_quantvals
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	scvtf	s0, x8
	ldr	s1, [x0, #8]
	fmov	s2, #1.00000000
	fdiv	s1, s2, s1
	bl	_pow
	bl	_floor
	ldr	s0, [x19, #8]
	ldr	x8, [x19]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	x10, x0, #1
	cmp	x9, x8
	csinc	x0, x10, x0, gt
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	fcmp	s0, #0.0
	b.le	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x0, #1
	mov	w12, #1
	mov	w10, #1
	mov	w9, #1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mul	x9, x9, x0
	mul	x10, x10, x11
	scvtf	s1, w12
	add	w12, w12, #1
	fcmp	s0, s1
	b.gt	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x9, x8
	b.le	LBB0_7
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #1
	mov	w10, #1
	cmp	x9, x8
	b.gt	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x10, x8
	b.le	LBB0_1
; %bb.8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
