	.file	"extr_hb-backend.c_ghb_get_preview_image.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PictureDeinterlaceFilter"
.LC1:
	.string	"scale_width"
.LC2:
	.string	"scale_height"
.LC3:
	.string	"PictureTopCrop"
.LC4:
	.string	"PictureBottomCrop"
.LC5:
	.string	"PictureLeftCrop"
.LC6:
	.string	"PictureRightCrop"
.LC7:
	.string	"preview_show_crop"
.LC8:
	.string	"reduce_hd_preview"
.LC9:
	.string	"hb_window"
	.text
	.p2align 4
	.globl	ghb_get_preview_image
	.type	ghb_get_preview_image, @function
ghb_get_preview_image:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L17
	mov	rbp, rdi
	mov	edi, DWORD PTR 8[rdx]
	mov	r15d, esi
	lea	rsi, .LC0[rip]
	mov	rbx, rdx
	lea	r12, 80[rsp]
	mov	r13, rcx
	mov	r14, r8
	call	ghb_settings_combo_int@PLT
	lea	r8, 64[rsp]
	xor	r9d, r9d
	mov	rcx, r12
	cmp	QWORD PTR HB_FILTER_INVALID[rip], rax
	mov	rdx, r8
	mov	rsi, rbp
	mov	rdi, rbx
	setne	r9b
	mov	QWORD PTR 8[rsp], r8
	mov	DWORD PTR 16[rsp], r9d
	call	get_preview_geometry@PLT
	mov	r8, QWORD PTR 8[rsp]
	lea	rdx, 72[rsp]
	mov	rsi, r12
	mov	rdi, r8
	call	hb_set_anamorphic_size2@PLT
	mov	r8d, DWORD PTR 72[rsp]
	mov	rsi, r12
	mov	rdi, rbx
	mov	ecx, DWORD PTR 76[rsp]
	lea	rdx, 84[rsp]
	call	ghb_par_scale@PLT
	mov	r9d, DWORD PTR 16[rsp]
	mov	esi, DWORD PTR 8[rbp]
	mov	rcx, r12
	mov	edi, DWORD PTR h_scan[rip]
	mov	edx, r15d
	movabs	rax, 4294967297
	mov	r8d, r9d
	mov	QWORD PTR 88[rsp], rax
	call	hb_get_preview2@PLT
	mov	QWORD PTR 56[rsp], rax
	test	rax, rax
	je	.L29
	mov	r8d, DWORD PTR 4[rax]
	mov	ecx, DWORD PTR [rax]
	mov	edx, 8
	mov	esi, DWORD PTR FALSE[rip]
	mov	edi, DWORD PTR GDK_COLORSPACE_RGB[rip]
	call	gdk_pixbuf_new@PLT
	mov	rdi, rax
	mov	r12, rax
	call	gdk_pixbuf_get_pixels@PLT
	mov	rdi, r12
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 56[rsp]
	mov	rsi, QWORD PTR 8[rax]
	mov	QWORD PTR 8[rsp], rsi
	call	gdk_pixbuf_get_n_channels@PLT
	mov	rdi, r12
	mov	r15d, eax
	call	gdk_pixbuf_get_rowstride@PLT
	mov	rdi, QWORD PTR 56[rsp]
	mov	esi, DWORD PTR 4[rdi]
	test	esi, esi
	jle	.L4
	movsx	r8, r15d
	cdqe
	mov	r15, QWORD PTR 16[rdi]
	mov	rsi, QWORD PTR 8[rsp]
	mov	r9, QWORD PTR 16[rsp]
	sal	r8, 2
	lea	r11, 0[0+rax*4]
	xor	r10d, r10d
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR [rdi]
	mov	rdx, r9
	xor	eax, eax
	test	ecx, ecx
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	movsx	ecx, WORD PTR 2[rsi+rax*4]
	mov	DWORD PTR [rdx], ecx
	mov	ecx, DWORD PTR [rsi+rax*4]
	sar	ecx, 8
	mov	DWORD PTR 4[rdx], ecx
	mov	ecx, DWORD PTR [rsi+rax*4]
	add	rax, 1
	mov	DWORD PTR 8[rdx], ecx
	add	rdx, r8
	cmp	DWORD PTR [rdi], eax
	jg	.L6
.L7:
	movsx	rax, DWORD PTR [r15]
	add	r9, r11
	add	r10d, 1
	lea	rsi, [rsi+rax*4]
	cmp	DWORD PTR 4[rdi], r10d
	jg	.L5
