	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_quant_step_size
_determine_quant_step_size:             ## @determine_quant_step_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %r15
	movq	8(%rdi), %r14
	movq	16(%rdi), %r12
	movq	_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leal	(,%r13,4), %edx
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_11
## %bb.1:
	cmpl	$1, %r8d
	je	LBB0_8
## %bb.2:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	leaq	8(%r14), %rsi
	addq	$20, %r14
	movq	$-1, %rdi
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %r14
	movl	-8(%rsi), %eax
	orl	%eax, 4(%rbx,%rdi,4)
	movl	(%r12), %ecx
	incq	%rdi
	addq	$4, %rsi
	leaq	4(%r14), %rax
	cmpq	%rcx, %rdi
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$-1, %rsi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-8(%r14), %eax
	orl	%eax, 4(%rbx,%rsi,4)
	movl	(%r12), %eax
	incq	%rsi
	addq	$4, %r14
	cmpq	%rax, %rsi
	jb	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$2, %edx
	cmpl	%r9d, %edx
	jne	LBB0_3
LBB0_8:
	testb	$1, %r8b
	je	LBB0_11
## %bb.9:
	movq	$-1, %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r14,%rax,4), %ecx
	orl	%ecx, 4(%rbx,%rax,4)
	movl	(%r12), %ecx
	incq	%rax
	cmpq	%rcx, %rax
	jb	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %r14d
	movl	(%rbx,%r14,4), %edi
	callq	_number_trailing_zeroes
	movq	(%r15), %rcx
	movq	8(%r15), %rdx
	subq	(%rdx,%r14,8), %rax
	movq	%rax, (%rcx,%r14,8)
	incl	%r13d
	cmpl	(%r12), %r13d
	jbe	LBB0_11
## %bb.12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CHANNELS,4,2               ## @MAX_CHANNELS
	.no_dead_strip	_determine_quant_step_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_quant_step_size
_determine_quant_step_size:             ; @determine_quant_step_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldp	x22, x21, [x0, #16]
	ldr	x23, [x0, #8]
Lloh3:
	adrp	x8, _MAX_CHANNELS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_CHANNELS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	lsl	w2, w12, #2
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w9, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x10, #0
	add	x23, x23, #8
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w11, [x23, #-8]
	lsl	x12, x10, #2
	ldr	w13, [x19, x12]
	orr	w11, w13, w11
	str	w11, [x19, x12]
	add	x11, x10, #1
	ldr	w12, [x22]
	add	x23, x23, #4
	cmp	x10, x12
	mov	x10, x11
	b.lo	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w9, #1
	cmp	w9, w8
	b.ne	LBB0_2
LBB0_5:
	mov	w20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, w20, uxtw #2]
	mov	w23, w20
	bl	_number_trailing_zeroes
	lsl	x8, x23, #3
	ldp	x10, x9, [x21]
	ldr	x9, [x9, x8]
	sub	x9, x0, x9
	str	x9, [x10, x8]
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.ls	LBB0_6
; %bb.7:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CHANNELS,4,2               ; @MAX_CHANNELS
	.no_dead_strip	_determine_quant_step_size
.subsections_via_symbols
