	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function create_freq_table
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_6:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3ff8000000000000              ## double 1.5
LCPI0_2:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_3:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_4:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.space	4
	.space	4
LCPI0_5:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_create_freq_table:                     ## @create_freq_table
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movl	$8, %esi
	callq	_av_malloc_array
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movsd	-80(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_log
	testl	%r14d, %r14d
	jle	LBB0_13
## %bb.2:
	movapd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	movapd	%xmm2, -208(%rbp)               ## 16-byte Spill
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movapd	%xmm1, -64(%rbp)                ## 16-byte Spill
	callq	_log
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	subsd	%xmm1, %xmm0
	movl	%r14d, %r15d
	cmpl	$1, %r14d
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	jne	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	movapd	%xmm0, %xmm2
	jmp	LBB0_12
LBB0_4:
	movl	%r15d, %ebx
	andl	$-2, %ebx
	movddup	%xmm0, %xmm3                    ## xmm3 = xmm0[0,0]
	movapd	-208(%rbp), %xmm2               ## 16-byte Reload
	movddup	%xmm2, %xmm5                    ## xmm5 = xmm2[0,0]
	movddup	%xmm1, %xmm4                    ## xmm4 = xmm1[0,0]
	leaq	-2(%rbx), %rax
	movq	%rax, %r13
	shrq	%r13
	incq	%r13
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	andq	$-2, %r13
	movdqa	LCPI0_2(%rip), %xmm0            ## xmm0 = <0,1,u,u>
	xorl	%r14d, %r14d
	movapd	%xmm3, -96(%rbp)                ## 16-byte Spill
	movapd	%xmm4, -176(%rbp)               ## 16-byte Spill
	movapd	%xmm5, -160(%rbp)               ## 16-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
	cvtdq2pd	%xmm0, %xmm1
	movapd	LCPI0_3(%rip), %xmm0            ## xmm0 = [5.0E-1,5.0E-1]
	addpd	%xmm0, %xmm1
	mulpd	%xmm3, %xmm1
	mulpd	%xmm5, %xmm1
	addpd	%xmm4, %xmm1
	movapd	%xmm1, -112(%rbp)               ## 16-byte Spill
	movapd	%xmm1, %xmm0
	callq	_exp
	movapd	%xmm0, -128(%rbp)               ## 16-byte Spill
	movaps	-112(%rbp), %xmm0               ## 16-byte Reload
	movhlps	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	_exp
	movaps	-128(%rbp), %xmm1               ## 16-byte Reload
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, (%r12,%r14,8)
	movdqa	-80(%rbp), %xmm0                ## 16-byte Reload
	paddd	LCPI0_4(%rip), %xmm0
	cvtdq2pd	%xmm0, %xmm0
	addpd	LCPI0_3(%rip), %xmm0
	mulpd	-96(%rbp), %xmm0                ## 16-byte Folded Reload
	mulpd	-160(%rbp), %xmm0               ## 16-byte Folded Reload
	addpd	-176(%rbp), %xmm0               ## 16-byte Folded Reload
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	callq	_exp
	movapd	%xmm0, -128(%rbp)               ## 16-byte Spill
	movapd	-112(%rbp), %xmm0               ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	_exp
	movapd	-160(%rbp), %xmm5               ## 16-byte Reload
	movapd	-176(%rbp), %xmm4               ## 16-byte Reload
	movapd	-96(%rbp), %xmm3                ## 16-byte Reload
	movapd	-128(%rbp), %xmm1               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movdqa	-80(%rbp), %xmm0                ## 16-byte Reload
	movupd	%xmm1, 16(%r12,%r14,8)
	addq	$4, %r14
	paddd	LCPI0_5(%rip), %xmm0
	addq	$-2, %r13
	jne	LBB0_7
## %bb.8:
	cvtdq2pd	%xmm0, %xmm0
	addpd	LCPI0_3(%rip), %xmm0
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	movq	-136(%rbp), %r13                ## 8-byte Reload
	testb	$1, %r13b
	je	LBB0_11
LBB0_10:
	mulpd	%xmm0, %xmm3
	mulpd	%xmm5, %xmm3
	addpd	%xmm4, %xmm3
	movapd	%xmm3, -96(%rbp)                ## 16-byte Spill
	movapd	%xmm3, %xmm0
	callq	_exp
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movapd	-96(%rbp), %xmm0                ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	_exp
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	movapd	-80(%rbp), %xmm3                ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	movupd	%xmm3, (%r12,%r14,8)
LBB0_11:
	cmpq	%r15, %rbx
	movapd	-192(%rbp), %xmm2               ## 16-byte Reload
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	addsd	LCPI0_6(%rip), %xmm0
	mulsd	%xmm2, %xmm0
	mulsd	-208(%rbp), %xmm0               ## 16-byte Folded Reload
	addsd	%xmm1, %xmm0
	callq	_exp
	movapd	-192(%rbp), %xmm2               ## 16-byte Reload
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	movsd	%xmm0, (%r12,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_12
LBB0_13:
	movq	%r12, %rax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movapd	LCPI0_1(%rip), %xmm0            ## xmm0 = [5.0E-1,1.5E+0]
	xorl	%r14d, %r14d
	testb	$1, %r13b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_create_freq_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function create_freq_table
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_create_freq_table:                     ; @create_freq_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #128]              ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x20, x0
	fmov	d8, d1
	fmov	d9, d0
	mov	w1, #8
	bl	_av_malloc_array
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	fmov	d0, d9
	bl	_log
                                        ; kill: def $d0 killed $d0 def $q0
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.2:
	scvtf	d2, w20
	str	q0, [sp, #64]                   ; 16-byte Folded Spill
	fmov	d1, #1.00000000
	fdiv	d0, d1, d2
	str	q0, [sp, #48]                   ; 16-byte Folded Spill
	fmov	d0, d8
	bl	_log
	ldr	q1, [sp, #64]                   ; 16-byte Folded Reload
	fsub	d2, d0, d1
	mov	w21, w20
	cmp	w20, #1
	stur	q2, [x29, #-80]                 ; 16-byte Folded Spill
	b.ne	LBB0_4
; %bb.3:
	mov	x20, #0
	b	LBB0_7
LBB0_4:
	and	x20, x21, #0xfffffffe
	ldr	q0, [sp, #48]                   ; 16-byte Folded Reload
	dup.2d	v3, v0[0]
	dup.2d	v0, v1[0]
	stp	q0, q3, [sp, #16]               ; 32-byte Folded Spill
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	fmov.2d	v0, #0.50000000
	str	q0, [sp]                        ; 16-byte Folded Spill
	movi.2s	v9, #2
	mov	x22, x20
	mov	x23, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sshll.2d	v0, v8, #0
	scvtf.2d	v0, v0
	ldr	q1, [sp]                        ; 16-byte Folded Reload
	fadd.2d	v0, v0, v1
	fmul.2d	v0, v0, v2[0]
	ldp	q2, q1, [sp, #16]               ; 32-byte Folded Reload
	fmla.2d	v2, v1, v0
	str	q2, [sp, #80]                   ; 16-byte Folded Spill
	mov	d0, v2[1]
	bl	_exp
	str	q0, [sp, #96]                   ; 16-byte Folded Spill
	ldr	q0, [sp, #80]                   ; 16-byte Folded Reload
                                        ; kill: def $d0 killed $d0 killed $q0
	bl	_exp
	ldur	q2, [x29, #-80]                 ; 16-byte Folded Reload
                                        ; kill: def $d0 killed $d0 def $q0
	ldr	q1, [sp, #96]                   ; 16-byte Folded Reload
	mov.d	v0[1], v1[0]
	str	q0, [x23], #16
	add.2s	v8, v8, v9
	subs	x22, x22, #2
	b.ne	LBB0_5
; %bb.6:
	cmp	x20, x21
	ldr	q1, [sp, #64]                   ; 16-byte Folded Reload
	b.eq	LBB0_9
LBB0_7:
	fmov	d8, #0.50000000
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w20
	fadd	d0, d0, d8
	fmul	d0, d2, d0
	ldr	q2, [sp, #48]                   ; 16-byte Folded Reload
	fmadd	d0, d0, d2, d1
	bl	_exp
	ldur	q2, [x29, #-80]                 ; 16-byte Folded Reload
	ldr	q1, [sp, #64]                   ; 16-byte Folded Reload
	str	d0, [x19, x20, lsl #3]
	add	x20, x20, #1
	cmp	x21, x20
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #128]              ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_create_freq_table
.subsections_via_symbols
