	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_preset_apply_title          ## -- Begin function hb_preset_apply_title
	.p2align	4, 0x90
_hb_preset_apply_title:                 ## @hb_preset_apply_title
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_hb_find_title_by_index
	testq	%rax, %rax
	je	LBB0_31
## %bb.1:
	movq	%rax, %r13
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_bool
	movl	%eax, %ebx
	movl	20(%r13), %edi
	callq	_hb_list_count
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	cmpl	$2, %eax
	cmovgel	%ebx, %r14d
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_dict_get
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_hb_value_bool
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_hb_dict_set
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_dict_get
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	callq	_hb_dict_get
	movq	%rax, %r14
	movups	(%r13), %xmm0
	movaps	%xmm0, -176(%rbp)
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_bool
	testl	%eax, %eax
	je	LBB0_14
## %bb.2:
	movl	16(%r13), %esi
	movl	$8, %edx
	callq	_memcpy
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	cmpl	$3, %eax
	movl	$2, %ebx
	cmovgel	%eax, %ebx
	movl	%ebx, -128(%rbp)
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_bool
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%ebx, %esi
	callq	_MULTIPLE_MOD_DOWN
	movl	%ebx, %esi
	callq	_MULTIPLE_MOD_DOWN
	xorl	%edi, %edi
	callq	_EVEN
	xorl	%edi, %edi
	callq	_EVEN
