	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_ffmpeg_audio
_add_ffmpeg_audio:                      ## @add_ffmpeg_audio
	.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
	movl	%edx, %r14d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %r12
	movq	8(%r12), %r15
	movl	4(%r12), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rdi
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	callq	_lang_for_code2
	movq	%rax, %r13
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ffmpeg_track_name
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	movl	$64, %esi
	callq	_calloc
	movq	%rax, %rbx
	movl	%r14d, (%rax)
	movl	%r14d, 8(%rax)
	movq	_HB_ACODEC_FFMPEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	(%r15), %ecx
	movl	%ecx, 12(%rbx)
	movq	$0, 40(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 32(%rbx)
	movabsq	$386547056640001, %rax          ## imm = 0x15F9000000001
	movq	%rax, 24(%rbx)
	addl	$-133, %ecx
	cmpl	$6, %ecx
	ja	LBB0_13
## %bb.4:
	movq	_HB_ACODEC_AC3@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_HB_ACODEC_FFTRUEHD@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_HB_ACODEC_MP3@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_8:
	movl	8(%r15), %edi
	movq	_HB_CONFIG_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MIN
	movl	%eax, %r14d
	movl	60(%rbx), %edi
	movl	4(%r15), %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	%r14d, 56(%rbx)
	movq	_HB_ACODEC_FFFLAC@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_6:
	movq	_HB_ACODEC_FFEAC3@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movl	12(%r15), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	jae	LBB0_13
## %bb.11:
	cltq
	leaq	l_switch.table.add_ffmpeg_audio(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_12
LBB0_5:
	movl	8(%r15), %edi
	movq	_HB_CONFIG_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MIN
	movl	%eax, %r14d
	movl	60(%rbx), %edi
	movl	4(%r15), %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	%r14d, 56(%rbx)
	movq	_HB_ACODEC_FFAAC@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
LBB0_13:
	movq	_AV_DISPOSITION_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_15
## %bb.14:
	movq	_HB_AUDIO_ATTR_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 48(%rbx)
LBB0_15:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_set_audio_description
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_strdup
	movl	%eax, 16(%rbx)
LBB0_17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hb_list_add                    ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"language"

L_.str.1:                               ## @.str.1
	.asciz	"und"

	.comm	_HB_ACODEC_FFMPEG,4,2           ## @HB_ACODEC_FFMPEG
	.comm	_HB_CONFIG_MAX_SIZE,4,2         ## @HB_CONFIG_MAX_SIZE
	.comm	_HB_ACODEC_FFAAC,4,2            ## @HB_ACODEC_FFAAC
	.comm	_HB_ACODEC_AC3,4,2              ## @HB_ACODEC_AC3
	.comm	_HB_ACODEC_FFEAC3,4,2           ## @HB_ACODEC_FFEAC3
	.comm	_HB_ACODEC_FFTRUEHD,4,2         ## @HB_ACODEC_FFTRUEHD
	.comm	_HB_ACODEC_DCA,4,2              ## @HB_ACODEC_DCA
	.comm	_HB_ACODEC_DCA_HD,4,2           ## @HB_ACODEC_DCA_HD
	.comm	_HB_ACODEC_FFFLAC,4,2           ## @HB_ACODEC_FFFLAC
	.comm	_HB_ACODEC_MP3,4,2              ## @HB_ACODEC_MP3
	.comm	_AV_DISPOSITION_DEFAULT,4,2     ## @AV_DISPOSITION_DEFAULT
	.comm	_HB_AUDIO_ATTR_DEFAULT,4,2      ## @HB_AUDIO_ATTR_DEFAULT
	.no_dead_strip	_add_ffmpeg_audio
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.add_ffmpeg_audio
l_switch.table.add_ffmpeg_audio:
	.quad	_HB_ACODEC_DCA_HD
	.quad	_HB_ACODEC_DCA_HD
	.quad	_HB_ACODEC_DCA
	.quad	_HB_ACODEC_DCA
	.quad	_HB_ACODEC_DCA

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function add_ffmpeg_audio
lCPI0_0:
	.long	1                               ; 0x1
	.long	90000                           ; 0x15f90
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_add_ffmpeg_audio:                      ; @add_ffmpeg_audio
	.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	x24, x2
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldr	x20, [x8, w2, sxtw #3]
	ldr	x25, [x20, #8]
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x0]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_3:
	bl	_lang_for_code2
	mov	x21, x0
	ldr	w1, [x0]
	mov	x0, x20
	bl	_ffmpeg_track_name
	mov	x22, x0
	mov	w0, #1
	mov	w1, #64
	bl	_calloc
	mov	x23, x0
	str	w24, [x0]
Lloh4:
	adrp	x8, _HB_ACODEC_FFMPEG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HB_ACODEC_FFMPEG@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x0, #20]
	ldr	w8, [x25]
	stp	w24, w8, [x0, #8]
	str	xzr, [x0, #40]
	ldr	w9, [x25, #16]
	str	w9, [x0, #32]
Lloh7:
	adrp	x9, lCPI0_0@PAGE
Lloh8:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x0, #24]
	sub	w9, w8, #133
	cmp	w9, #6
	b.hi	LBB0_13
; %bb.4:
Lloh9:
	adrp	x8, _HB_ACODEC_AC3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HB_ACODEC_AC3@GOTPAGEOFF]
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
Lloh13:
	adrp	x8, _HB_ACODEC_FFTRUEHD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HB_ACODEC_FFTRUEHD@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh15:
	adrp	x8, _HB_ACODEC_MP3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HB_ACODEC_MP3@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	ldr	w0, [x25, #8]
Lloh17:
	adrp	x8, _HB_CONFIG_MAX_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HB_CONFIG_MAX_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_MIN
	mov	x24, x0
	ldr	w0, [x23, #60]
	ldr	w1, [x25, #4]
	mov	x2, x24
	bl	_memcpy
	str	w24, [x23, #56]
Lloh20:
	adrp	x8, _HB_ACODEC_FFFLAC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HB_ACODEC_FFFLAC@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh22:
	adrp	x8, _HB_ACODEC_FFEAC3@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HB_ACODEC_FFEAC3@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	ldr	w8, [x25, #12]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hs	LBB0_13
; %bb.10:
Lloh24:
	adrp	x9, l_switch.table.add_ffmpeg_audio@PAGE
Lloh25:
	add	x9, x9, l_switch.table.add_ffmpeg_audio@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_12
LBB0_11:
	ldr	w0, [x25, #8]
Lloh26:
	adrp	x8, _HB_CONFIG_MAX_SIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HB_CONFIG_MAX_SIZE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_MIN
	mov	x24, x0
	ldr	w0, [x23, #60]
	ldr	w1, [x25, #4]
	mov	x2, x24
	bl	_memcpy
	str	w24, [x23, #56]
Lloh29:
	adrp	x8, _HB_ACODEC_FFAAC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HB_ACODEC_FFAAC@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	str	w8, [x23, #20]
LBB0_13:
	ldr	w8, [x20]
Lloh31:
	adrp	x9, _AV_DISPOSITION_DEFAULT@GOTPAGE
Lloh32:
	ldr	x9, [x9, _AV_DISPOSITION_DEFAULT@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
Lloh34:
	adrp	x8, _HB_AUDIO_ATTR_DEFAULT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HB_AUDIO_ATTR_DEFAULT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldr	w9, [x23, #48]
	orr	w8, w9, w8
	str	w8, [x23, #48]
LBB0_15:
	mov	x0, x23
	mov	x1, x21
	bl	_set_audio_description
	cbz	x22, LBB0_17
; %bb.16:
	mov	x0, x22
	bl	_strdup
	str	w0, [x23, #16]
LBB0_17:
	ldr	w0, [x19]
	mov	x1, x23
	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
	b	_hb_list_add
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"language"

l_.str.1:                               ; @.str.1
	.asciz	"und"

	.comm	_HB_ACODEC_FFMPEG,4,2           ; @HB_ACODEC_FFMPEG
	.comm	_HB_CONFIG_MAX_SIZE,4,2         ; @HB_CONFIG_MAX_SIZE
	.comm	_HB_ACODEC_FFAAC,4,2            ; @HB_ACODEC_FFAAC
	.comm	_HB_ACODEC_AC3,4,2              ; @HB_ACODEC_AC3
	.comm	_HB_ACODEC_FFEAC3,4,2           ; @HB_ACODEC_FFEAC3
	.comm	_HB_ACODEC_FFTRUEHD,4,2         ; @HB_ACODEC_FFTRUEHD
	.comm	_HB_ACODEC_DCA,4,2              ; @HB_ACODEC_DCA
	.comm	_HB_ACODEC_DCA_HD,4,2           ; @HB_ACODEC_DCA_HD
	.comm	_HB_ACODEC_FFFLAC,4,2           ; @HB_ACODEC_FFFLAC
	.comm	_HB_ACODEC_MP3,4,2              ; @HB_ACODEC_MP3
	.comm	_AV_DISPOSITION_DEFAULT,4,2     ; @AV_DISPOSITION_DEFAULT
	.comm	_HB_AUDIO_ATTR_DEFAULT,4,2      ; @HB_AUDIO_ATTR_DEFAULT
	.no_dead_strip	_add_ffmpeg_audio
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.add_ffmpeg_audio
l_switch.table.add_ffmpeg_audio:
	.quad	_HB_ACODEC_DCA_HD
	.quad	_HB_ACODEC_DCA_HD
	.quad	_HB_ACODEC_DCA
	.quad	_HB_ACODEC_DCA
	.quad	_HB_ACODEC_DCA

.subsections_via_symbols
