	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_read_language_list
_asf_read_language_list:                ## @asf_read_language_list
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r13
	movq	8(%rdi), %r15
	movq	%r13, %rdi
	callq	_avio_rl64
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_avio_rl16
	movq	_ASF_MAX_STREAMS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_5
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	movl	$6, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_avio_r8
	testq	%rax, %rax
	cmoveq	%r14, %rax
	movq	8(%r15), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$4, %ecx
	callq	_get_asf_string
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_4
LBB0_5:
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_align_position
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASF_MAX_STREAMS,4,2            ## @ASF_MAX_STREAMS
	.no_dead_strip	_asf_read_language_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_read_language_list
_asf_read_language_list:                ; @asf_read_language_list
	.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
	ldp	x19, x21, [x0]
	mov	x0, x19
	bl	_avio_rl64
	mov	x20, x0
	mov	x0, x19
	bl	_avio_rl16
Lloh0:
	adrp	x8, _ASF_MAX_STREAMS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASF_MAX_STREAMS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	ccmp	w0, #1, #8, lt
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	w8, w0
	lsl	x23, x8, #2
	mov	w24, #6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_avio_r8
	cmp	x0, #0
	csel	x1, x24, x0, eq
	ldr	x8, [x21, #8]
	ldr	w2, [x8, x22]
	mov	x0, x19
	mov	w3, #4
	bl	_get_asf_string
	tbnz	w0, #31, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #4
	cmp	x23, x22
	b.ne	LBB0_2
LBB0_4:
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_align_position
	mov	w0, #0
LBB0_5:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASF_MAX_STREAMS,4,2            ; @ASF_MAX_STREAMS
	.no_dead_strip	_asf_read_language_list
.subsections_via_symbols
