	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function 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
	cmpl	$2, %edi
	jl	LBB0_1
## %bb.2:
	movq	8(%rsi), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	xorl	%r12d, %r12d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	sete	%al
	setne	%cl
	testl	%r15d, %r15d
	sete	%r14b
	jne	LBB0_3
## %bb.4:
	movq	_sin@GOTPCREL(%rip), %rdx
	jmp	LBB0_5
LBB0_1:
	movq	_cos@GOTPCREL(%rip), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_3:
	movq	_cos@GOTPCREL(%rip), %rdx
LBB0_5:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movb	%cl, %dl
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movb	%al, %r12b
LBB0_6:
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rsi
	testb	%r14b, %r14b
	cmovneq	%rax, %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_BITS@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jge	LBB0_7
LBB0_17:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.9(%rip), %rcx
	testb	%r14b, %r14b
	cmovneq	%rax, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	xorb	$1, %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movl	$4, %ecx
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leal	3(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
	movl	$1, %ecx
	subl	%eax, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	movsd	-64(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_printval
	leaq	L_str.12(%rip), %rdi
	callq	_puts
	leal	1(%rbx), %eax
	movq	_BITS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	movl	%eax, %ecx
	jge	LBB0_17
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	$1, %ebx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %ebx
	movq	_M_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	cltd
	idivl	%ebx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	leaq	L_.str.7(%rip), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	cmpl	$4, %ebx
	jl	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
	shrl	$31, %r15d
	addl	%eax, %r15d
	sarl	%r15d
	movl	%eax, %r13d
	shrl	$2, %r13d
	cmpl	$3, %r15d
	movl	$2, %r14d
	cmovgel	%r15d, %r14d
	decl	%r14d
	xorl	%r12d, %r12d
	movl	%r13d, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	incl	%r12d
	decl	%r15d
	decl	%ebx
	cmpl	%r12d, %r14d
	je	LBB0_13
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%r12d, %r13d
	movl	%r12d, %eax
	cmovbl	%r15d, %eax
	movl	%ebx, %ecx
	cmoval	%eax, %ecx
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	cmovnel	%eax, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	mulsd	-64(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_printval
	movl	%r12d, %eax
	notl	%eax
	testb	$3, %al
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	testb	%r14b, %r14b
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sin"

L_.str.1:                               ## @.str.1
	.asciz	"fixed"

L_.str.3:                               ## @.str.3
	.asciz	"#define FFT_FLOAT %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"#include \"libavcodec/%s\"\n"

L_.str.5:                               ## @.str.5
	.asciz	"rdft.h"

L_.str.6:                               ## @.str.6
	.asciz	"fft.h"

	.comm	_BITS,4,2                       ## @BITS
	.comm	_M_PI,4,2                       ## @M_PI
L_.str.7:                               ## @.str.7
	.asciz	"%s(%i) = {\n   "

L_.str.8:                               ## @.str.8
	.asciz	"SINTABLE"

L_.str.9:                               ## @.str.9
	.asciz	"COSTABLE"

L_.str.10:                              ## @.str.10
	.asciz	"\n   "

L_str:                                  ## @str
	.asciz	"/* This file was automatically generated. */"

L_str.12:                               ## @str.12
	.asciz	"\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:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x23, _cos@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cos@GOTPAGEOFF]
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	x19, [x1, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	mov	x20, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cmp	x0, #0
	cset	w19, ne
	cset	w21, eq
	cmp	w20, #0
	cset	w20, eq
Lloh6:
	adrp	x8, _sin@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sin@GOTPAGEOFF]
	csel	x23, x8, x23, eq
	b	LBB0_3
LBB0_2:
	mov	w19, #0
	mov	w20, #0
	mov	w21, #1
LBB0_3:
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	str	x21, [sp]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
Lloh12:
	adrp	x8, l_.str.6@PAGE
Lloh13:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh14:
	adrp	x9, l_.str.5@PAGE
Lloh15:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w20, #0
	csel	x8, x9, x8, ne
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh18:
	adrp	x8, _BITS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BITS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w8, #4
	b.ge	LBB0_5
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
Lloh21:
	adrp	x8, l_.str.9@PAGE
Lloh22:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh23:
	adrp	x9, l_.str.8@PAGE
Lloh24:
	add	x9, x9, l_.str.8@PAGEOFF
	cmp	w20, #0
	csel	x8, x9, x8, ne
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	eor	w27, w20, #0x1
	mov	w8, #4
	mov	w21, #1
	str	w20, [sp, #24]                  ; 4-byte Folded Spill
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w8, w20, #3
	cmp	w20, #0
	csel	w8, w8, w20, lt
	mov	w21, #1
	sub	w8, w21, w8, asr #2
	scvtf	d0, w8
	fmul	d0, d0, d8
	ldr	w20, [sp, #24]                  ; 4-byte Folded Reload
	cmp	w20, #0
	fcsel	d0, d8, d0, eq
	blr	x23
	mov	x0, x19
	bl	_printval
Lloh25:
	adrp	x0, l_str.12@PAGE
Lloh26:
	add	x0, x0, l_str.12@PAGEOFF
	bl	_puts
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	add	w8, w10, #1
Lloh27:
	adrp	x9, _BITS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _BITS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w10, w9
	b.ge	LBB0_4
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	lsl	w20, w21, w8
Lloh30:
	adrp	x8, _M_PI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	sdiv	w8, w8, w20
	scvtf	d8, w8
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	stp	x8, x20, [sp]
Lloh33:
	adrp	x0, l_.str.7@PAGE
Lloh34:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	cmp	w20, #0
	cinc	w8, w20, lt
	cmp	w20, #4
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w22, #0
	asr	w24, w8, #1
	lsr	w21, w20, #2
	cmp	w24, #2
	mov	w8, #2
	csel	w8, w24, w8, gt
	sub	w25, w8, #1
	mov	x26, x21
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w22, w22, #1
	sub	w24, w24, #1
	sub	w26, w26, #1
	cmp	w25, w22
	b.eq	LBB0_6
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mvn	w28, w22
	cmp	w21, w22
	csel	w8, w24, w22, lo
	cset	w9, hi
	orr	w9, w27, w9
	cmp	w9, #0
	csel	w8, w8, w26, ne
	scvtf	d0, w8
	fmul	d0, d8, d0
	blr	x23
	mov	x0, x19
	bl	_printval
	tst	w28, #0x3
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
Lloh35:
	adrp	x0, l_.str.10@PAGE
Lloh36:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sin"

l_.str.1:                               ; @.str.1
	.asciz	"fixed"

l_.str.3:                               ; @.str.3
	.asciz	"#define FFT_FLOAT %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"#include \"libavcodec/%s\"\n"

l_.str.5:                               ; @.str.5
	.asciz	"rdft.h"

l_.str.6:                               ; @.str.6
	.asciz	"fft.h"

	.comm	_BITS,4,2                       ; @BITS
	.comm	_M_PI,4,2                       ; @M_PI
l_.str.7:                               ; @.str.7
	.asciz	"%s(%i) = {\n   "

l_.str.8:                               ; @.str.8
	.asciz	"SINTABLE"

l_.str.9:                               ; @.str.9
	.asciz	"COSTABLE"

l_.str.10:                              ; @.str.10
	.asciz	"\n   "

l_str:                                  ; @str
	.asciz	"/* This file was automatically generated. */"

l_str.12:                               ; @str.12
	.asciz	"\n};"

.subsections_via_symbols
