	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function celt_log2tan
_celt_log2tan:                          ## @celt_log2tan
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	%esi, %edi
	callq	_opus_ilog
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_opus_ilog
	movl	%eax, %r13d
	movb	$15, %al
	movb	$15, %cl
	subb	%r12b, %cl
	shll	%cl, %r14d
	subb	%r13b, %al
	movl	%eax, %ecx
	shll	%cl, %r15d
	subl	%r12d, %r13d
	shll	$11, %r13d
	movl	%r15d, %edi
	movl	$-2597, %esi                    ## imm = 0xF5DB
	callq	_ROUND_MUL16
                                        ## kill: def $eax killed $eax def $rax
	leal	7932(%rax), %esi
	movl	%r15d, %edi
	callq	_ROUND_MUL16
	movl	%eax, %ebx
	addl	%r13d, %ebx
	movl	%r14d, %edi
	movl	$-2597, %esi                    ## imm = 0xF5DB
	callq	_ROUND_MUL16
                                        ## kill: def $eax killed $eax def $rax
	leal	7932(%rax), %esi
	movl	%r14d, %edi
	callq	_ROUND_MUL16
	subl	%eax, %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_celt_log2tan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function celt_log2tan
_celt_log2tan:                          ; @celt_log2tan
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_opus_ilog
	mov	x21, x0
	mov	x0, x20
	bl	_opus_ilog
	mov	w8, #15
	sub	w9, w8, w21
	lsl	w19, w19, w9
	sub	w8, w8, w0
	lsl	w20, w20, w8
	sub	w21, w0, w21
	mov	x0, x20
	mov	w1, #-2597
	bl	_ROUND_MUL16
	mov	w22, #7932
	add	w1, w0, w22
	mov	x0, x20
	bl	_ROUND_MUL16
	add	w20, w0, w21, lsl #11
	mov	x0, x19
	mov	w1, #-2597
	bl	_ROUND_MUL16
	add	w1, w0, w22
	mov	x0, x19
	bl	_ROUND_MUL16
	sub	w0, w20, w0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_celt_log2tan
.subsections_via_symbols
