	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subtitle_add_to_settings
_subtitle_add_to_settings:              ## @subtitle_add_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_ghb_get_job_subtitle_list
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_string
	movq	%rax, %rdi
	callq	_ghb_lookup_container_by_name
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_get_sub_source
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_bool
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_subtitle_can_burn
	movl	$1, %r13d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_ghb_dict_set_bool
	testq	%r13, %r13
	jne	LBB0_7
LBB0_4:
	movl	(%r12), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_subtitle_can_pass
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	xorl	%r13d, %r13d
	jmp	LBB0_7
LBB0_14:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_g_warning                      ## TAILCALL
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_ghb_dict_set_bool
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_set_bool
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_bool
	movq	%rax, %r12
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_bool
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_subtitle_can_force
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_set_bool
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ghb_array_append
	movq	%r15, %rdi
	callq	_ghb_array_len
	movq	%rax, %rbx
	testq	%r13, %r13
	je	LBB0_12
## %bb.11:
	leaq	-1(%rbx), %rsi
	movq	%r14, %rdi
	callq	_subtitle_exclusive_burn_settings
LBB0_12:
	testq	%r12, %r12
	je	LBB0_13
## %bb.15:
	decq	%rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_subtitle_exclusive_default_settings ## TAILCALL
LBB0_13:
	addq	$8, %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	"No subtitle list!"

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

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

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
L_.str.3:                               ## @.str.3
	.asciz	"Default"

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

	.no_dead_strip	_subtitle_add_to_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subtitle_add_to_settings
_subtitle_add_to_settings:              ; @subtitle_add_to_settings
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_ghb_get_job_subtitle_list
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_string
	bl	_ghb_lookup_container_by_name
	mov	x24, x0
	mov	x0, x19
	mov	x1, x20
	bl	_get_sub_source
	mov	x22, x0
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_bool
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x22
	bl	_hb_subtitle_can_burn
	cbz	w0, LBB0_5
; %bb.3:
	mov	w23, #1
	b	LBB0_9
LBB0_4:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_g_warning
LBB0_5:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	x23, [x8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_ghb_dict_set_bool
	cbnz	x23, LBB0_9
LBB0_6:
	ldr	w1, [x24]
	mov	x0, x22
	bl	_hb_subtitle_can_pass
	cbz	w0, LBB0_8
; %bb.7:
	mov	x23, #0
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	x23, [x8]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_ghb_dict_set_bool
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh18:
	ldr	x2, [x8]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_set_bool
LBB0_9:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_bool
	mov	x24, x0
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_bool
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x22
	bl	_hb_subtitle_can_force
	cbnz	w0, LBB0_12
; %bb.11:
Lloh25:
	adrp	x8, _FALSE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh27:
	ldr	x2, [x8]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_set_bool
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	bl	_ghb_array_append
	mov	x0, x21
	bl	_ghb_array_len
	mov	x20, x0
	cbz	x23, LBB0_14
; %bb.13:
	sub	x1, x20, #1
	mov	x0, x19
	bl	_subtitle_exclusive_burn_settings
LBB0_14:
	cbz	x24, LBB0_16
; %bb.15:
	sub	x1, x20, #1
	mov	x0, x19
	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
	b	_subtitle_exclusive_default_settings
LBB0_16:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No subtitle list!"

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

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

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
l_.str.3:                               ; @.str.3
	.asciz	"Default"

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

	.no_dead_strip	_subtitle_add_to_settings
.subsections_via_symbols
