	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function main
LCPI0_0:
	.long	0x3ecccccd                      ## float 0.400000006
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fe8000000000000              ## double 0.75
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_FF_FILTER_TYPE_BUTTERWORTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FF_FILTER_MODE_LOWPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FILT_ORDER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorpd	%xmm1, %xmm1
	xorps	%xmm2, %xmm2
	xorl	%edi, %edi
	callq	_ff_iir_filter_init_coeffs
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -96(%rbp)
	movl	(%rbx), %edi
	callq	_ff_iir_filter_init_state
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -88(%rbp)
	movq	%r15, %rbx
	movl	(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	xorl	%r15d, %r15d
	movq	_M_PI@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_INT16_MAX@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm0
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movsd	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_2(%rip), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r15d, %xmm1
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%edx, %xmm1
	divsd	%xmm1, %xmm0
	callq	_sin
	mulsd	-80(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_lrint
	movl	%eax, (%r12,%r15,4)
	incq	%r15
	movslq	(%rbx), %rdx
	cmpq	%rdx, %r15
	jl	LBB0_2
LBB0_3:
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r12, %rcx
	movl	$1, %r8d
	movq	%r14, %r9
	pushq	$1
	callq	_ff_iir_filter
	addq	$16, %rsp
	cmpl	$0, (%rbx)
	jle	LBB0_6
## %bb.4:
	movq	%rbx, %r13
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %esi
	movl	(%r14,%rbx,4), %edx
	movq	%r15, %rdi
	callq	_printf
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	leaq	-96(%rbp), %rdi
	callq	_ff_iir_filter_free_coeffsp
	leaq	-88(%rbp), %rdi
	callq	_ff_iir_filter_free_statep
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE,4,2                       ## @SIZE
	.comm	_FF_FILTER_TYPE_BUTTERWORTH,4,2 ## @FF_FILTER_TYPE_BUTTERWORTH
	.comm	_FF_FILTER_MODE_LOWPASS,4,2     ## @FF_FILTER_MODE_LOWPASS
	.comm	_FILT_ORDER,4,2                 ## @FILT_ORDER
	.comm	_INT16_MAX,8,3                  ## @INT16_MAX
	.comm	_M_PI,8,3                       ## @M_PI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%6d %6d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-128]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	sub	sp, sp, #32
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-120]
Lloh3:
	adrp	x24, _SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	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
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh9:
	adrp	x8, _FF_FILTER_TYPE_BUTTERWORTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FF_FILTER_TYPE_BUTTERWORTH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _FF_FILTER_MODE_LOWPASS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FF_FILTER_MODE_LOWPASS@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x22, _FILT_ORDER@GOTPAGE
Lloh16:
	ldr	x22, [x22, _FILT_ORDER@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	w8, #52429
	movk	w8, #16076, lsl #16
	fmov	s0, w8
	movi	d1, #0000000000000000
	movi	d2, #0000000000000000
	mov	x0, #0
	bl	_ff_iir_filter_init_coeffs
	mov	x21, x0
	stur	x0, [x29, #-128]
	ldr	w0, [x22]
	bl	_ff_iir_filter_init_state
	mov	x22, x0
	stur	x0, [x29, #-136]
	ldr	w2, [x24]
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x25, #0
Lloh17:
	adrp	x26, _INT16_MAX@GOTPAGE
Lloh18:
	ldr	x26, [x26, _INT16_MAX@GOTPAGEOFF]
	fmov	d8, #0.75000000
Lloh19:
	adrp	x27, _M_PI@GOTPAGE
Lloh20:
	ldr	x27, [x27, _M_PI@GOTPAGEOFF]
	fmov	d9, #0.50000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x26]
	fmul	d10, d0, d8
	ldr	d0, [x27]
	scvtf	d1, w25
	fmul	d0, d0, d9
	fmul	d0, d0, d1
	fmul	d0, d0, d1
	scvtf	d1, w2
	fdiv	d0, d0, d1
	bl	_sin
	fmul	d0, d10, d0
	bl	_lrint
	str	w0, [x19, x25, lsl #2]
	add	x25, x25, #1
	ldrsw	x2, [x24]
	cmp	x25, x2
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x21
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x19
	mov	w4, #1
	mov	x5, x20
	mov	w6, #1
	bl	_ff_iir_filter
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
Lloh21:
	adrp	x21, l_.str@PAGE
Lloh22:
	add	x21, x21, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x22, #2
	ldr	w1, [x19, x8]
	ldr	w2, [x20, x8]
	mov	x0, x21
	bl	_printf
	add	x22, x22, #1
	ldrsw	x8, [x24]
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
	sub	x0, x29, #128
	bl	_ff_iir_filter_free_coeffsp
	sub	x0, x29, #136
	bl	_ff_iir_filter_free_statep
	mov	sp, x23
	ldur	x8, [x29, #-120]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	sub	sp, x29, #112
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #128            ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE,4,2                       ; @SIZE
	.comm	_FF_FILTER_TYPE_BUTTERWORTH,4,2 ; @FF_FILTER_TYPE_BUTTERWORTH
	.comm	_FF_FILTER_MODE_LOWPASS,4,2     ; @FF_FILTER_MODE_LOWPASS
	.comm	_FILT_ORDER,4,2                 ; @FILT_ORDER
	.comm	_INT16_MAX,8,3                  ; @INT16_MAX
	.comm	_M_PI,8,3                       ; @M_PI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%6d %6d\n"

.subsections_via_symbols