LBB0_4:
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	jne	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	callq	_hb_value_get_string
	movq	%rax, %rbx
	leaq	L_.str.12(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	leaq	L_.str.15(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:
	movq	_HB_ANAMORPHIC_LOOSE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_10:
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	movq	%rax, %r15
	jmp	LBB0_17
LBB0_11:
	movq	_HB_ANAMORPHIC_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_12:
	movq	_HB_ANAMORPHIC_STRICT@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_HB_ANAMORPHIC_CUSTOM@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	%r12, %rdi
	callq	_hb_preset_apply_title.cold.1
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_15:
	movq	_HB_ANAMORPHIC_AUTO@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %r15
LBB0_17:
	movq	%r15, -120(%rbp)
	leaq	L_.str.16(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_bool
	movl	%eax, %r14d
	movq	_HB_ANAMORPHIC_STRICT@GOTPCREL(%rip), %rax
	movq	_HB_ANAMORPHIC_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	movq	_HB_ANAMORPHIC_LOOSE@GOTPCREL(%rip), %rcx
	movl	$1, %edx
	cmovel	%edx, %r14d
	cmpq	(%rcx), %r15
	cmovel	%edx, %r14d
	cmpq	(%rax), %r15
	cmovel	%edx, %r14d
	movq	_HB_KEEP_DISPLAY_ASPECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	imull	%r14d, %ebx
	movl	%ebx, -112(%rbp)
	leaq	L_.str.17(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_bool
	movl	%eax, -108(%rbp)
	leaq	L_.str.18(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	movq	%rax, -80(%rbp)
	leaq	L_.str.19(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	movq	%rax, -88(%rbp)
	movups	(%r13), %xmm0
	movups	%xmm0, -104(%rbp)
	leaq	L_.str.20(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	movq	%rax, %r13
	leaq	L_.str.21(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	testl	%r13d, %r13d
	jle	LBB0_19
## %bb.18:
	movl	%r13d, -104(%rbp)
	movq	_HB_KEEP_WIDTH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movl	%ebx, -112(%rbp)
LBB0_19:
	testl	%eax, %eax
	jle	LBB0_21
## %bb.20:
	movl	%eax, -100(%rbp)
	movq	_HB_KEEP_HEIGHT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, -112(%rbp)
LBB0_21:
	movq	_HB_ANAMORPHIC_CUSTOM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_27
## %bb.22:
	testl	%r14d, %r14d
	jne	LBB0_27
## %bb.23:
	leaq	L_.str.22(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	testl	%eax, %eax
	jle	LBB0_25
## %bb.24:
	movl	%eax, -96(%rbp)
	jmp	LBB0_26
LBB0_25:
	leaq	L_.str.23(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	movl	%eax, -96(%rbp)
	leaq	L_.str.24(%rip), %rsi
	movq	%r12, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	movq	%rax, %r13
LBB0_26:
	movl	%r13d, -92(%rbp)
LBB0_27:
	leaq	-176(%rbp), %rdi
	leaq	-136(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	callq	_hb_set_anamorphic_size2
	leaq	L_.str.25(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_dict_get
	movq	%rax, %rbx
	movl	-64(%rbp), %edi
	callq	_hb_value_int
	leaq	L_.str.26(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	movl	-60(%rbp), %edi
	callq	_hb_value_int
	leaq	L_.str.27(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	xorl	%eax, %eax
	callq	_hb_dict_init
	movq	%rax, %rbx
	movq	%rax, -160(%rbp)
	movl	-72(%rbp), %edi
	callq	_hb_value_int
	leaq	L_.str.28(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	movl	-68(%rbp), %edi
	callq	_hb_value_int
	leaq	L_.str.29(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	movq	-136(%rbp), %rax
	movl	(%rax), %edi
	callq	_hb_value_int
	leaq	L_.str.30(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	movq	-136(%rbp), %rax
	movl	4(%rax), %edi
	callq	_hb_value_int
	leaq	L_.str.31(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	movq	-136(%rbp), %rax
	movl	8(%rax), %edi
	callq	_hb_value_int
	leaq	L_.str.32(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	movq	-136(%rbp), %rax
	movl	12(%rax), %edi
	callq	_hb_value_int
	leaq	L_.str.33(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	movq	_HB_FILTER_CROP_SCALE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_hb_validate_filter_settings
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	leaq	L_.str.34(%rip), %rdi
	callq	_hb_error
	leaq	-160(%rbp), %rdi
	callq	_hb_value_free
	jmp	LBB0_31
LBB0_29:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_hb_dict_init
	movq	%rax, %r14
	movl	(%r13), %edi
	callq	_hb_value_int
	leaq	L_.str.35(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	leaq	L_.str.36(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_hb_dict_set
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	callq	_hb_add_filter2
	movq	-152(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_hb_preset_job_add_audio
	testq	%rax, %rax
	jne	LBB0_31
## %bb.30:
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_hb_preset_job_add_subtitles
	testq	%rax, %rax
	je	LBB0_32
LBB0_31:
	movl	$-1, %r15d
LBB0_32:
	movl	%r15d, %eax
LBB0_33:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function hb_preset_apply_title.cold.1
_hb_preset_apply_title.cold.1:          ## @hb_preset_apply_title.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.5(%rip), %rsi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_int
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ChapterMarkers"

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

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

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

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

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

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

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

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

	.comm	_HB_VALUE_TYPE_STRING,8,3       ## @HB_VALUE_TYPE_STRING
L_.str.12:                              ## @.str.12
	.asciz	"off"

	.comm	_HB_ANAMORPHIC_NONE,8,3         ## @HB_ANAMORPHIC_NONE
L_.str.13:                              ## @.str.13
	.asciz	"strict"

	.comm	_HB_ANAMORPHIC_STRICT,8,3       ## @HB_ANAMORPHIC_STRICT
L_.str.14:                              ## @.str.14
	.asciz	"custom"

	.comm	_HB_ANAMORPHIC_CUSTOM,8,3       ## @HB_ANAMORPHIC_CUSTOM
L_.str.15:                              ## @.str.15
	.asciz	"auto"

	.comm	_HB_ANAMORPHIC_AUTO,8,3         ## @HB_ANAMORPHIC_AUTO
	.comm	_HB_ANAMORPHIC_LOOSE,8,3        ## @HB_ANAMORPHIC_LOOSE
L_.str.16:                              ## @.str.16
	.asciz	"PictureKeepRatio"

	.comm	_HB_KEEP_DISPLAY_ASPECT,4,2     ## @HB_KEEP_DISPLAY_ASPECT
L_.str.17:                              ## @.str.17
	.asciz	"PictureItuPAR"

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

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

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

L_.str.21:                              ## @.str.21
	.asciz	"PictureForceHeight"

	.comm	_HB_KEEP_WIDTH,4,2              ## @HB_KEEP_WIDTH
	.comm	_HB_KEEP_HEIGHT,4,2             ## @HB_KEEP_HEIGHT
L_.str.22:                              ## @.str.22
	.asciz	"PictureDARWidth"

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

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

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

L_.str.26:                              ## @.str.26
	.asciz	"Num"

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

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

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

L_.str.30:                              ## @.str.30
	.asciz	"crop-top"

L_.str.31:                              ## @.str.31
	.asciz	"crop-bottom"

L_.str.32:                              ## @.str.32
	.asciz	"crop-left"

L_.str.33:                              ## @.str.33
	.asciz	"crop-right"

	.comm	_HB_FILTER_CROP_SCALE,4,2       ## @HB_FILTER_CROP_SCALE
L_.str.34:                              ## @.str.34
	.asciz	"hb_preset_apply_title: Internal error, invalid CROP_SCALE"

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_preset_apply_title          ; -- Begin function hb_preset_apply_title
	.p2align	2
_hb_preset_apply_title:                 ; @hb_preset_apply_title
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_hb_find_title_by_index
	cbz	x0, LBB0_29
; %bb.1:
	mov	x24, x0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	bl	_hb_dict_get
	bl	_hb_value_get_bool
	mov	x25, x0
	ldr	w0, [x24, #20]
	bl	_hb_list_count
	cmp	w0, #2
	csel	w25, wzr, w25, lt
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	mov	x26, x0
	mov	x0, x25
	bl	_hb_value_bool
	mov	x2, x0
	mov	x0, x26
	mov	x1, x23
	bl	_hb_dict_set
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_hb_dict_get
	mov	x23, x0
	ldr	q0, [x24]
	str	q0, [sp, #96]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_bool
	cbz	w0, LBB0_31
; %bb.2:
	str	x23, [sp]                       ; 8-byte Folded Spill
	ldr	w1, [x24, #16]
	mov	w2, #8
	bl	_memcpy
Lloh10:
	adrp	x1, l_.str.9@PAGE
Lloh11:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	mov	w8, #2
	cmp	w0, #2
	csel	w25, w0, w8, gt
	str	w25, [sp, #24]
Lloh12:
	adrp	x1, l_.str.10@PAGE
Lloh13:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_bool
	cbz	w0, LBB0_4
; %bb.3:
	mov	x1, x25
	bl	_MULTIPLE_MOD_DOWN
	mov	x1, x25
	bl	_MULTIPLE_MOD_DOWN
	mov	w0, #0
	bl	_EVEN
	mov	w0, #0
	bl	_EVEN
LBB0_4:
Lloh14:
	adrp	x1, l_.str.11@PAGE
Lloh15:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	mov	x25, x0
	bl	_hb_value_type
Lloh16:
	adrp	x8, _HB_VALUE_TYPE_STRING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HB_VALUE_TYPE_STRING@GOTPAGEOFF]
Lloh18:
	adrp	x27, _HB_ANAMORPHIC_LOOSE@GOTPAGE
Lloh19:
	ldr	x27, [x27, _HB_ANAMORPHIC_LOOSE@GOTPAGEOFF]
Lloh20:
	adrp	x28, _HB_ANAMORPHIC_AUTO@GOTPAGE
Lloh21:
	ldr	x28, [x28, _HB_ANAMORPHIC_AUTO@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x26, _HB_ANAMORPHIC_CUSTOM@GOTPAGE
Lloh24:
	ldr	x26, [x26, _HB_ANAMORPHIC_CUSTOM@GOTPAGEOFF]
Lloh25:
	adrp	x23, _HB_ANAMORPHIC_STRICT@GOTPAGE
Lloh26:
	ldr	x23, [x23, _HB_ANAMORPHIC_STRICT@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x25
	bl	_hb_value_get_string
	mov	x25, x0
Lloh27:
	adrp	x1, l_.str.12@PAGE
Lloh28:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_11
; %bb.6:
Lloh29:
	adrp	x1, l_.str.13@PAGE
Lloh30:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x25
	bl	_strcasecmp
	cbz	w0, LBB0_12
; %bb.7:
Lloh31:
	adrp	x1, l_.str.14@PAGE
Lloh32:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x25
	bl	_strcasecmp
	cbz	w0, LBB0_13
; %bb.8:
Lloh33:
	adrp	x1, l_.str.15@PAGE
Lloh34:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x25
	bl	_strcasecmp
	cbz	w0, LBB0_14
; %bb.9:
	ldr	x25, [x27]
	b	LBB0_15
LBB0_10:
Lloh35:
	adrp	x1, l_.str.11@PAGE
Lloh36:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	mov	x25, x0
	b	LBB0_15
LBB0_11:
Lloh37:
	adrp	x8, _HB_ANAMORPHIC_NONE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _HB_ANAMORPHIC_NONE@GOTPAGEOFF]
Lloh39:
	ldr	x25, [x8]
	b	LBB0_15
LBB0_12:
	ldr	x25, [x23]
	b	LBB0_15
LBB0_13:
	ldr	x25, [x26]
	b	LBB0_15
LBB0_14:
	ldr	x25, [x28]
LBB0_15:
	str	x25, [sp, #32]
Lloh40:
	adrp	x1, l_.str.16@PAGE
Lloh41:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_bool
	ldr	x8, [x23]
	ldr	x9, [x27]
	ldr	x10, [x28]
	cmp	x25, x10
	ccmp	x25, x9, #4, ne
	ccmp	x25, x8, #4, ne
	csinc	w23, w0, wzr, ne
Lloh42:
	adrp	x8, _HB_KEEP_DISPLAY_ASPECT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _HB_KEEP_DISPLAY_ASPECT@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	mul	w27, w23, w8
	str	w27, [sp, #40]
Lloh45:
	adrp	x1, l_.str.17@PAGE
Lloh46:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_bool
	str	w0, [sp, #44]
Lloh47:
	adrp	x1, l_.str.18@PAGE
Lloh48:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	str	x0, [sp, #72]
Lloh49:
	adrp	x1, l_.str.19@PAGE
Lloh50:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	str	x0, [sp, #64]
	ldr	q0, [x24]
	str	q0, [sp, #48]
Lloh51:
	adrp	x1, l_.str.20@PAGE
Lloh52:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	mov	x24, x0
Lloh53:
	adrp	x1, l_.str.21@PAGE
Lloh54:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	cmp	w24, #1
	b.lt	LBB0_17
; %bb.16:
Lloh55:
	adrp	x8, _HB_KEEP_WIDTH@GOTPAGE
Lloh56:
	ldr	x8, [x8, _HB_KEEP_WIDTH@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	orr	w27, w27, w8
	str	w24, [sp, #48]
	str	w27, [sp, #40]
LBB0_17:
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.18:
Lloh58:
	adrp	x8, _HB_KEEP_HEIGHT@GOTPAGE
Lloh59:
	ldr	x8, [x8, _HB_KEEP_HEIGHT@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	orr	w8, w27, w8
	str	w0, [sp, #52]
	str	w8, [sp, #40]
LBB0_19:
	ldr	x8, [x26]
	cmp	x25, x8
	b.ne	LBB0_25
; %bb.20:
	cbnz	w23, LBB0_25
; %bb.21:
Lloh61:
	adrp	x1, l_.str.22@PAGE
Lloh62:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	cmp	w0, #1
	b.lt	LBB0_23
; %bb.22:
	str	w0, [sp, #56]
	b	LBB0_24
LBB0_23:
Lloh63:
	adrp	x1, l_.str.23@PAGE
Lloh64:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	str	w0, [sp, #56]
Lloh65:
	adrp	x1, l_.str.24@PAGE
Lloh66:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x0, x19
	bl	_hb_dict_get
	bl	_hb_value_get_int
	mov	x24, x0
LBB0_24:
	str	w24, [sp, #60]
LBB0_25:
	add	x0, sp, #96
	add	x1, sp, #16
	add	x2, sp, #80
	bl	_hb_set_anamorphic_size2
Lloh67:
	adrp	x1, l_.str.25@PAGE
Lloh68:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	mov	x24, x0
	ldr	w0, [sp, #88]
	bl	_hb_value_int
	mov	x2, x0
Lloh69:
	adrp	x1, l_.str.26@PAGE
Lloh70:
	add	x1, x1, l_.str.26@PAGEOFF
	mov	x0, x24
	bl	_hb_dict_set
	ldr	w0, [sp, #92]
	bl	_hb_value_int
	mov	x2, x0
Lloh71:
	adrp	x1, l_.str.27@PAGE
Lloh72:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x0, x24
	bl	_hb_dict_set
	bl	_hb_dict_init
	mov	x24, x0
	str	x0, [sp, #8]
	ldr	w0, [sp, #80]
	bl	_hb_value_int
	mov	x2, x0
Lloh73:
	adrp	x1, l_.str.28@PAGE
Lloh74:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	x0, x24
	bl	_hb_dict_set
	ldr	w0, [sp, #84]
	bl	_hb_value_int
	mov	x2, x0
Lloh75:
	adrp	x1, l_.str.29@PAGE
Lloh76:
	add	x1, x1, l_.str.29@PAGEOFF
	mov	x0, x24
	bl	_hb_dict_set
	ldr	x8, [sp, #16]
	ldr	w0, [x8]
	bl	_hb_value_int
	mov	x2, x0
Lloh77:
	adrp	x1, l_.str.30@PAGE
Lloh78:
	add	x1, x1, l_.str.30@PAGEOFF
	mov	x0, x24
	bl	_hb_dict_set
	ldr	x8, [sp, #16]
	ldr	w0, [x8, #4]
	bl	_hb_value_int
	mov	x2, x0
Lloh79:
	adrp	x1, l_.str.31@PAGE
Lloh80:
	add	x1, x1, l_.str.31@PAGEOFF
	mov	x0, x24
	bl	_hb_dict_set
	ldr	x8, [sp, #16]
	ldr	w0, [x8, #8]
	bl	_hb_value_int
	mov	x2, x0
Lloh81:
	adrp	x1, l_.str.32@PAGE
Lloh82:
	add	x1, x1, l_.str.32@PAGEOFF
	mov	x0, x24
	bl	_hb_dict_set
	ldr	x8, [sp, #16]
	ldr	w0, [x8, #12]
	bl	_hb_value_int
	mov	x2, x0
Lloh83:
	adrp	x1, l_.str.33@PAGE
Lloh84:
	add	x1, x1, l_.str.33@PAGEOFF
	mov	x0, x24
	bl	_hb_dict_set
Lloh85:
	adrp	x23, _HB_FILTER_CROP_SCALE@GOTPAGE
Lloh86:
	ldr	x23, [x23, _HB_FILTER_CROP_SCALE@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x24
	bl	_hb_validate_filter_settings
	cbz	x0, LBB0_27
; %bb.26:
Lloh87:
	adrp	x0, l_.str.34@PAGE
Lloh88:
	add	x0, x0, l_.str.34@PAGEOFF
	bl	_hb_error
	add	x0, sp, #8
	bl	_hb_value_free
	b	LBB0_29
LBB0_27:
	bl	_hb_dict_init
	mov	x25, x0
	ldr	w0, [x23]
	bl	_hb_value_int
	mov	x2, x0
Lloh89:
	adrp	x1, l_.str.35@PAGE
Lloh90:
	add	x1, x1, l_.str.35@PAGEOFF
	mov	x0, x25
	bl	_hb_dict_set
Lloh91:
	adrp	x1, l_.str.36@PAGE
Lloh92:
	add	x1, x1, l_.str.36@PAGEOFF
	mov	x0, x25
	mov	x2, x24
	bl	_hb_dict_set
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x25
	bl	_hb_add_filter2
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_hb_preset_job_add_audio
	cbnz	x0, LBB0_29
; %bb.28:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_hb_preset_job_add_subtitles
	cbz	x0, LBB0_30
LBB0_29:
	mov	w0, #-1
LBB0_30:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_31:
	mov	x0, x19
	bl	_hb_preset_apply_title.cold.1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh22
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function hb_preset_apply_title.cold.1
_hb_preset_apply_title.cold.1:          ; @hb_preset_apply_title.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh93:
	adrp	x1, l_.str.5@PAGE
Lloh94:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_hb_dict_get
	bl	_hb_value_get_int
	brk	#0x1
	.loh AdrpAdd	Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ChapterMarkers"

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

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

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

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

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

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

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

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

	.comm	_HB_VALUE_TYPE_STRING,8,3       ; @HB_VALUE_TYPE_STRING
l_.str.12:                              ; @.str.12
	.asciz	"off"

	.comm	_HB_ANAMORPHIC_NONE,8,3         ; @HB_ANAMORPHIC_NONE
l_.str.13:                              ; @.str.13
	.asciz	"strict"

	.comm	_HB_ANAMORPHIC_STRICT,8,3       ; @HB_ANAMORPHIC_STRICT
l_.str.14:                              ; @.str.14
	.asciz	"custom"

	.comm	_HB_ANAMORPHIC_CUSTOM,8,3       ; @HB_ANAMORPHIC_CUSTOM
l_.str.15:                              ; @.str.15
	.asciz	"auto"

	.comm	_HB_ANAMORPHIC_AUTO,8,3         ; @HB_ANAMORPHIC_AUTO
	.comm	_HB_ANAMORPHIC_LOOSE,8,3        ; @HB_ANAMORPHIC_LOOSE
l_.str.16:                              ; @.str.16
	.asciz	"PictureKeepRatio"

	.comm	_HB_KEEP_DISPLAY_ASPECT,4,2     ; @HB_KEEP_DISPLAY_ASPECT
l_.str.17:                              ; @.str.17
	.asciz	"PictureItuPAR"

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

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

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

l_.str.21:                              ; @.str.21
	.asciz	"PictureForceHeight"

	.comm	_HB_KEEP_WIDTH,4,2              ; @HB_KEEP_WIDTH
	.comm	_HB_KEEP_HEIGHT,4,2             ; @HB_KEEP_HEIGHT
l_.str.22:                              ; @.str.22
	.asciz	"PictureDARWidth"

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

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

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

l_.str.26:                              ; @.str.26
	.asciz	"Num"

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

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

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

l_.str.30:                              ; @.str.30
	.asciz	"crop-top"

l_.str.31:                              ; @.str.31
	.asciz	"crop-bottom"

l_.str.32:                              ; @.str.32
	.asciz	"crop-left"

l_.str.33:                              ; @.str.33
	.asciz	"crop-right"

	.comm	_HB_FILTER_CROP_SCALE,4,2       ; @HB_FILTER_CROP_SCALE
l_.str.34:                              ; @.str.34
	.asciz	"hb_preset_apply_title: Internal error, invalid CROP_SCALE"

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

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

.subsections_via_symbols