.L4:
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC1[rip]
	call	ghb_dict_get_int@PLT
	lea	rsi, .LC2[rip]
	mov	DWORD PTR 0[r13], eax
	mov	edi, DWORD PTR 8[rbx]
	call	ghb_dict_get_int@PLT
	mov	r8d, DWORD PTR 72[rsp]
	mov	rdx, r14
	mov	rsi, r13
	mov	DWORD PTR [r14], eax
	mov	ecx, DWORD PTR 76[rsp]
	mov	rdi, rbx
	call	ghb_par_scale@PLT
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC3[rip]
	call	ghb_dict_get_int@PLT
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC4[rip]
	mov	DWORD PTR 8[rsp], eax
	call	ghb_dict_get_int@PLT
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC5[rip]
	mov	r14d, eax
	call	ghb_dict_get_int@PLT
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC6[rip]
	mov	DWORD PTR 16[rsp], eax
	call	ghb_dict_get_int@PLT
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC7[rip]
	mov	DWORD PTR 24[rsp], eax
	call	ghb_dict_get_bool@PLT
	test	rax, rax
	jne	.L30
	mov	rsi, QWORD PTR 56[rsp]
	mov	ecx, DWORD PTR 0[rbp]
	sub	ecx, DWORD PTR 16[rsp]
	sub	ecx, DWORD PTR 24[rsp]
	mov	r13d, DWORD PTR [rsi]
	mov	r15d, DWORD PTR 4[rsi]
	mov	eax, r13d
	cdq
	idiv	ecx
	mov	ecx, DWORD PTR 4[rbp]
	sub	ecx, DWORD PTR 8[rsp]
	sub	ecx, r14d
	mov	DWORD PTR 28[rsp], eax
	mov	eax, r15d
	cdq
	idiv	ecx
	mov	ebp, eax
.L9:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC8[rip]
	call	ghb_dict_get_bool@PLT
	test	rax, rax
	jne	.L31
.L10:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC7[rip]
	call	ghb_dict_get_bool@PLT
	test	rax, rax
	jne	.L32
.L15:
	lea	rdi, 56[rsp]
	call	hb_image_close@PLT
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L33
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L30:
	.cfi_restore_state
	mov	rcx, QWORD PTR 56[rsp]
	mov	r13d, DWORD PTR [rcx]
	mov	r15d, DWORD PTR 4[rcx]
	mov	eax, r13d
	cdq
	idiv	DWORD PTR 0[rbp]
	mov	DWORD PTR 28[rsp], eax
	mov	eax, r15d
	cdq
	idiv	DWORD PTR 4[rbp]
	mov	ebp, eax
	jmp	.L9
