	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_config_ALS
_parse_config_ALS:                      ## @parse_config_ALS
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_get_bits_left
	cmpl	$111, %eax
	jle	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_get_bits_long
	movq	%rax, %r15
	movl	$65, %edi
	movl	$76, %esi
	movl	$83, %edx
	xorl	%ecx, %ecx
	callq	_MKBETAG
	cmpq	%rax, %r15
	jne	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_get_bits_long
	movq	%rax, (%r14)
	testq	%rax, %rax
	jle	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_skip_bits_long
	movq	$0, 16(%r14)
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_get_bits
	incq	%rax
	movq	%rax, 8(%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movq	%rax, %rcx
	callq	_av_log
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid sample rate %d\n"

	.no_dead_strip	_parse_config_ALS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_config_ALS
_parse_config_ALS:                      ; @parse_config_ALS
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_get_bits_left
	cmp	w0, #111
	b.le	LBB0_5
; %bb.1:
	mov	x0, x20
	mov	w1, #32
	bl	_get_bits_long
	mov	x21, x0
	mov	w0, #65
	mov	w1, #76
	mov	w2, #83
	mov	w3, #0
	bl	_MKBETAG
	cmp	x21, x0
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x20
	mov	w1, #32
	bl	_get_bits_long
	str	x0, [x19]
	cmp	x0, #0
	b.le	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #32
	bl	_skip_bits_long
	str	xzr, [x19, #16]
	mov	x0, x20
	mov	w1, #16
	bl	_get_bits
	mov	x8, x0
	mov	w0, #0
	add	x8, x8, #1
	str	x8, [x19, #8]
	b	LBB0_6
LBB0_4:
	mov	x3, x0
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
LBB0_5:
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid sample rate %d\n"

	.no_dead_strip	_parse_config_ALS
.subsections_via_symbols
