	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function read8_fft_bin
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_1:
	.quad	0x4018000000000000              ## double 6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_read8_fft_bin:                         ## @read8_fft_bin
	.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
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	24(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rsi
	movslq	(%rcx), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %rdi
	movq	8(%rcx), %rcx
	movslq	%edx, %rbx
	imulq	%rbx, %rax
	addq	(%rsi), %rax
	movslq	(%rdi), %r15
	movq	(%rcx), %r14
	movl	(%r13), %ecx
	cmpl	$128, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$129, %ecx
	jne	LBB0_4
## %bb.2:
	movslq	%r12d, %r12
	movq	_UINT8_MAX@GOTPCREL(%rip), %rcx
	cvtsi2sdq	(%rcx), %xmm0
	movsd	(%rax,%r12,8), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_5
LBB0_3:
	movq	_UINT8_MAX@GOTPCREL(%rip), %rcx
	cvtsi2sdq	(%rcx), %xmm0
	movslq	%r12d, %r12
	movsd	(%rax,%r12,8), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	mulsd	LCPI0_1(%rip), %xmm1
	cvttsd2si	%xmm1, %edi
	callq	_ff_exp10
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_5
LBB0_4:
	xorl	%edi, %edi
	callq	_av_assert0
	movslq	%r12d, %r12
                                        ## implicit-def: $xmm0
                                        ## kill: killed $xmm0
LBB0_5:
	imulq	%rbx, %r15
	addq	%r15, %r14
	movsd	(%r14,%r12,8), %xmm0            ## xmm0 = mem[0],zero
	movq	_UINT8_MAX@GOTPCREL(%rip), %rax
	xorps	%xmm1, %xmm1
	cvtsi2sdq	(%rax), %xmm1
	divsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	movq	_M_PI@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	callq	_cos
	mulss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	8(%r13), %rax
	movslq	-52(%rbp), %r14                 ## 4-byte Folded Reload
	movq	(%rax,%r14,8), %rax
	movslq	-56(%rbp), %rbx                 ## 4-byte Folded Reload
	movss	%xmm0, (%rax,%rbx,8)
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_sin
	mulss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	8(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movss	%xmm0, 4(%rax,%rbx,8)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT8_MAX,8,3                  ## @UINT8_MAX
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_read8_fft_bin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read8_fft_bin
_read8_fft_bin:                         ; @read8_fft_bin
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldp	x9, x8, [x0, #16]
	ldp	x10, x8, [x8]
	ldrsw	x10, [x10]
	ldp	x11, x9, [x9]
	ldrsw	x24, [x11]
	ldr	x8, [x8]
	mov	x11, x2
	sxtw	x11, w11
	madd	x8, x10, x11, x8
	ldr	x26, [x9]
	ldr	w9, [x0]
Lloh0:
	adrp	x25, _UINT8_MAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _UINT8_MAX@GOTPAGEOFF]
	cmp	w9, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #129
	b.ne	LBB0_4
; %bb.2:
	sxtw	x27, w23
	ldr	d0, [x8, w23, sxtw #3]
	ldr	d1, [x25]
	scvtf	d1, d1
	fdiv	d0, d0, d1
	fcvt	s8, d0
	b	LBB0_5
LBB0_3:
	mov	x9, x23
	sxtw	x27, w9
	ldr	d0, [x8, w23, sxtw #3]
	ldr	d1, [x25]
	scvtf	d1, d1
	fdiv	d0, d0, d1
	fmov	d1, #-1.00000000
	fadd	d0, d0, d1
	fmov	d1, #6.00000000
	fmul	d0, d0, d1
	fcvtzs	w0, d0
	bl	_ff_exp10
	fmov	s8, s0
	b	LBB0_5
LBB0_4:
	mov	w0, #0
	bl	_av_assert0
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x27, w23
                                        ; implicit-def: $s8
LBB0_5:
	sxtw	x8, w22
	madd	x8, x24, x8, x26
	ldr	d0, [x8, x27, lsl #3]
	ldr	d1, [x25]
	scvtf	d1, d1
	fdiv	d0, d0, d1
	fmov	d1, #-1.00000000
	fmov	d2, #2.00000000
	fmadd	d0, d0, d2, d1
Lloh2:
	adrp	x8, _M_PI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh4:
	ldr	d1, [x8]
	fmul	d0, d1, d0
	fcvt	s9, d0
	fmov	s0, s9
	bl	_cos
	fmul	s0, s8, s0
	ldr	x8, [x19, #8]
	sbfiz	x21, x21, #3, #32
	ldr	x8, [x8, x21]
	sbfiz	x20, x20, #3, #32
	str	s0, [x8, x20]
	fmov	s0, s9
	bl	_sin
	fmul	s0, s8, s0
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x21]
	add	x8, x8, x20
	str	s0, [x8, #4]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT8_MAX,8,3                  ; @UINT8_MAX
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_read8_fft_bin
.subsections_via_symbols
