	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_finalize_job               ## -- Begin function ghb_finalize_job
	.p2align	4, 0x90
_ghb_finalize_job:                      ## @ghb_finalize_job
	.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	%rdi, %r14
	callq	_ghb_settings_to_preset
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_hb_preset_apply_mux
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_hb_preset_apply_video
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_hb_preset_apply_filters
	movq	%r14, %rdi
	callq	_ghb_get_job_filter_list
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, %r12d
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_ghb_dict_new
	movq	%rax, %rbx
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_ghb_dict_set_int
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_ghb_dict_set_int
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_ghb_dict_set_int
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_ghb_dict_set_int
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ghb_dict_set_int
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_ghb_dict_set_int
	xorl	%eax, %eax
	callq	_ghb_dict_new
	movq	%rax, %r14
	movq	_HB_FILTER_CROP_SCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_set_int
	leaq	L_.str.14(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_ghb_dict_set
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_hb_add_filter2
	leaq	-64(%rbp), %rdi
	callq	_ghb_value_free
	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	"Job"

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

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

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

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

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

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

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

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

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

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

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

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

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

	.comm	_HB_FILTER_CROP_SCALE,4,2       ## @HB_FILTER_CROP_SCALE
L_.str.14:                              ## @.str.14
	.asciz	"Settings"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_finalize_job               ; -- Begin function ghb_finalize_job
	.p2align	2
_ghb_finalize_job:                      ; @ghb_finalize_job
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
	bl	_ghb_settings_to_preset
	mov	x19, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_hb_preset_apply_mux
	mov	x0, x19
	mov	x1, x21
	bl	_hb_preset_apply_video
	mov	x0, x19
	mov	x1, x21
	bl	_hb_preset_apply_filters
	mov	x0, x20
	bl	_ghb_get_job_filter_list
	mov	x19, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x21, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x22, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x23, x0
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x24, x0
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x25, x0
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x26, x0
	bl	_ghb_dict_new
	mov	x20, x0
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x21
	bl	_ghb_dict_set_int
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_ghb_dict_set_int
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_ghb_dict_set_int
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_ghb_dict_set_int
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x2, x25
	bl	_ghb_dict_set_int
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	mov	x2, x26
	bl	_ghb_dict_set_int
	bl	_ghb_dict_new
	mov	x21, x0
Lloh26:
	adrp	x8, _HB_FILTER_CROP_SCALE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HB_FILTER_CROP_SCALE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x1, l_.str.13@PAGE
Lloh30:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_ghb_dict_set_int
Lloh31:
	adrp	x1, l_.str.14@PAGE
Lloh32:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_ghb_dict_set
	mov	x0, x19
	mov	x1, x21
	bl	_hb_add_filter2
	add	x0, sp, #8
	bl	_ghb_value_free
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Job"

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

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

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

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

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

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

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

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

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

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

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

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

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

	.comm	_HB_FILTER_CROP_SCALE,4,2       ; @HB_FILTER_CROP_SCALE
l_.str.14:                              ; @.str.14
	.asciz	"Settings"

.subsections_via_symbols
