	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkv_codecid_to_fourcc
_mkv_codecid_to_fourcc:                 ## @mkv_codecid_to_fourcc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_codecid_to_fourcc_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movq	(%r15), %rax
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
LBB0_4:
	movl	%ebx, %eax
	movq	(%r15), %rcx
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdx
	shlq	$4, %rdx
	movl	4(%rcx,%rdx), %edx
	movl	%edx, (%r14)
LBB0_6:
	shlq	$4, %rax
	movl	(%rcx,%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_codecid_to_fourcc_table,8,3    ## @codecid_to_fourcc_table
	.no_dead_strip	_mkv_codecid_to_fourcc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkv_codecid_to_fourcc
_mkv_codecid_to_fourcc:                 ; @mkv_codecid_to_fourcc
	.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
Lloh0:
	adrp	x21, _codecid_to_fourcc_table@GOTPAGE
Lloh1:
	ldr	x21, [x21, _codecid_to_fourcc_table@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_4
; %bb.1:
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	ldr	x8, [x21]
	add	x8, x8, w22, uxtw #4
	ldr	x0, [x8, #8]
	cbnz	x0, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
	mov	w8, w22
	ldr	x9, [x21]
	cbz	x19, LBB0_7
; %bb.6:
	add	x10, x9, x8, lsl #4
	ldr	w10, [x10, #4]
	str	w10, [x19]
LBB0_7:
	lsl	x8, x8, #4
	ldr	w0, [x9, x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_codecid_to_fourcc_table,8,3    ; @codecid_to_fourcc_table
	.no_dead_strip	_mkv_codecid_to_fourcc
.subsections_via_symbols
