	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mov_iso639_to_lang          ## -- Begin function ff_mov_iso639_to_lang
	.p2align	4, 0x90
_ff_mov_iso639_to_lang:                 ## @ff_mov_iso639_to_lang
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	testl	%esi, %esi
	jne	LBB0_6
## %bb.1:
	cmpb	$0, (%r14)
	je	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_mov_mdhd_language_map@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	callq	_FF_ARRAY_ELEMS
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpb	$0, (%r14)
	jne	LBB0_3
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.8:
	cmpb	$0, (%r14)
	leaq	L_.str(%rip), %rax
	cmovneq	%r14, %rax
	movsbl	(%rax), %ebx
	movsbl	1(%rax), %ecx
	addl	$134217632, %ecx                ## imm = 0x7FFFFA0
	shll	$5, %ebx
	addl	$134214656, %ebx                ## imm = 0x7FFF400
	orl	%ecx, %ebx
	movsbl	2(%rax), %eax
	addl	$-96, %eax
	shll	$5, %ebx
	orl	%eax, %ebx
	jmp	LBB0_9
LBB0_7:
	movl	$-1, %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mov_mdhd_language_map,8,3      ## @mov_mdhd_language_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"und"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mov_iso639_to_lang          ; -- Begin function ff_mov_iso639_to_lang
	.p2align	2
_ff_mov_iso639_to_lang:                 ; @ff_mov_iso639_to_lang
	.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	x21, x1
	mov	x19, x0
	cbnz	w1, LBB0_6
; %bb.1:
	ldrb	w8, [x19]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x20, #0
Lloh0:
	adrp	x22, _mov_mdhd_language_map@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mov_mdhd_language_map@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	bl	_FF_ARRAY_ELEMS
	cmp	x20, w0, sxtw
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldr	w1, [x8, x20, lsl #2]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldrb	w8, [x19]
	cbnz	w8, LBB0_3
LBB0_6:
	cbz	w21, LBB0_8
; %bb.7:
	ldrb	w8, [x19]
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w8, #0
	csel	x8, x9, x19, eq
	ldrsb	w9, [x8]
	ldrsb	w10, [x8, #1]
	mov	w11, #62464
	movk	w11, #2047, lsl #16
	add	w10, w10, w11
	add	w10, w10, #2976
	add	w9, w11, w9, lsl #5
	orr	w9, w10, w9
	ldrsb	w8, [x8, #2]
	sub	w8, w8, #96
	orr	w20, w8, w9, lsl #5
	b	LBB0_9
LBB0_8:
	mov	w20, #-1
LBB0_9:
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_mov_mdhd_language_map,8,3      ; @mov_mdhd_language_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"und"

.subsections_via_symbols
