	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_custom_noise
_read_custom_noise:                     ## @read_custom_noise
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r14
	movq	$0, -144(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -68(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movl	(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.1:
	movl	%esi, %r15d
	callq	_av_strdup
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movslq	%r15d, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	L_.str(%rip), %r15
	leaq	-144(%rbp), %r13
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%rbp), %rdx
	addq	$-112, %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_av_sscanf
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-112(%rbp,%r14), %edi
	movl	$-24, %esi
	movl	$24, %edx
	callq	_av_clip
	movl	%eax, -112(%rbp,%r14)
	addq	$4, %r14
	movl	$0, %ebx
	cmpq	$60, %r14
	jne	LBB0_3
	jmp	LBB0_7
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_av_log
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rdi
	callq	_av_free
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %edi
	leaq	-112(%rbp), %rsi
	movl	$60, %edx
	callq	_memcpy
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"| "

L_.str.1:                               ## @.str.1
	.asciz	"%d"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Custom band noise must be integer.\n"

	.no_dead_strip	_read_custom_noise
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_custom_noise
_read_custom_noise:                     ; @read_custom_noise
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x23, [x0, #8]
	str	xzr, [sp, #8]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #60]
	stp	q0, q0, [sp, #32]
	str	q0, [sp, #16]
	ldr	w0, [x0]
	cbz	w0, LBB0_8
; %bb.1:
	mov	x20, x1
	bl	_av_strdup
	cbz	x0, LBB0_8
; %bb.2:
	mov	x22, x0
	mov	x25, #0
	sxtw	x24, w20
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	add	x26, sp, #16
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x20
	bl	_av_strtok
	cbz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x2, x26, x25
	mov	x1, x21
	bl	_av_sscanf
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26, x25]
	mov	w1, #-24
	mov	w2, #24
	bl	_av_clip
	mov	x22, #0
	str	w0, [x26, x25]
	add	x25, x25, #4
	cmp	x25, #60
	b.ne	LBB0_3
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	x22, #0
LBB0_7:
	mov	x0, x22
	bl	_av_free
	ldr	w0, [x23, x24, lsl #2]
	add	x1, sp, #16
	mov	w2, #60
	bl	_memcpy
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"| "

l_.str.1:                               ; @.str.1
	.asciz	"%d"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Custom band noise must be integer.\n"

	.no_dead_strip	_read_custom_noise
.subsections_via_symbols
