	.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	$1080, %rsp                     ## imm = 0x438
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rsi), %rdx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_26
LBB0_2:
	movq	8(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_atof
	movq	_INPUT_SAMPLERATE@GOTPCREL(%rip), %rax
	mulss	(%rax), %xmm0
	movq	_FRAME_SIZE@GOTPCREL(%rip), %rax
	divss	(%rax), %xmm0
	cvttss2si	%xmm0, %r14d
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, -1088(%rbp)
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_av_md5_alloc
	movq	%rax, -1112(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r15
	leaq	-1104(%rbp), %rdi
	leaq	-1096(%rbp), %rsi
	leaq	-1080(%rbp), %rdx
	callq	_init_filter_graph
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	xorl	%r13d, %r13d
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_get_input
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-1096(%rbp), %rdi
	movq	%r12, %rsi
	callq	_av_buffersrc_add_frame
	testl	%eax, %eax
	js	LBB0_24
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-1080(%rbp), %rdi
	movq	%r12, %rsi
	callq	_av_buffersink_get_frame
	testl	%eax, %eax
	js	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_process_output
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	%r12, %rdi
	callq	_av_frame_unref
	jmp	LBB0_16
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%eax, %ebx
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cmpl	%eax, %ebx
	jne	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	incl	%r13d
	cmpl	%r14d, %r13d
	jne	LBB0_13
	jmp	LBB0_23
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	jmp	LBB0_26
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_6:
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_27
LBB0_18:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_25
LBB0_10:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
LBB0_25:
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	xorl	%eax, %eax
	callq	_fprintf
	leaq	-1072(%rbp), %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_strerror
	movl	(%r15), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdx
LBB0_26:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_27:
	movl	$1, %eax
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_30
## %bb.29:
	addq	$1080, %rsp                     ## imm = 0x438
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_25
LBB0_24:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_av_frame_unref
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_25
LBB0_21:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_22
LBB0_23:
	leaq	-1104(%rbp), %rdi
	callq	_avfilter_graph_free
	leaq	-1088(%rbp), %rdi
	callq	_av_frame_free
	leaq	-1112(%rbp), %rdi
	callq	_av_freep
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_22:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_25
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s <duration>\n"

	.comm	_INPUT_SAMPLERATE,4,2           ## @INPUT_SAMPLERATE
	.comm	_FRAME_SIZE,4,2                 ## @FRAME_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Invalid duration: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error allocating the frame\n"

L_.str.3:                               ## @.str.3
	.asciz	"Error allocating the MD5 context\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to init filter graph:"

L_.str.5:                               ## @.str.5
	.asciz	"Error generating input frame:"

L_.str.6:                               ## @.str.6
	.asciz	"Error submitting the frame to the filtergraph:"

L_.str.7:                               ## @.str.7
	.asciz	"Error processing the filtered frame:"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
L_.str.8:                               ## @.str.8
	.asciz	"Error filtering the data:"

L_.str.9:                               ## @.str.9
	.asciz	"%s\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	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #1088
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x1]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_20
LBB0_2:
	ldr	x19, [x1, #8]
	mov	x0, x19
	bl	_atof
Lloh8:
	adrp	x8, _INPUT_SAMPLERATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INPUT_SAMPLERATE@GOTPAGEOFF]
Lloh10:
	ldr	s1, [x8]
Lloh11:
	adrp	x8, _FRAME_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FRAME_SIZE@GOTPAGEOFF]
	fmul	s0, s0, s1
Lloh13:
	ldr	s1, [x8]
	fdiv	s0, s0, s1
	fcvtzs	w24, s0
	cmp	w24, #1
	b.lt	LBB0_14
