	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_preset_to_settings         ## -- Begin function ghb_preset_to_settings
	.p2align	4, 0x90
_ghb_preset_to_settings:                ## @ghb_preset_to_settings
	.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, %r13
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_ghb_dict_remove
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_settings_init
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ghb_dict_copy
	leaq	L_.str.3(%rip), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ghb_dict_get_value
	movl	%eax, %edi
	callq	_ghb_value_dup
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_ghb_dict_set
	leaq	L_.str.5(%rip), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ghb_dict_get_value
	movl	%eax, %edi
	callq	_ghb_value_dup
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_ghb_dict_set
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ghb_dict_get_int
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ghb_dict_get_int
	movl	%eax, %r14d
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_int
	movb	$1, %cl
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	orl	%r14d, %ebx
	sete	%cl
LBB0_2:
	movzbl	%cl, %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_ghb_dict_set_bool
	xorb	$1, %bl
	movzbl	%bl, %ebx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_ghb_dict_set_int
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_ghb_dict_set_int
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_int
	cmpl	$2, %eax
	ja	LBB0_4
## %bb.3:
	movslq	%eax, %rcx
	leaq	l_switch.table.ghb_preset_to_settings(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	leaq	l_switch.table.ghb_preset_to_settings.40(%rip), %rdx
	movq	(%rdx,%rcx,8), %rbx
	jmp	LBB0_5
LBB0_4:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_set_bool
	movl	(%rbx), %edx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_set_bool
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_string
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	leaq	L_.str.14(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.18(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %r14
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	%rax, %rbx
	jmp	LBB0_11
LBB0_9:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	%rbx, %r14
	jmp	LBB0_11
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	%rax, %r14
LBB0_11:
	movl	(%rax), %edx
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_set_bool
	movl	(%rbx), %edx
	leaq	L_.str.16(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_set_bool
	movl	(%r14), %edx
	leaq	L_.str.17(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_set_bool
	movq	%r15, %rdi
	callq	_ghb_get_video_encoder
	movl	%eax, %ebx
	leaq	L_.str.19(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_string
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_ghb_set_video_preset
	leaq	L_.str.20(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_string
	movq	%rax, %rdi
	callq	_g_strdup
	testq	%rax, %rax
	je	LBB0_27
## %bb.12:
	movq	%rax, %r12
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.21(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rax, %rdi
	callq	_strtok_r
	movq	%rax, %r13
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.22(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_set_bool
	movl	(%rbx), %edx
	leaq	L_.str.23(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_set_bool
	testq	%r13, %r13
	je	LBB0_25
## %bb.13:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	leaq	L_.str.21(%rip), %rbx
	leaq	-64(%rbp), %r14
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	leaq	L_.str.22(%rip), %rsi
LBB0_15:                                ##   in Loop: Header=BB0_17 Depth=1
	callq	_ghb_dict_set_bool
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_strtok_r
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_23
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	leaq	L_.str.24(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.25(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	testq	%r12, %r12
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	leaq	L_.str.26(%rip), %rdi
	movq	%r13, %rsi
	callq	_ghb_log
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	leaq	L_.str.23(%rip), %rsi
	jmp	LBB0_15
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %rdi
	callq	_g_strdup
	movq	%rax, %r12
	jmp	LBB0_16
LBB0_23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_g_free
	testq	%r12, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_27
## %bb.24:
	leaq	L_.str.20(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_ghb_dict_set_string
	jmp	LBB0_26
LBB0_25:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_26:
	movq	%r12, %rdi
	callq	_g_free
LBB0_27:
	leaq	L_.str.27(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_string
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	leaq	L_.str.27(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_ghb_dict_set_string
LBB0_29:
	leaq	L_.str.28(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_string
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	leaq	L_.str.28(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_ghb_dict_set_string
LBB0_31:
	leaq	L_.str.29(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	leaq	L_.str.29(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_string
	leaq	L_.str.30(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_ghb_dict_set_string
LBB0_33:
	leaq	L_.str.31(%rip), %rsi
	movq	%r13, %rdi
	callq	_ghb_dict_get
	testq	%rax, %rax
	je	LBB0_39
## %bb.34:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ghb_array_len
	testl	%eax, %eax
	jle	LBB0_39
## %bb.35:
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	leaq	l_reltable.ghb_preset_to_settings(%rip), %r13
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_37 Depth=1
	incl	%ebx
	cmpl	%ebx, %r12d
	je	LBB0_39
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ghb_array_get
	movq	%rax, %rdi
	callq	_ghb_value_get_string
	movq	%rax, %rdi
	callq	_hb_audio_encoder_get_from_name
	addl	$-128, %eax
	cmpl	$18, %eax
	ja	LBB0_36
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	cltq
	movslq	(%r13,%rax,4), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_ghb_dict_set_bool
	jmp	LBB0_36
LBB0_39:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"x264Option"

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

L_.str.2:                               ## @.str.2
	.asciz	"scale_height"

L_.str.3:                               ## @.str.3
	.asciz	"PictureHeight"

L_.str.4:                               ## @.str.4
	.asciz	"scale_width"

L_.str.5:                               ## @.str.5
	.asciz	"PictureWidth"

L_.str.6:                               ## @.str.6
	.asciz	"UsesPictureSettings"

L_.str.7:                               ## @.str.7
	.asciz	"autoscale"

L_.str.8:                               ## @.str.8
	.asciz	"PictureWidthEnable"

L_.str.9:                               ## @.str.9
	.asciz	"PictureHeightEnable"

L_.str.10:                              ## @.str.10
	.asciz	"VideoQualityType"

L_.str.11:                              ## @.str.11
	.asciz	"vquality_type_bitrate"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.12:                              ## @.str.12
	.asciz	"vquality_type_constant"

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.13:                              ## @.str.13
	.asciz	"VideoFramerateMode"

L_.str.14:                              ## @.str.14
	.asciz	"cfr"

L_.str.15:                              ## @.str.15
	.asciz	"VideoFramerateCFR"

L_.str.16:                              ## @.str.16
	.asciz	"VideoFrameratePFR"

L_.str.17:                              ## @.str.17
	.asciz	"VideoFramerateVFR"

L_.str.18:                              ## @.str.18
	.asciz	"pfr"

L_.str.19:                              ## @.str.19
	.asciz	"VideoPreset"

L_.str.20:                              ## @.str.20
	.asciz	"VideoTune"

L_.str.21:                              ## @.str.21
	.asciz	",./-+"

L_.str.22:                              ## @.str.22
	.asciz	"x264FastDecode"

L_.str.23:                              ## @.str.23
	.asciz	"x264ZeroLatency"

L_.str.24:                              ## @.str.24
	.asciz	"fastdecode"

L_.str.25:                              ## @.str.25
	.asciz	"zerolatency"

L_.str.26:                              ## @.str.26
	.asciz	"Superfluous tunes! %s"

L_.str.27:                              ## @.str.27
	.asciz	"VideoProfile"

L_.str.28:                              ## @.str.28
	.asciz	"VideoLevel"

L_.str.29:                              ## @.str.29
	.asciz	"x264OptionExtra"

L_.str.30:                              ## @.str.30
	.asciz	"VideoOptionExtra"

L_.str.31:                              ## @.str.31
	.asciz	"AudioCopyMask"

L_.str.32:                              ## @.str.32
	.asciz	"AudioAllowMP3Pass"

L_.str.33:                              ## @.str.33
	.asciz	"AudioAllowAACPass"

L_.str.34:                              ## @.str.34
	.asciz	"AudioAllowAC3Pass"

L_.str.35:                              ## @.str.35
	.asciz	"AudioAllowDTSPass"

L_.str.36:                              ## @.str.36
	.asciz	"AudioAllowDTSHDPass"

L_.str.37:                              ## @.str.37
	.asciz	"AudioAllowEAC3Pass"

L_.str.38:                              ## @.str.38
	.asciz	"AudioAllowFLACPass"

L_.str.39:                              ## @.str.39
	.asciz	"AudioAllowTRUEHDPass"

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ghb_preset_to_settings
l_switch.table.ghb_preset_to_settings:
	.quad	_TRUE
	.quad	_TRUE
	.quad	_FALSE

	.p2align	3                               ## @switch.table.ghb_preset_to_settings.40
l_switch.table.ghb_preset_to_settings.40:
	.quad	_FALSE
	.quad	_FALSE
	.quad	_TRUE

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.ghb_preset_to_settings
l_reltable.ghb_preset_to_settings:
	.long	L_.str.39-l_reltable.ghb_preset_to_settings
	.long	L_.str.32-l_reltable.ghb_preset_to_settings
	.long	L_.str.32-l_reltable.ghb_preset_to_settings
	.long	L_.str.38-l_reltable.ghb_preset_to_settings
	.long	L_.str.39-l_reltable.ghb_preset_to_settings
	.long	L_.str.38-l_reltable.ghb_preset_to_settings
	.long	L_.str.38-l_reltable.ghb_preset_to_settings
	.long	L_.str.37-l_reltable.ghb_preset_to_settings
	.long	L_.str.33-l_reltable.ghb_preset_to_settings
	.long	L_.str.33-l_reltable.ghb_preset_to_settings
	.long	L_.str.37-l_reltable.ghb_preset_to_settings
	.long	L_.str.35-l_reltable.ghb_preset_to_settings
	.long	L_.str.36-l_reltable.ghb_preset_to_settings
	.long	L_.str.36-l_reltable.ghb_preset_to_settings
	.long	L_.str.35-l_reltable.ghb_preset_to_settings
	.long	L_.str.33-l_reltable.ghb_preset_to_settings
	.long	L_.str.34-l_reltable.ghb_preset_to_settings
	.long	L_.str.34-l_reltable.ghb_preset_to_settings
	.long	L_.str.33-l_reltable.ghb_preset_to_settings

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_preset_to_settings         ; -- Begin function ghb_preset_to_settings
	.p2align	2
_ghb_preset_to_settings:                ; @ghb_preset_to_settings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_dict_remove
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ghb_settings_init
	mov	x0, x19
	mov	x1, x23
	bl	_ghb_dict_copy
Lloh4:
	adrp	x20, l_.str.3@PAGE
Lloh5:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_ghb_dict_get_value
	bl	_ghb_value_dup
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set
Lloh8:
	adrp	x21, l_.str.5@PAGE
Lloh9:
	add	x21, x21, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ghb_dict_get_value
	bl	_ghb_value_dup
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set
	mov	x0, x19
	mov	x1, x21
	bl	_ghb_dict_get_int
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ghb_dict_get_int
	mov	x20, x0
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_int
	mov	w8, #1
	orr	w9, w21, w20
	cmp	w9, #0
	cset	w9, eq
	cmp	w0, #1
	csel	w20, w8, w9, ne
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ghb_dict_set_bool
	eor	w20, w20, #0x1
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ghb_dict_set_int
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ghb_dict_set_int
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_int
                                        ; kill: def $w0 killed $w0 def $x0
Lloh22:
	adrp	x24, _TRUE@GOTPAGE
Lloh23:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
Lloh24:
	adrp	x22, _FALSE@GOTPAGE
Lloh25:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	cmp	w0, #2
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x9, x0, #3, #32
Lloh26:
	adrp	x8, l_switch.table.ghb_preset_to_settings@PAGE
Lloh27:
	add	x8, x8, l_switch.table.ghb_preset_to_settings@PAGEOFF
	ldr	x8, [x8, x9]
Lloh28:
	adrp	x10, l_switch.table.ghb_preset_to_settings.40@PAGE
Lloh29:
	add	x10, x10, l_switch.table.ghb_preset_to_settings.40@PAGEOFF
	ldr	x20, [x10, x9]
	b	LBB0_3
LBB0_2:
	mov	x8, x22
	mov	x20, x24
LBB0_3:
	ldr	w2, [x8]
Lloh30:
	adrp	x1, l_.str.11@PAGE
Lloh31:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_bool
	ldr	w2, [x20]
Lloh32:
	adrp	x1, l_.str.12@PAGE
Lloh33:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_bool
Lloh34:
	adrp	x1, l_.str.13@PAGE
Lloh35:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_string
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, x0
Lloh36:
	adrp	x1, l_.str.14@PAGE
Lloh37:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.5:
Lloh38:
	adrp	x1, l_.str.18@PAGE
Lloh39:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_8
LBB0_6:
Lloh40:
	adrp	x20, _TRUE@GOTPAGE
Lloh41:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
Lloh42:
	adrp	x8, _FALSE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	mov	x21, x8
	b	LBB0_9
LBB0_7:
Lloh44:
	adrp	x21, _FALSE@GOTPAGE
Lloh45:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
Lloh46:
	adrp	x8, _TRUE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	mov	x20, x21
	b	LBB0_9
LBB0_8:
Lloh48:
	adrp	x21, _TRUE@GOTPAGE
Lloh49:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
Lloh50:
	adrp	x8, _FALSE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	mov	x20, x8
LBB0_9:
	ldr	w2, [x8]
Lloh52:
	adrp	x1, l_.str.15@PAGE
Lloh53:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_bool
	ldr	w2, [x21]
Lloh54:
	adrp	x1, l_.str.16@PAGE
Lloh55:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_bool
	ldr	w2, [x20]
Lloh56:
	adrp	x1, l_.str.17@PAGE
Lloh57:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_bool
	mov	x0, x19
	bl	_ghb_get_video_encoder
	mov	x20, x0
Lloh58:
	adrp	x1, l_.str.19@PAGE
Lloh59:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_string
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ghb_set_video_preset
Lloh60:
	adrp	x1, l_.str.20@PAGE
Lloh61:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_string
	bl	_g_strdup
	cbz	x0, LBB0_25
; %bb.10:
	mov	x21, x0
Lloh62:
	adrp	x1, l_.str.21@PAGE
Lloh63:
	add	x1, x1, l_.str.21@PAGEOFF
	add	x2, sp, #8
	bl	_strtok_r
	mov	x20, x0
	ldr	w2, [x22]
Lloh64:
	adrp	x1, l_.str.22@PAGE
Lloh65:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_bool
	ldr	w2, [x22]
Lloh66:
	adrp	x1, l_.str.23@PAGE
Lloh67:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_bool
	cbz	x20, LBB0_23
; %bb.11:
	str	x23, [sp]                       ; 8-byte Folded Spill
	mov	x22, #0
Lloh68:
	adrp	x23, l_.str.24@PAGE
Lloh69:
	add	x23, x23, l_.str.24@PAGEOFF
Lloh70:
	adrp	x27, l_.str.22@PAGE
Lloh71:
	add	x27, x27, l_.str.22@PAGEOFF
Lloh72:
	adrp	x25, l_.str.21@PAGE
Lloh73:
	add	x25, x25, l_.str.21@PAGEOFF
Lloh74:
	adrp	x26, l_.str.25@PAGE
Lloh75:
	add	x26, x26, l_.str.25@PAGEOFF
Lloh76:
	adrp	x28, l_.str.26@PAGE
Lloh77:
	add	x28, x28, l_.str.26@PAGEOFF
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x27
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	bl	_ghb_dict_set_bool
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x2, sp, #8
	mov	x0, #0
	mov	x1, x25
	bl	_strtok_r
	mov	x20, x0
	cbz	x0, LBB0_21
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_strcasecmp
	cbz	w0, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_strcasecmp
	cbz	w0, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	cbz	x22, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x28
	mov	x1, x20
	bl	_ghb_log
	b	LBB0_14
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
Lloh78:
	adrp	x1, l_.str.23@PAGE
Lloh79:
	add	x1, x1, l_.str.23@PAGEOFF
	b	LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	bl	_g_strdup
	mov	x22, x0
	b	LBB0_14
LBB0_21:
	mov	x0, x21
	bl	_g_free
	ldr	x23, [sp]                       ; 8-byte Folded Reload
	cbz	x22, LBB0_25
; %bb.22:
Lloh80:
	adrp	x1, l_.str.20@PAGE
Lloh81:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_ghb_dict_set_string
	b	LBB0_24
LBB0_23:
	mov	x22, x21
LBB0_24:
	mov	x0, x22
	bl	_g_free
LBB0_25:
Lloh82:
	adrp	x1, l_.str.27@PAGE
Lloh83:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_string
	cbz	x0, LBB0_27
; %bb.26:
	mov	x2, x0
Lloh84:
	adrp	x1, l_.str.27@PAGE
Lloh85:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_string
LBB0_27:
Lloh86:
	adrp	x1, l_.str.28@PAGE
Lloh87:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_string
	cbz	x0, LBB0_29
; %bb.28:
	mov	x2, x0
Lloh88:
	adrp	x1, l_.str.28@PAGE
Lloh89:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_string
LBB0_29:
Lloh90:
	adrp	x1, l_.str.29@PAGE
Lloh91:
	add	x1, x1, l_.str.29@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get
	cbz	x0, LBB0_31
; %bb.30:
Lloh92:
	adrp	x1, l_.str.29@PAGE
Lloh93:
	add	x1, x1, l_.str.29@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_string
	mov	x2, x0
Lloh94:
	adrp	x1, l_.str.30@PAGE
Lloh95:
	add	x1, x1, l_.str.30@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_set_string
LBB0_31:
Lloh96:
	adrp	x1, l_.str.31@PAGE
Lloh97:
	add	x1, x1, l_.str.31@PAGEOFF
	mov	x0, x23
	bl	_ghb_dict_get
	cbz	x0, LBB0_37
; %bb.32:
	mov	x20, x0
	bl	_ghb_array_len
	cmp	w0, #1
	b.lt	LBB0_37
; %bb.33:
	mov	x21, x0
	mov	w22, #0
Lloh98:
	adrp	x23, l_switch.table.ghb_preset_to_settings.41@PAGE
Lloh99:
	add	x23, x23, l_switch.table.ghb_preset_to_settings.41@PAGEOFF
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	add	w22, w22, #1
	cmp	w21, w22
	b.eq	LBB0_37
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_ghb_array_get
	bl	_ghb_value_get_string
	bl	_hb_audio_encoder_get_from_name
	sub	w8, w0, #128
	cmp	w8, #18
	b.hi	LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x1, [x23, w8, sxtw #3]
	mov	x0, x19
	mov	w2, #1
	bl	_ghb_dict_set_bool
	b	LBB0_34
LBB0_37:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"x264Option"

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

l_.str.2:                               ; @.str.2
	.asciz	"scale_height"

l_.str.3:                               ; @.str.3
	.asciz	"PictureHeight"

l_.str.4:                               ; @.str.4
	.asciz	"scale_width"

l_.str.5:                               ; @.str.5
	.asciz	"PictureWidth"

l_.str.6:                               ; @.str.6
	.asciz	"UsesPictureSettings"

l_.str.7:                               ; @.str.7
	.asciz	"autoscale"

l_.str.8:                               ; @.str.8
	.asciz	"PictureWidthEnable"

l_.str.9:                               ; @.str.9
	.asciz	"PictureHeightEnable"

l_.str.10:                              ; @.str.10
	.asciz	"VideoQualityType"

l_.str.11:                              ; @.str.11
	.asciz	"vquality_type_bitrate"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.12:                              ; @.str.12
	.asciz	"vquality_type_constant"

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.13:                              ; @.str.13
	.asciz	"VideoFramerateMode"

l_.str.14:                              ; @.str.14
	.asciz	"cfr"

l_.str.15:                              ; @.str.15
	.asciz	"VideoFramerateCFR"

l_.str.16:                              ; @.str.16
	.asciz	"VideoFrameratePFR"

l_.str.17:                              ; @.str.17
	.asciz	"VideoFramerateVFR"

l_.str.18:                              ; @.str.18
	.asciz	"pfr"

l_.str.19:                              ; @.str.19
	.asciz	"VideoPreset"

l_.str.20:                              ; @.str.20
	.asciz	"VideoTune"

l_.str.21:                              ; @.str.21
	.asciz	",./-+"

l_.str.22:                              ; @.str.22
	.asciz	"x264FastDecode"

l_.str.23:                              ; @.str.23
	.asciz	"x264ZeroLatency"

l_.str.24:                              ; @.str.24
	.asciz	"fastdecode"

l_.str.25:                              ; @.str.25
	.asciz	"zerolatency"

l_.str.26:                              ; @.str.26
	.asciz	"Superfluous tunes! %s"

l_.str.27:                              ; @.str.27
	.asciz	"VideoProfile"

l_.str.28:                              ; @.str.28
	.asciz	"VideoLevel"

l_.str.29:                              ; @.str.29
	.asciz	"x264OptionExtra"

l_.str.30:                              ; @.str.30
	.asciz	"VideoOptionExtra"

l_.str.31:                              ; @.str.31
	.asciz	"AudioCopyMask"

l_.str.32:                              ; @.str.32
	.asciz	"AudioAllowMP3Pass"

l_.str.33:                              ; @.str.33
	.asciz	"AudioAllowAACPass"

l_.str.34:                              ; @.str.34
	.asciz	"AudioAllowAC3Pass"

l_.str.35:                              ; @.str.35
	.asciz	"AudioAllowDTSPass"

l_.str.36:                              ; @.str.36
	.asciz	"AudioAllowDTSHDPass"

l_.str.37:                              ; @.str.37
	.asciz	"AudioAllowEAC3Pass"

l_.str.38:                              ; @.str.38
	.asciz	"AudioAllowFLACPass"

l_.str.39:                              ; @.str.39
	.asciz	"AudioAllowTRUEHDPass"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ghb_preset_to_settings
l_switch.table.ghb_preset_to_settings:
	.quad	_TRUE
	.quad	_TRUE
	.quad	_FALSE

	.p2align	3                               ; @switch.table.ghb_preset_to_settings.40
l_switch.table.ghb_preset_to_settings.40:
	.quad	_FALSE
	.quad	_FALSE
	.quad	_TRUE

	.p2align	3                               ; @switch.table.ghb_preset_to_settings.41
l_switch.table.ghb_preset_to_settings.41:
	.quad	l_.str.39
	.quad	l_.str.32
	.quad	l_.str.32
	.quad	l_.str.38
	.quad	l_.str.39
	.quad	l_.str.38
	.quad	l_.str.38
	.quad	l_.str.37
	.quad	l_.str.33
	.quad	l_.str.33
	.quad	l_.str.37
	.quad	l_.str.35
	.quad	l_.str.36
	.quad	l_.str.36
	.quad	l_.str.35
	.quad	l_.str.33
	.quad	l_.str.34
	.quad	l_.str.34
	.quad	l_.str.33

.subsections_via_symbols
