	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_input
_get_input:                             ## @get_input
	.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	%esi, %ebx
	movq	%rdi, %r15
	movq	_INPUT_SAMPLERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	_INPUT_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	movq	_INPUT_CHANNEL_LAYOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movl	$1024, (%rdi)                   ## imm = 0x400
	movl	%esi, %eax
	shll	$10, %eax
	movl	%eax, 4(%rdi)
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_av_frame_get_buffer
	testl	%eax, %eax
	js	LBB0_16
## %bb.1:
	cmpl	$0, (%r15)
	jle	LBB0_21
## %bb.2:
	movq	8(%r15), %rax
	movq	(%rax), %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	addl	%ebx, %ebx
	xorl	%r12d, %r12d
	movq	_M_PI@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	imull	%ebx, %eax
	leal	1023(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$10, %edi
	callq	_sin
	movss	%xmm0, (%r13,%r12,4)
	incq	%r12
	movslq	(%r15), %rax
	addl	$2, %ebx
	cmpq	%rax, %r12
	jl	LBB0_3
## %bb.4:
	testl	%eax, %eax
	jle	LBB0_20
## %bb.5:
	movq	8(%r15), %rax
	movq	8(%rax), %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %r13d
	xorl	%ebx, %ebx
	movq	_M_PI@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	imull	%r13d, %eax
	leal	1023(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$10, %edi
	callq	_sin
	movss	%xmm0, (%r12,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	addl	$4, %r13d
	cmpq	%rax, %rbx
	jl	LBB0_6
## %bb.7:
	testl	%eax, %eax
	jle	LBB0_20
## %bb.8:
	movq	8(%r15), %rax
	movq	16(%rax), %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	(%rax,%rax,2), %r12d
	xorl	%ebx, %ebx
	movq	_M_PI@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	imull	%r12d, %eax
	leal	1023(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$10, %edi
	callq	_sin
	movss	%xmm0, (%r13,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	addl	$6, %r12d
	cmpq	%rax, %rbx
	jl	LBB0_9
## %bb.10:
	testl	%eax, %eax
	jle	LBB0_20
## %bb.11:
	movq	8(%r15), %rax
	movq	24(%rax), %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	shll	$3, %r14d
	xorl	%ebx, %ebx
	movq	_M_PI@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	imull	%r14d, %eax
	leal	1023(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$10, %edi
	callq	_sin
	movss	%xmm0, (%r12,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	addl	$8, %r14d
	cmpq	%rax, %rbx
	jl	LBB0_12
## %bb.13:
	testl	%eax, %eax
	jle	LBB0_20
## %bb.14:
	movq	8(%r15), %rax
	movq	32(%rax), %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rax,4), %r12d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	_M_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%r12d, %eax
	leal	1023(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$10, %edi
	callq	_sin
	movss	%xmm0, (%r14,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	addl	$10, %r12d
	cmpq	%rax, %rbx
	jl	LBB0_15
	jmp	LBB0_21
LBB0_16:
	movl	%eax, %r13d
	jmp	LBB0_21
LBB0_20:
	xorl	%r13d, %r13d
LBB0_21:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INPUT_SAMPLERATE,4,2           ## @INPUT_SAMPLERATE
	.comm	_INPUT_FORMAT,4,2               ## @INPUT_FORMAT
	.comm	_INPUT_CHANNEL_LAYOUT,4,2       ## @INPUT_CHANNEL_LAYOUT
	.comm	_M_PI,4,2                       ## @M_PI
	.comm	_FRAME_SIZE,4,2                 ## @FRAME_SIZE
	.no_dead_strip	_get_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_input
_get_input:                             ; @get_input
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _INPUT_SAMPLERATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INPUT_SAMPLERATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
Lloh3:
	adrp	x8, _INPUT_FORMAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INPUT_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _INPUT_CHANNEL_LAYOUT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INPUT_CHANNEL_LAYOUT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	mov	w8, #1024
	lsl	w9, w1, #10
	stp	w8, w9, [x0]
	mov	w1, #0
	bl	_av_frame_get_buffer
	tbnz	w0, #31, LBB0_17
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.2:
	mov	x22, #0
	ldr	x8, [x19, #8]
	ldr	x23, [x8]
	lsl	w24, w20, #1
Lloh9:
	adrp	x21, _M_PI@GOTPAGE
Lloh10:
	ldr	x21, [x21, _M_PI@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	mul	w8, w24, w8
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #10
	bl	_sin
	str	s0, [x23, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	w24, w24, #2
	cmp	x22, x8
	b.lt	LBB0_3
; %bb.4:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.5:
	mov	x22, #0
	ldr	x8, [x19, #8]
	ldr	x23, [x8, #8]
	lsl	w24, w20, #2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	mul	w8, w24, w8
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #10
	bl	_sin
	str	s0, [x23, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	w24, w24, #4
	cmp	x22, x8
	b.lt	LBB0_6
; %bb.7:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.8:
	mov	x22, #0
	ldr	x8, [x19, #8]
	ldr	x23, [x8, #16]
	add	w8, w20, w20, lsl #1
	lsl	w24, w8, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	mul	w8, w24, w8
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #10
	bl	_sin
	str	s0, [x23, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	w24, w24, #6
	cmp	x22, x8
	b.lt	LBB0_9
; %bb.10:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.11:
	mov	x22, #0
	ldr	x8, [x19, #8]
	ldr	x23, [x8, #24]
	lsl	w24, w20, #3
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	mul	w8, w24, w8
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #10
	bl	_sin
	str	s0, [x23, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	w24, w24, #8
	cmp	x22, x8
	b.lt	LBB0_12
; %bb.13:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x22, #0
	ldr	x8, [x19, #8]
	ldr	x23, [x8, #32]
	add	w8, w20, w20, lsl #2
	lsl	w20, w8, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	mul	w8, w20, w8
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #10
	bl	_sin
	str	s0, [x23, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	w20, w20, #10
	cmp	x22, x8
	b.lt	LBB0_15
LBB0_16:
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_INPUT_SAMPLERATE,4,2           ; @INPUT_SAMPLERATE
	.comm	_INPUT_FORMAT,4,2               ; @INPUT_FORMAT
	.comm	_INPUT_CHANNEL_LAYOUT,4,2       ; @INPUT_CHANNEL_LAYOUT
	.comm	_M_PI,4,2                       ; @M_PI
	.comm	_FRAME_SIZE,4,2                 ; @FRAME_SIZE
	.no_dead_strip	_get_input
.subsections_via_symbols