; %bb.3:
	bl	_av_frame_alloc
	str	x0, [sp, #16]
	cbz	x0, LBB0_15
; %bb.4:
	mov	x19, x0
	bl	_av_md5_alloc
	str	x0, [sp, #48]
	cbz	x0, LBB0_16
; %bb.5:
	mov	x21, x0
	add	x0, sp, #40
	add	x1, sp, #32
	add	x2, sp, #24
	bl	_init_filter_graph
	tbnz	w0, #31, LBB0_18
; %bb.6:
	mov	w23, #0
Lloh14:
	adrp	x20, l_.str.5@PAGE
Lloh15:
	add	x20, x20, l_.str.5@PAGEOFF
Lloh16:
	adrp	x26, _EAGAIN@GOTPAGE
Lloh17:
	ldr	x26, [x26, _EAGAIN@GOTPAGEOFF]
Lloh18:
	adrp	x25, l_.str.7@PAGE
Lloh19:
	add	x25, x25, l_.str.7@PAGEOFF
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x19
	mov	x1, x23
	bl	_get_input
	tbnz	w0, #31, LBB0_23
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #32]
	mov	x1, x19
	bl	_av_buffersrc_add_frame
	tbnz	w0, #31, LBB0_24
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [sp, #24]
	mov	x1, x19
	bl	_av_buffersink_get_frame
	tbnz	w0, #31, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x21
	mov	x1, x19
	bl	_process_output
	tbnz	w0, #31, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x19
	bl	_av_frame_unref
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x22, x0
	ldr	w0, [x26]
	bl	_AVERROR
	cmp	w22, w0
	b.ne	LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w23, w23, #1
	cmp	w23, w24
	b.ne	LBB0_7
	b	LBB0_26
LBB0_14:
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_15:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_16:
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_17:
	mov	x22, x0
	mov	x20, x25
	b	LBB0_19
LBB0_18:
	mov	x22, x0
Lloh35:
	adrp	x20, l_.str.4@PAGE
Lloh36:
	add	x20, x20, l_.str.4@PAGEOFF
LBB0_19:
Lloh37:
	adrp	x19, _stderr@GOTPAGE
Lloh38:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	x1, x20
	bl	_fprintf
	add	x20, sp, #56
	add	x1, sp, #56
	mov	x0, x22
	mov	w2, #1024
	bl	_av_strerror
	ldr	w0, [x19]
	str	x20, [sp]
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_20:
	bl	_fprintf
	mov	w0, #1
LBB0_21:
	ldur	x8, [x29, #-88]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.22:
	add	sp, sp, #1088
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_23:
	mov	x22, x0
	b	LBB0_19
LBB0_24:
	mov	x22, x0
	mov	x0, x19
	bl	_av_frame_unref
Lloh44:
	adrp	x20, l_.str.6@PAGE
Lloh45:
	add	x20, x20, l_.str.6@PAGEOFF
	b	LBB0_19
LBB0_25:
Lloh46:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh47:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_27
LBB0_26:
	add	x0, sp, #40
	bl	_avfilter_graph_free
	add	x0, sp, #16
	bl	_av_frame_free
	add	x0, sp, #48
	bl	_av_freep
	mov	w0, #0
	b	LBB0_21
LBB0_27:
Lloh49:
	adrp	x20, l_.str.8@PAGE
Lloh50:
	add	x20, x20, l_.str.8@PAGEOFF
	b	LBB0_19
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s <duration>\n"

	.comm	_INPUT_SAMPLERATE,4,2           ; @INPUT_SAMPLERATE
	.comm	_FRAME_SIZE,4,2                 ; @FRAME_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Invalid duration: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error allocating the frame\n"

l_.str.3:                               ; @.str.3
	.asciz	"Error allocating the MD5 context\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to init filter graph:"

l_.str.5:                               ; @.str.5
	.asciz	"Error generating input frame:"

l_.str.6:                               ; @.str.6
	.asciz	"Error submitting the frame to the filtergraph:"

l_.str.7:                               ; @.str.7
	.asciz	"Error processing the filtered frame:"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
l_.str.8:                               ; @.str.8
	.asciz	"Error filtering the data:"

l_.str.9:                               ; @.str.9
	.asciz	"%s\n"

.subsections_via_symbols
