	.file	"extr_queuehandler.c_ghb_finalize_job.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Job"
.LC1:
	.string	"scale_width"
.LC2:
	.string	"scale_height"
.LC3:
	.string	"PictureTopCrop"
.LC4:
	.string	"PictureBottomCrop"
.LC5:
	.string	"PictureLeftCrop"
.LC6:
	.string	"PictureRightCrop"
.LC7:
	.string	"width"
.LC8:
	.string	"height"
.LC9:
	.string	"crop-top"
.LC10:
	.string	"crop-bottom"
.LC11:
	.string	"crop-left"
.LC12:
	.string	"crop-right"
.LC13:
	.string	"ID"
.LC14:
	.string	"Settings"
	.text
	.p2align 4
	.globl	ghb_finalize_job
	.type	ghb_finalize_job, @function
ghb_finalize_job:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	ghb_settings_to_preset@PLT
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 16[rsp], rax
	call	ghb_dict_get@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, rax
	mov	r12, rax
	call	hb_preset_apply_mux@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, r12
	call	hb_preset_apply_video@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, r12
	call	hb_preset_apply_filters@PLT
	mov	rdi, rbp
	call	ghb_get_job_filter_list@PLT
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	mov	r13, rax
	call	ghb_dict_get_int@PLT
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	mov	DWORD PTR 12[rsp], eax
	call	ghb_dict_get_int@PLT
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	mov	DWORD PTR 8[rsp], eax
	call	ghb_dict_get_int@PLT
	mov	rdi, rbp
	lea	rsi, .LC4[rip]
	mov	DWORD PTR 4[rsp], eax
	call	ghb_dict_get_int@PLT
	mov	rdi, rbp
	lea	rsi, .LC5[rip]
	mov	ebx, eax
	call	ghb_dict_get_int@PLT
	mov	rdi, rbp
	lea	rsi, .LC6[rip]
	mov	r15d, eax
	call	ghb_dict_get_int@PLT
	mov	r14d, eax
	xor	eax, eax
	call	ghb_dict_new@PLT
	mov	edx, DWORD PTR 12[rsp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	r12, rax
	call	ghb_dict_set_int@PLT
	mov	r9d, DWORD PTR 8[rsp]
	lea	rsi, .LC8[rip]
	mov	rdi, r12
	mov	edx, r9d
	call	ghb_dict_set_int@PLT
	mov	r8d, DWORD PTR 4[rsp]
	lea	rsi, .LC9[rip]
	mov	rdi, r12
	mov	edx, r8d
	call	ghb_dict_set_int@PLT
	mov	edx, ebx
	lea	rsi, .LC10[rip]
	mov	rdi, r12
	call	ghb_dict_set_int@PLT
	mov	edx, r15d
	lea	rsi, .LC11[rip]
	mov	rdi, r12
	call	ghb_dict_set_int@PLT
	mov	edx, r14d
	lea	rsi, .LC12[rip]
	mov	rdi, r12
	call	ghb_dict_set_int@PLT
	xor	eax, eax
	call	ghb_dict_new@PLT
	mov	edx, DWORD PTR HB_FILTER_CROP_SCALE[rip]
	lea	rsi, .LC13[rip]
	mov	rbp, rax
	mov	rdi, rax
	call	ghb_dict_set_int@PLT
	mov	rdx, r12
	lea	rsi, .LC14[rip]
	mov	rdi, rbp
	call	ghb_dict_set@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	hb_add_filter2@PLT
	lea	rdi, 16[rsp]
	call	ghb_value_free@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ghb_finalize_job, .-ghb_finalize_job
	.comm	HB_FILTER_CROP_SCALE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_queuehandler.c_ghb_finalize_job.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Job\000"
	.align	2
.LC1:
	.ascii	"scale_width\000"
	.align	2
.LC2:
	.ascii	"scale_height\000"
	.align	2
.LC3:
	.ascii	"PictureTopCrop\000"
	.align	2
.LC4:
	.ascii	"PictureBottomCrop\000"
	.align	2
.LC5:
	.ascii	"PictureLeftCrop\000"
	.align	2
.LC6:
	.ascii	"PictureRightCrop\000"
	.align	2
.LC7:
	.ascii	"width\000"
	.align	2
.LC8:
	.ascii	"height\000"
	.align	2
.LC9:
	.ascii	"crop-top\000"
	.align	2
.LC10:
	.ascii	"crop-bottom\000"
	.align	2
.LC11:
	.ascii	"crop-left\000"
	.align	2
.LC12:
	.ascii	"crop-right\000"
	.align	2
.LC13:
	.ascii	"ID\000"
	.align	2
.LC14:
	.ascii	"Settings\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ghb_finalize_job
	.syntax unified
	.arm
	.fpu softvfp
	.type	ghb_finalize_job, %function
ghb_finalize_job:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L6
	sub	sp, sp, #12
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	ghb_settings_to_preset
	mov	r3, r0
	ldr	r1, .L6+4
	mov	r0, r4
	str	r3, [sp]
	bl	ghb_dict_get
	mov	r5, r0
	ldr	r0, [sp]
	mov	r1, r5
	bl	hb_preset_apply_mux
	mov	r1, r5
	ldr	r0, [sp]
	bl	hb_preset_apply_video
	mov	r1, r5
	ldr	r0, [sp]
	bl	hb_preset_apply_filters
	mov	r0, r4
	bl	ghb_get_job_filter_list
	ldr	r1, .L6+8
	mov	r6, r0
	mov	r0, r4
	bl	ghb_dict_get_int
	ldr	r1, .L6+12
	mov	fp, r0
	mov	r0, r4
	bl	ghb_dict_get_int
	ldr	r1, .L6+16
	mov	r10, r0
	mov	r0, r4
	bl	ghb_dict_get_int
	ldr	r1, .L6+20
	mov	r9, r0
	mov	r0, r4
	bl	ghb_dict_get_int
	ldr	r1, .L6+24
	mov	r8, r0
	mov	r0, r4
	bl	ghb_dict_get_int
	ldr	r1, .L6+28
	mov	r7, r0
	mov	r0, r4
	bl	ghb_dict_get_int
	mov	r5, r0
	bl	ghb_dict_new
	mov	r4, r0
	mov	r2, fp
	ldr	r1, .L6+32
	bl	ghb_dict_set_int
	mov	r2, r10
	ldr	r1, .L6+36
	mov	r0, r4
	bl	ghb_dict_set_int
	mov	r2, r9
	ldr	r1, .L6+40
	mov	r0, r4
	bl	ghb_dict_set_int
	mov	r2, r8
	ldr	r1, .L6+44
	mov	r0, r4
	bl	ghb_dict_set_int
	mov	r2, r7
	ldr	r1, .L6+48
	mov	r0, r4
	bl	ghb_dict_set_int
	mov	r2, r5
	ldr	r1, .L6+52
	mov	r0, r4
	bl	ghb_dict_set_int
	bl	ghb_dict_new
	mov	r5, r0
	ldr	r3, .L6+56
	ldr	r1, .L6+60
	ldr	r2, [r3]
	bl	ghb_dict_set_int
	mov	r2, r4
	ldr	r1, .L6+64
	mov	r0, r5
	bl	ghb_dict_set
	mov	r1, r5
	mov	r0, r6
	bl	hb_add_filter2
	mov	r0, sp
	bl	ghb_value_free
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	HB_FILTER_CROP_SCALE
	.word	.LC13
	.word	.LC14
	.size	ghb_finalize_job, .-ghb_finalize_job
	.comm	HB_FILTER_CROP_SCALE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
