	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qm_log10                       ## -- Begin function qm_log10
	.p2align	4, 0x90
_qm_log10:                              ## @qm_log10
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	%edi, %ebx
	callq	_qm_norm32
	movl	%eax, %ecx
	shll	%cl, %ebx
	addl	%eax, %r12d
	movq	_LOG2_LOG_TABLE_SIZE@GOTPCREL(%rip), %rax
	movb	(%rax), %r8b
	movb	$30, %dl
	subb	%r8b, %dl
	movl	%ebx, %esi
	movl	%edx, %ecx
	sarl	%cl, %esi
	movl	$-1, %eax
	movl	%r8d, %ecx
	shll	%cl, %eax
	movl	$-1, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	notl	%eax
	notl	%edi
	andl	%ebx, %edi
	movb	$14, %cl
	subb	%r8b, %cl
	sarl	%cl, %edi
	andl	%esi, %eax
	movslq	%edi, %rdi
	movq	_log_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movslq	(%rcx,%rax,4), %rbx
	movslq	4(%rcx,%rax,4), %rsi
	subq	%rbx, %rsi
	callq	_qm_mulu16
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_qm_add16
	shll	$15, %r12d
	movl	$983040, %esi                   ## imm = 0xF0000
	subl	%r12d, %esi
	movl	%eax, %edi
	callq	_qm_add32
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_qm_norm32
	movl	%eax, %r12d
	leal	-16(%r12), %esi
	movl	%ebx, %edi
	callq	_qm_shl32
	movq	_LOG10_2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_qm_muls16
	movl	%eax, (%r15)
	movl	%r12d, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG2_LOG_TABLE_SIZE,4,2        ## @LOG2_LOG_TABLE_SIZE
	.comm	_log_table,8,3                  ## @log_table
	.comm	_LOG10_2,8,3                    ## @LOG10_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qm_log10                       ; -- Begin function qm_log10
	.p2align	2
_qm_log10:                              ; @qm_log10
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_qm_norm32
	lsl	w8, w22, w0
	add	w22, w0, w21
Lloh0:
	adrp	x9, _LOG2_LOG_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LOG2_LOG_TABLE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	w10, #30
	sub	w10, w10, w9
	asr	w11, w8, w10
	mov	w12, #-1
	lsl	w13, w12, w9
	bic	w11, w11, w13
	lsl	w10, w12, w10
	bic	w8, w8, w10
	mov	w10, #14
	sub	w9, w10, w9
	asr	w8, w8, w9
Lloh3:
	adrp	x9, _log_table@GOTPAGE
Lloh4:
	ldr	x9, [x9, _log_table@GOTPAGEOFF]
	sxtw	x0, w8
Lloh5:
	ldr	x8, [x9]
	add	x8, x8, w11, sxtw #2
	ldpsw	x21, x8, [x8]
	sub	x1, x8, x21
	bl	_qm_mulu16
	mov	x1, x0
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_qm_add16
	mov	w8, #983040
	sub	w1, w8, w22, lsl #15
	bl	_qm_add32
	mov	x21, x0
	bl	_qm_norm32
	mov	x22, x0
	sub	w1, w0, #16
	mov	x0, x21
	bl	_qm_shl32
Lloh6:
	adrp	x8, _LOG10_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LOG10_2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_qm_muls16
	str	w0, [x20]
	str	w22, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG2_LOG_TABLE_SIZE,4,2        ; @LOG2_LOG_TABLE_SIZE
	.comm	_log_table,8,3                  ; @log_table
	.comm	_LOG10_2,8,3                    ; @LOG10_2
.subsections_via_symbols
