	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tak_parse_streaminfo        ## -- Begin function ff_tak_parse_streaminfo
	.p2align	4, 0x90
_ff_tak_parse_streaminfo:               ## @ff_tak_parse_streaminfo
	.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
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_TAK_ENCODER_CODEC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_bits
	movq	%rax, 48(%rbx)
	movq	_TAK_ENCODER_PROFILE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_skip_bits
	movq	_TAK_SIZE_FRAME_DURATION_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_bits
	movq	%rax, %r14
	movq	_TAK_SIZE_SAMPLES_NUM_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_bits64
	movl	%eax, 40(%rbx)
	movq	_TAK_FORMAT_DATA_TYPE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_bits
	movq	%rax, 32(%rbx)
	movq	_TAK_FORMAT_SAMPLE_RATE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_bits
	movq	_TAK_SAMPLE_RATE_MIN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 8(%rbx)
	movq	_TAK_FORMAT_BPS_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_bits
	movq	_TAK_BPS_MIN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 24(%rbx)
	movq	_TAK_FORMAT_CHANNEL_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_bits
	movq	_TAK_CHANNELS_MIN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_get_bits1
	xorl	%r13d, %r13d
	testq	%rax, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.1:
	movq	_TAK_FORMAT_VALID_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_skip_bits
	movq	%r12, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.3:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r15d
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_TAK_FORMAT_CH_LAYOUT_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_bits
	movq	%rax, %rbx
	movq	_tak_channel_layouts@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_FF_ARRAY_ELEMS
	cmpl	%ebx, %eax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movslq	%ebx, %rcx
	orl	(%rax,%rcx,4), %r13d
	jmp	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%r13d, 20(%rbx)
	movq	8(%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_tak_get_nb_samples
	movl	%eax, 16(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TAK_ENCODER_CODEC_BITS,4,2     ## @TAK_ENCODER_CODEC_BITS
	.comm	_TAK_ENCODER_PROFILE_BITS,4,2   ## @TAK_ENCODER_PROFILE_BITS
	.comm	_TAK_SIZE_FRAME_DURATION_BITS,4,2 ## @TAK_SIZE_FRAME_DURATION_BITS
	.comm	_TAK_SIZE_SAMPLES_NUM_BITS,4,2  ## @TAK_SIZE_SAMPLES_NUM_BITS
	.comm	_TAK_FORMAT_DATA_TYPE_BITS,4,2  ## @TAK_FORMAT_DATA_TYPE_BITS
	.comm	_TAK_FORMAT_SAMPLE_RATE_BITS,4,2 ## @TAK_FORMAT_SAMPLE_RATE_BITS
	.comm	_TAK_SAMPLE_RATE_MIN,8,3        ## @TAK_SAMPLE_RATE_MIN
	.comm	_TAK_FORMAT_BPS_BITS,4,2        ## @TAK_FORMAT_BPS_BITS
	.comm	_TAK_BPS_MIN,8,3                ## @TAK_BPS_MIN
	.comm	_TAK_FORMAT_CHANNEL_BITS,4,2    ## @TAK_FORMAT_CHANNEL_BITS
	.comm	_TAK_CHANNELS_MIN,4,2           ## @TAK_CHANNELS_MIN
	.comm	_TAK_FORMAT_VALID_BITS,4,2      ## @TAK_FORMAT_VALID_BITS
	.comm	_TAK_FORMAT_CH_LAYOUT_BITS,4,2  ## @TAK_FORMAT_CH_LAYOUT_BITS
	.comm	_tak_channel_layouts,8,3        ## @tak_channel_layouts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tak_parse_streaminfo        ; -- Begin function ff_tak_parse_streaminfo
	.p2align	2
_ff_tak_parse_streaminfo:               ; @ff_tak_parse_streaminfo
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _TAK_ENCODER_CODEC_BITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAK_ENCODER_CODEC_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_get_bits
	str	x0, [x19, #48]
Lloh3:
	adrp	x8, _TAK_ENCODER_PROFILE_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TAK_ENCODER_PROFILE_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_skip_bits
Lloh6:
	adrp	x8, _TAK_SIZE_FRAME_DURATION_BITS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TAK_SIZE_FRAME_DURATION_BITS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_get_bits
	mov	x21, x0
Lloh9:
	adrp	x8, _TAK_SIZE_SAMPLES_NUM_BITS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TAK_SIZE_SAMPLES_NUM_BITS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_get_bits64
	str	w0, [x19, #40]
Lloh12:
	adrp	x8, _TAK_FORMAT_DATA_TYPE_BITS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TAK_FORMAT_DATA_TYPE_BITS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_get_bits
	str	x0, [x19, #32]
Lloh15:
	adrp	x8, _TAK_FORMAT_SAMPLE_RATE_BITS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TAK_FORMAT_SAMPLE_RATE_BITS@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_get_bits
Lloh18:
	adrp	x8, _TAK_SAMPLE_RATE_MIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TAK_SAMPLE_RATE_MIN@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x8, x0, x8
	str	x8, [x19, #8]
Lloh21:
	adrp	x8, _TAK_FORMAT_BPS_BITS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TAK_FORMAT_BPS_BITS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_get_bits
Lloh24:
	adrp	x8, _TAK_BPS_MIN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TAK_BPS_MIN@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x8, x0, x8
	str	x8, [x19, #24]
Lloh27:
	adrp	x8, _TAK_FORMAT_CHANNEL_BITS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TAK_FORMAT_CHANNEL_BITS@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_get_bits
Lloh30:
	adrp	x8, _TAK_CHANNELS_MIN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TAK_CHANNELS_MIN@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	add	w8, w0, w8
	str	w8, [x19]
	mov	x0, x20
	bl	_get_bits1
	cbz	x0, LBB0_7
; %bb.1:
Lloh33:
	adrp	x8, _TAK_FORMAT_VALID_BITS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TAK_FORMAT_VALID_BITS@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_skip_bits
	mov	x0, x20
	bl	_get_bits1
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	w23, #0
	mov	w24, #0
Lloh36:
	adrp	x25, _TAK_FORMAT_CH_LAYOUT_BITS@GOTPAGE
Lloh37:
	ldr	x25, [x25, _TAK_FORMAT_CH_LAYOUT_BITS@GOTPAGEOFF]
Lloh38:
	adrp	x26, _tak_channel_layouts@GOTPAGE
Lloh39:
	ldr	x26, [x26, _tak_channel_layouts@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	ldr	w8, [x19]
	cmp	w24, w8
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x20
	bl	_get_bits
	mov	x22, x0
	ldr	x0, [x26]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, w22
	b.le	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26]
	sbfiz	x9, x22, #2, #32
	ldr	w8, [x8, x9]
	orr	w23, w8, w23
	b	LBB0_4
LBB0_7:
	mov	w23, #0
LBB0_8:
	str	w23, [x19, #20]
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_tak_get_nb_samples
	str	w0, [x19, #16]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_TAK_ENCODER_CODEC_BITS,4,2     ; @TAK_ENCODER_CODEC_BITS
	.comm	_TAK_ENCODER_PROFILE_BITS,4,2   ; @TAK_ENCODER_PROFILE_BITS
	.comm	_TAK_SIZE_FRAME_DURATION_BITS,4,2 ; @TAK_SIZE_FRAME_DURATION_BITS
	.comm	_TAK_SIZE_SAMPLES_NUM_BITS,4,2  ; @TAK_SIZE_SAMPLES_NUM_BITS
	.comm	_TAK_FORMAT_DATA_TYPE_BITS,4,2  ; @TAK_FORMAT_DATA_TYPE_BITS
	.comm	_TAK_FORMAT_SAMPLE_RATE_BITS,4,2 ; @TAK_FORMAT_SAMPLE_RATE_BITS
	.comm	_TAK_SAMPLE_RATE_MIN,8,3        ; @TAK_SAMPLE_RATE_MIN
	.comm	_TAK_FORMAT_BPS_BITS,4,2        ; @TAK_FORMAT_BPS_BITS
	.comm	_TAK_BPS_MIN,8,3                ; @TAK_BPS_MIN
	.comm	_TAK_FORMAT_CHANNEL_BITS,4,2    ; @TAK_FORMAT_CHANNEL_BITS
	.comm	_TAK_CHANNELS_MIN,4,2           ; @TAK_CHANNELS_MIN
	.comm	_TAK_FORMAT_VALID_BITS,4,2      ; @TAK_FORMAT_VALID_BITS
	.comm	_TAK_FORMAT_CH_LAYOUT_BITS,4,2  ; @TAK_FORMAT_CH_LAYOUT_BITS
	.comm	_tak_channel_layouts,8,3        ; @tak_channel_layouts
.subsections_via_symbols