.L32:
	mov	ebx, DWORD PTR 16[rsp]
	mov	r10d, DWORD PTR 28[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	mov	ecx, r13d
	imul	r14d, ebp
	mov	r9d, 32
	xor	edx, edx
	xor	esi, esi
	imul	ebx, r10d
	mov	rdi, r12
	imul	r10d, DWORD PTR 32[rsp]
	mov	DWORD PTR 24[rsp], r10d
	push	0
	.cfi_def_cfa_offset 192
	mov	r8d, DWORD PTR 24[rsp]
	imul	r8d, ebp
	call	hash_pixbuf@PLT
	mov	edx, r15d
	mov	r9d, 32
	xor	esi, esi
	sub	edx, r14d
	mov	r8d, r14d
	mov	ecx, r13d
	mov	rdi, r12
	mov	DWORD PTR [rsp], 0
	call	hash_pixbuf@PLT
	mov	r9d, 32
	mov	r8d, r15d
	mov	ecx, ebx
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r12
	mov	DWORD PTR [rsp], 1
	call	hash_pixbuf@PLT
	mov	r10d, DWORD PTR 32[rsp]
	mov	esi, r13d
	xor	edx, edx
	mov	r9d, 32
	mov	r8d, r15d
	mov	rdi, r12
	mov	DWORD PTR [rsp], 1
	sub	esi, r10d
	mov	ecx, r10d
	call	hash_pixbuf@PLT
	pop	rax
	.cfi_def_cfa_offset 184
	pop	rdx
	.cfi_def_cfa_offset 176
	jmp	.L15
.L31:
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, .LC9[rip]
	call	GHB_WIDGET@PLT
	lea	rdx, 52[rsp]
	lea	rsi, 48[rsp]
	mov	edi, eax
	call	ghb_monitor_get_size@PLT
	mov	eax, DWORD PTR 48[rsp]
	test	eax, eax
	jle	.L10
	mov	edx, DWORD PTR 52[rsp]
	test	edx, edx
	jle	.L10
	lea	r8d, [rax+rax*4]
	lea	ecx, [rdx+rdx*4]
	sal	r8d, 4
	sal	ecx, 4
	imul	r8, r8, 1374389535
	imul	rcx, rcx, 1374389535
	shr	r8, 37
	shr	rcx, 37
	cmp	r8d, r13d
	jl	.L12
	cmp	ecx, r15d
	jge	.L10
.L13:
	mov	eax, r13d
	mov	r9d, ecx
	imul	eax, ecx
	cdq
	idiv	r15d
	mov	r8d, eax
.L14:
	mov	eax, r8d
	mov	ecx, DWORD PTR GDK_INTERP_HYPER[rip]
	mov	esi, r8d
	mov	rdi, r12
	cdq
	mov	DWORD PTR 44[rsp], r9d
	idiv	r13d
	mov	DWORD PTR 40[rsp], r8d
	imul	eax, DWORD PTR 28[rsp]
	mov	DWORD PTR 28[rsp], eax
	mov	eax, r9d
	cdq
	idiv	r15d
	mov	edx, r9d
	imul	ebp, eax
	call	gdk_pixbuf_scale_simple@PLT
	mov	rdi, r12
	mov	QWORD PTR 32[rsp], rax
	call	g_object_unref@PLT
	mov	r9d, DWORD PTR 44[rsp]
	mov	r8d, DWORD PTR 40[rsp]
	mov	r12, QWORD PTR 32[rsp]
	mov	r15d, r9d
	mov	r13d, r8d
	jmp	.L10
.L17:
	xor	r12d, r12d
	jmp	.L1
.L29:
	mov	r8d, DWORD PTR 4[rbp]
	mov	ecx, DWORD PTR 0[rbp]
	mov	edx, 8
	mov	esi, DWORD PTR FALSE[rip]
	mov	edi, DWORD PTR GDK_COLORSPACE_RGB[rip]
	call	gdk_pixbuf_new@PLT
	mov	r12, rax
	jmp	.L1
.L12:
	mov	eax, r8d
	imul	eax, r15d
	cdq
	idiv	r13d
	mov	r9d, eax
	cmp	eax, ecx
	jle	.L14
	jmp	.L13
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ghb_get_preview_image, .-ghb_get_preview_image
	.comm	h_scan,4,4
	.comm	HB_FILTER_INVALID,8,8
	.comm	GDK_INTERP_HYPER,4,4
	.comm	GDK_COLORSPACE_RGB,4,4
	.comm	FALSE,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_hb-backend.c_ghb_get_preview_image.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PictureDeinterlaceFilter\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	"preview_show_crop\000"
	.global	__aeabi_idiv
	.align	2
.LC8:
	.ascii	"reduce_hd_preview\000"
	.align	2
.LC9:
	.ascii	"hb_window\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ghb_get_preview_image
	.syntax unified
	.arm
	.fpu softvfp
	.type	ghb_get_preview_image, %function
ghb_get_preview_image:
	@ args = 4, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #84
	str	r3, [sp, #16]
	ldr	r3, .L34
	subs	r5, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	ldr	r3, [sp, #120]
	moveq	r6, r5
	str	r3, [sp, #20]
	beq	.L1
	mov	r6, r1
	ldr	r0, [r2, #8]
	ldr	r1, .L34+4
	mov	r4, r2
	bl	ghb_settings_combo_int
	mov	ip, r0
	ldr	r3, .L34+8
	mov	r1, r5
	ldr	r7, [r3]
	add	r2, sp, #44
	subs	r7, r7, ip
	add	r3, sp, #60
	mov	r0, r4
	movne	r7, #1
	bl	get_preview_geometry
	add	r1, sp, #60
	add	r2, sp, #52
	add	r0, sp, #44
	bl	hb_set_anamorphic_size2
	ldr	r3, [sp, #52]
	add	r1, sp, #60
	str	r3, [sp]
	add	r2, sp, #64
	ldr	r3, [sp, #56]
	mov	r0, r4
	bl	ghb_par_scale
	mov	ip, #1
	ldr	r1, .L34+12
	str	r7, [sp]
	ldr	r0, [r1]
	mov	r2, r6
	ldr	r1, [r5, #8]
	add	r3, sp, #60
	str	ip, [sp, #68]
	str	ip, [sp, #72]
	bl	hb_get_preview2
	cmp	r0, #0
	str	r0, [sp, #32]
	beq	.L29
	ldr	r3, [r0]
	ldr	r0, [r0, #4]
	ldr	r2, .L34+16
	ldr	r1, .L34+20
	str	r0, [sp]
	ldr	r1, [r1]
	ldr	r0, [r2]
	mov	r2, #8
	bl	gdk_pixbuf_new
	mov	r6, r0
	bl	gdk_pixbuf_get_pixels
	ldr	r3, [sp, #32]
	mov	r8, r0
	mov	r0, r6
	ldr	r9, [r3, #8]
	bl	gdk_pixbuf_get_n_channels
	mov	r7, r0
	mov	r0, r6
	bl	gdk_pixbuf_get_rowstride
	ldr	lr, [sp, #32]
	ldr	r3, [lr, #4]
	cmp	r3, #0
	ble	.L4
	lsl	r10, r0, #2
	mov	r0, #0
	ldr	fp, [lr, #12]
	ldr	r1, [lr]
	lsl	r7, r7, #2
.L5:
	cmp	r1, #0
	movgt	r2, r9
	movgt	r3, r8
	movgt	ip, #0
	ble	.L7
.L6:
	ldrsh	r1, [r2, #2]
	add	ip, ip, #1
	str	r1, [r3]
	ldr	r1, [r2]
	asr	r1, r1, #8
	str	r1, [r3, #4]
	ldr	r1, [r2], #4
	str	r1, [r3, #8]
	ldr	r1, [lr]
	add	r3, r3, r7
	cmp	r1, ip
	bgt	.L6
	ldr	r3, [lr, #4]
.L7:
	ldr	r2, [fp]
	add	r0, r0, #1
	cmp	r3, r0
	add	r8, r8, r10
	add	r9, r9, r2, lsl #2
	bgt	.L5
.L4:
	ldr	r1, .L34+24
	ldr	r0, [r4, #8]
	bl	ghb_dict_get_int
	ldr	r7, [sp, #16]
	ldr	r1, .L34+28
	str	r0, [r7]
	ldr	r0, [r4, #8]
	bl	ghb_dict_get_int
	ldr	r2, [sp, #20]
	ldr	r3, [sp, #52]
	str	r0, [r2]
	mov	r1, r7
	str	r3, [sp]
	mov	r0, r4
	ldr	r3, [sp, #56]
	bl	ghb_par_scale
	ldr	r1, .L34+32
	ldr	r0, [r4, #8]
	bl	ghb_dict_get_int
	ldr	r1, .L34+36
	mov	r9, r0
	ldr	r0, [r4, #8]
	bl	ghb_dict_get_int
	ldr	r1, .L34+40
	mov	r7, r0
	ldr	r0, [r4, #8]
	bl	ghb_dict_get_int
	ldr	r1, .L34+44
	mov	r8, r0
	ldr	r0, [r4, #8]
	bl	ghb_dict_get_int
	mov	r3, r0
	ldr	r1, .L34+48
	ldr	r0, [r4]
	str	r3, [sp, #16]
	bl	ghb_dict_get_bool
	ldr	r10, [sp, #32]
	cmp	r0, #0
	ldr	r1, [r5]
	ldr	fp, [r10]
	bne	.L30
	ldr	r3, [sp, #16]
	sub	r1, r1, r8
	sub	r1, r1, r3
	mov	r0, fp
	bl	__aeabi_idiv
	mov	r3, r0
	ldr	r1, [r5, #4]
	ldr	r10, [r10, #4]
	sub	r1, r1, r9
	mov	r0, r10
	sub	r1, r1, r7
	str	r3, [sp, #20]
	bl	__aeabi_idiv
	str	r0, [sp, #24]
.L9:
	ldr	r1, .L34+52
	ldr	r0, [r4]
	bl	ghb_dict_get_bool
	cmp	r0, #0
	bne	.L31
.L10:
	ldr	r0, [r4]
	ldr	r1, .L34+48
	bl	ghb_dict_get_bool
	cmp	r0, #0
	bne	.L32
.L15:
	add	r0, sp, #32
	bl	hb_image_close
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	mov	r0, r6
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	mov	r0, fp
	bl	__aeabi_idiv
	mov	r3, r0
	ldr	r10, [r10, #4]
	ldr	r1, [r5, #4]
	mov	r0, r10
	str	r3, [sp, #20]
	bl	__aeabi_idiv
	str	r0, [sp, #24]
	b	.L9
.L32:
	ldr	r2, [sp, #24]
	mov	r5, #0
	mov	r3, r2
	mul	r2, r7, r2
	mul	r3, r9, r3
	ldr	r9, [sp, #20]
	mov	r7, r2
	mov	r2, r9
	mov	r4, #32
	mul	r2, r8, r2
	mov	r8, r2
	ldr	r2, [sp, #16]
	mov	r1, r5
	mul	r9, r2, r9
	str	r3, [sp]
	mov	r2, r5
	mov	r3, fp
	mov	r0, r6
	str	r5, [sp, #8]
	str	r4, [sp, #4]
	bl	hash_pixbuf
	sub	r2, r10, r7
	mov	r1, r5
	mov	r3, fp
	str	r7, [sp]
	mov	r0, r6
	stmib	sp, {r4, r5}
	bl	hash_pixbuf
	mov	r0, #1
	mov	r7, r0
	mov	r3, r8
	mov	r2, r5
	mov	r1, r5
	str	r0, [sp, #8]
	str	r4, [sp, #4]
	mov	r0, r6
	str	r10, [sp]
	bl	hash_pixbuf
	mov	r2, r5
	mov	r3, r9
	mov	r0, r6
	str	r7, [sp, #8]
	str	r4, [sp, #4]
	sub	r1, fp, r9
	str	r10, [sp]
	bl	hash_pixbuf
	b	.L15
.L31:
	ldr	r1, .L34+56
	ldr	r0, [r4, #4]
	bl	GHB_WIDGET
	add	r2, sp, #40
	add	r1, sp, #36
	bl	ghb_monitor_get_size
	ldr	r3, [sp, #36]
	cmp	r3, #0
	ble	.L10
	ldr	r2, [sp, #40]
	cmp	r2, #0
	ble	.L10
	ldr	r1, .L34+60
	add	r3, r3, r3, lsl #2
	lsl	r5, r3, #4
	add	r3, r2, r2, lsl #2
	lsl	r3, r3, #4
	umull	r2, r5, r1, r5
	umull	r2, r3, r1, r3
	cmp	fp, r5, lsr #5
	lsr	r3, r3, #5
	lsr	r5, r5, #5
	bgt	.L12
	cmp	r3, r10
	bge	.L10
.L13:
	mul	r0, r3, fp
	mov	r1, r10
	str	r3, [sp, #28]
	bl	__aeabi_idiv
	ldr	r3, [sp, #28]
	mov	r5, r0
	mov	r2, r3
.L14:
	mov	r1, fp
	mov	r0, r5
	str	r2, [sp, #28]
	bl	__aeabi_idiv
	mov	r3, r0
	ldr	r2, [sp, #28]
	mov	r1, r10
	mov	r0, r2
	ldr	r2, [sp, #20]
	mov	fp, r5
	mul	r2, r3, r2
	str	r2, [sp, #20]
	bl	__aeabi_idiv
	mov	ip, r0
	ldr	lr, [sp, #24]
	ldr	r3, .L34+64
	mul	lr, ip, lr
	ldr	r2, [sp, #28]
	mov	r1, r5
	mov	r0, r6
	ldr	r3, [r3]
	str	lr, [sp, #24]
	bl	gdk_pixbuf_scale_simple
	mov	r3, r0
	ldr	r2, [sp, #28]
	mov	r0, r6
	mov	r10, r2
	mov	r6, r3
	bl	g_object_unref
	b	.L10
.L29:
	ldr	r3, [r5, #4]
	ldr	r2, .L34+16
	ldr	r1, .L34+20
	ldr	r0, [r2]
	ldr	r1, [r1]
	str	r3, [sp]
	mov	r2, #8
	ldr	r3, [r5]
	bl	gdk_pixbuf_new
	mov	r6, r0
	b	.L1
.L12:
	mov	r1, fp
	mul	r0, r10, r5
	str	r3, [sp, #28]
	bl	__aeabi_idiv
	ldr	r3, [sp, #28]
	mov	r2, r0
	cmp	r0, r3
	ble	.L14
	b	.L13
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC10
	.word	.LC0
	.word	HB_FILTER_INVALID
	.word	h_scan
	.word	GDK_COLORSPACE_RGB
	.word	FALSE
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	1374389535
	.word	GDK_INTERP_HYPER
	.size	ghb_get_preview_image, .-ghb_get_preview_image
	.comm	h_scan,4,4
	.comm	HB_FILTER_INVALID,4,4
	.comm	GDK_INTERP_HYPER,4,4
	.comm	GDK_COLORSPACE_RGB,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
