	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_get_preview_image          ## -- Begin function ghb_get_preview_image
	.p2align	4, 0x90
_ghb_get_preview_image:                 ## @ghb_get_preview_image
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	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	%rdx, %r13
	movq	%rdi, %r12
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	8(%rdx), %edi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	callq	_ghb_settings_combo_int
	movq	_HB_FILTER_INVALID@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setne	%bl
	leaq	-160(%rbp), %r14
	leaq	-152(%rbp), %r15
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_get_preview_geometry
	leaq	-88(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_hb_set_anamorphic_size2
	leaq	-148(%rbp), %rdx
	movl	-88(%rbp), %r8d
	movl	-84(%rbp), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ghb_par_scale
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -144(%rbp)
	movq	_h_scan@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r12), %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_hb_get_preview2
	movq	%rax, %r15
	movq	%rax, -136(%rbp)
	movq	_GDK_COLORSPACE_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ecx
	movl	4(%r15), %r8d
	movl	$8, %edx
	callq	_gdk_pixbuf_new
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_gdk_pixbuf_get_pixels
	movq	%rax, %r12
	movq	8(%r15), %rbx
	movq	%r13, %rdi
	callq	_gdk_pixbuf_get_n_channels
	movl	%eax, %r14d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	-104(%rbp), %r13                ## 8-byte Reload
	callq	_gdk_pixbuf_get_rowstride
	movl	4(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_11
## %bb.5:
	movslq	%r14d, %rcx
	movq	16(%r15), %r8
	movslq	%eax, %r9
	movl	(%r15), %edi
	addq	$8, %r12
	shlq	$2, %r9
	shlq	$2, %rcx
	xorl	%esi, %esi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r8), %rax
	leaq	(%rbx,%rax,4), %rbx
	incl	%esi
	addq	%r9, %r12
	cmpl	%edx, %esi
	jge	LBB0_11
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testl	%edi, %edi
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movswl	2(%rbx,%rax,4), %edi
	movl	%edi, -8(%rdx)
	movl	(%rbx,%rax,4), %edi
	sarl	$8, %edi
	movl	%edi, -4(%rdx)
	movl	(%rbx,%rax,4), %edi
	movl	%edi, (%rdx)
	movl	(%r15), %edi
	incq	%rax
	addq	%rcx, %rdx
	cmpl	%edi, %eax
	jl	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%r15), %edx
	jmp	LBB0_10
LBB0_11:
	movl	8(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_ghb_dict_get_int
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movl	8(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_ghb_dict_get_int
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx)
	movl	-88(%rbp), %r8d
	movl	-84(%rbp), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ghb_par_scale
	movl	8(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_ghb_dict_get_int
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_ghb_dict_get_int
	movl	%eax, %r14d
	movl	8(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_ghb_dict_get_int
	movl	%eax, %ebx
	movl	8(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_ghb_dict_get_int
	movl	%eax, %r12d
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_ghb_dict_get_bool
	movl	(%r15), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %ecx
	testq	%rax, %rax
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	je	LBB0_13
## %bb.12:
	movl	4(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cltd
	idivl	4(%rsi)
	movl	%eax, %r15d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_3:
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	movl	$8, %edx
	callq	_gdk_pixbuf_new
	jmp	LBB0_27
LBB0_13:
	subl	%r12d, %ecx
	subl	%ebx, %ecx
	movl	4(%r15), %eax
	movl	4(%rsi), %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	subl	%r14d, %esi
	subl	%ebx, %esi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cltd
	idivl	%esi
	movl	%eax, %r15d
LBB0_14:
	movq	%r12, %r14
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	movl	%edi, %eax
	cltd
	idivl	%ecx
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_ghb_dict_get_bool
	testq	%rax, %rax
	je	LBB0_24
## %bb.15:
	movl	4(%r13), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_GHB_WIDGET
	leaq	-112(%rbp), %rsi
	leaq	-108(%rbp), %rdx
	movl	%eax, %edi
	callq	_ghb_monitor_get_size
	movl	-112(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.16:
	movl	-108(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_24
## %bb.17:
	shll	$4, %eax
	leal	(%rax,%rax,4), %eax
	cltq
	imulq	$1374389535, %rax, %r13         ## imm = 0x51EB851F
	movq	%r13, %rax
	shrq	$63, %rax
	sarq	$37, %r13
	addl	%eax, %r13d
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	cmpl	%r13d, %esi
	jle	LBB0_18
## %bb.20:
	movl	%r13d, %eax
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	imull	%edi, %eax
	cltd
	idivl	%esi
	movl	%eax, %r12d
	shll	$4, %ecx
	leal	(%rcx,%rcx,4), %eax
	cltq
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$37, %rcx
	addl	%eax, %ecx
	jmp	LBB0_21
LBB0_18:
	shll	$4, %ecx
	leal	(%rcx,%rcx,4), %eax
	cltq
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$37, %rcx
	addl	%eax, %ecx
	movl	%esi, %r13d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %r12d
	cmpl	%ecx, %edi
	jle	LBB0_19
LBB0_21:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	cmpl	%ecx, %r12d
	jle	LBB0_23
## %bb.22:
	movl	%ecx, %eax
	imull	%esi, %eax
	cltd
	idivl	%edi
	movl	%eax, %r13d
	movl	%ecx, %r12d
LBB0_23:
	movl	%r13d, %eax
	cltd
	idivl	%esi
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	imull	%eax, %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%r12d, %eax
	cltd
	idivl	%edi
	imull	%eax, %r15d
	movq	_GDK_INTERP_HYPER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_gdk_pixbuf_scale_simple
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_g_object_unref
	movl	%r13d, %eax
	movl	%r13d, -72(%rbp)                ## 4-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_19:
	movq	-104(%rbp), %r13                ## 8-byte Reload
LBB0_24:
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_ghb_dict_get_bool
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	imull	%r15d, %ebx
	movq	%rbx, %r8
	movq	-120(%rbp), %r12                ## 8-byte Reload
	imull	%r15d, %r12d
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	imull	%eax, %r13d
	imull	%eax, %r14d
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	$0, (%rsp)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	$32, %r9d
	callq	_hash_pixbuf
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	subl	%r12d, %edx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	$32, %r9d
	callq	_hash_pixbuf
	movl	$1, (%rsp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	movl	$32, %r9d
	callq	_hash_pixbuf
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	subl	%ecx, %ebx
	movl	$1, (%rsp)
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r14d, %r8d
	movl	$32, %r9d
	callq	_hash_pixbuf
LBB0_26:
	leaq	-136(%rbp), %rdi
	callq	_hb_image_close
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_27:
	addq	$136, %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	"PictureDeinterlaceFilter"

	.comm	_HB_FILTER_INVALID,8,3          ## @HB_FILTER_INVALID
	.comm	_h_scan,4,2                     ## @h_scan
	.comm	_GDK_COLORSPACE_RGB,4,2         ## @GDK_COLORSPACE_RGB
	.comm	_FALSE,4,2                      ## @FALSE
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	"preview_show_crop"

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

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

	.comm	_GDK_INTERP_HYPER,4,2           ## @GDK_INTERP_HYPER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_get_preview_image          ; -- Begin function ghb_get_preview_image
	.p2align	2
_ghb_get_preview_image:                 ; @ghb_get_preview_image
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x2, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_settings_combo_int
Lloh2:
	adrp	x8, _HB_FILTER_INVALID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HB_FILTER_INVALID@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w24, ne
	add	x25, sp, #32
	add	x2, sp, #56
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, x21
	bl	_get_preview_geometry
	add	x0, sp, #56
	add	x1, sp, #32
	add	x2, sp, #48
	bl	_hb_set_anamorphic_size2
	orr	x2, x25, #0x4
	ldp	w4, w3, [sp, #48]
	add	x1, sp, #32
	mov	x0, x19
	bl	_ghb_par_scale
	movi.2s	v0, #1
	str	d0, [sp, #40]
Lloh5:
	adrp	x8, _h_scan@GOTPAGE
Lloh6:
	ldr	x8, [x8, _h_scan@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x21, #8]
	add	x3, sp, #32
	mov	x2, x20
	mov	x4, x24
	bl	_hb_get_preview2
	mov	x26, x0
	str	x0, [sp, #24]
Lloh8:
	adrp	x8, _GDK_COLORSPACE_RGB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GDK_COLORSPACE_RGB@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	cbz	x26, LBB0_12
; %bb.2:
	ldp	w3, w4, [x26]
	mov	w2, #8
	bl	_gdk_pixbuf_new
	mov	x20, x0
	bl	_gdk_pixbuf_get_pixels
	mov	x24, x0
	ldr	x27, [x26, #8]
	mov	x0, x20
	bl	_gdk_pixbuf_get_n_channels
	mov	x25, x0
	mov	x0, x20
	bl	_gdk_pixbuf_get_rowstride
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w14, [x26, #4]
	cmp	w14, #1
	b.lt	LBB0_9
; %bb.3:
	mov	w8, #0
	ldr	x9, [x26, #16]
	ldr	w13, [x26]
	add	x10, x24, #4
	sbfiz	x11, x0, #2, #32
	sbfiz	x12, x25, #2, #32
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x15, [x9]
	add	x27, x27, x15, lsl #2
	add	w8, w8, #1
	add	x10, x10, x11
	cmp	w8, w14
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w13, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x14, #0
	mov	x15, x10
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x13, x27, x14, lsl #2
	ldrsh	w16, [x13, #2]
	stur	w16, [x15, #-4]
	ldr	w16, [x13]
	asr	w16, w16, #8
	str	w16, [x15]
	ldr	w13, [x13]
	str	w13, [x15, #4]
	ldr	w13, [x26]
	add	x14, x14, #1
	add	x15, x15, x12
	cmp	w14, w13
	b.lt	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w14, [x26, #4]
	b	LBB0_4
LBB0_9:
	ldr	w0, [x19, #8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ghb_dict_get_int
	str	w0, [x23]
	ldr	w0, [x19, #8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ghb_dict_get_int
	str	w0, [x22]
	ldp	w4, w3, [sp, #48]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_ghb_par_scale
	ldr	w0, [x19, #8]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_ghb_dict_get_int
	mov	x22, x0
	ldr	w0, [x19, #8]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_ghb_dict_get_int
	mov	x28, x0
	ldr	w0, [x19, #8]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_ghb_dict_get_int
	mov	x23, x0
	ldr	w0, [x19, #8]
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_ghb_dict_get_int
	mov	x27, x0
	ldr	w0, [x19]
Lloh26:
	adrp	x1, l_.str.7@PAGE
Lloh27:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_ghb_dict_get_bool
	ldr	w25, [x26]
	ldr	w8, [x21]
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
	cbz	x0, LBB0_13
; %bb.10:
	ldr	w26, [x26, #4]
	ldr	w9, [x21, #4]
	b	LBB0_14
LBB0_11:
	mov	x20, #0
	b	LBB0_27
LBB0_12:
	ldp	w3, w4, [x21]
	mov	w2, #8
	bl	_gdk_pixbuf_new
	mov	x20, x0
	b	LBB0_27
LBB0_13:
	add	w9, w27, w23
	sub	w8, w8, w9
	ldr	w26, [x26, #4]
	ldr	w9, [x21, #4]
	add	w10, w28, w22
	sub	w9, w9, w10
LBB0_14:
	sdiv	w23, w26, w9
	ldr	w0, [x19]
	sdiv	w24, w25, w8
Lloh28:
	adrp	x1, l_.str.8@PAGE
Lloh29:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_ghb_dict_get_bool
	cbz	x0, LBB0_24
; %bb.15:
	ldr	w0, [x19, #4]
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_GHB_WIDGET
	add	x1, sp, #20
	add	x2, sp, #16
	bl	_ghb_monitor_get_size
	ldr	w9, [sp, #20]
	cmp	w9, #1
	b.lt	LBB0_24
; %bb.16:
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.17:
	add	w9, w9, w9, lsl #2
	lsl	w10, w9, #4
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x10, w10, w9
	lsr	x11, x10, #63
	asr	x10, x10, #37
	add	w21, w10, w11
	cmp	w25, w21
	str	w28, [sp, #8]                   ; 4-byte Folded Spill
	b.le	LBB0_19
; %bb.18:
	mul	w10, w21, w26
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #4
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	sdiv	w28, w10, w25
	b	LBB0_20
LBB0_19:
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #4
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	cmp	w26, w8
	mov	x21, x25
	mov	x28, x26
	b.le	LBB0_23
LBB0_20:
	str	w22, [sp, #4]                   ; 4-byte Folded Spill
	cmp	w28, w8
	b.le	LBB0_22
; %bb.21:
	mul	w9, w8, w25
	mov	x28, x8
	sdiv	w21, w9, w26
LBB0_22:
	sdiv	w8, w21, w25
	mul	w24, w8, w24
	sdiv	w8, w28, w26
	mul	w23, w8, w23
Lloh32:
	adrp	x8, _GDK_INTERP_HYPER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GDK_INTERP_HYPER@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x28
	bl	_gdk_pixbuf_scale_simple
	mov	x22, x0
	mov	x0, x20
	bl	_g_object_unref
	mov	x25, x21
	mov	x26, x28
	mov	x20, x22
	ldr	w22, [sp, #4]                   ; 4-byte Folded Reload
LBB0_23:
	ldr	w28, [sp, #8]                   ; 4-byte Folded Reload
LBB0_24:
	ldr	w0, [x19]
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_ghb_dict_get_bool
	cbz	x0, LBB0_26
; %bb.25:
	mul	w4, w23, w22
	mul	w19, w23, w28
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	mul	w21, w24, w8
	mul	w22, w24, w27
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	mov	x3, x25
	mov	w5, #32
	mov	w6, #0
	bl	_hash_pixbuf
	sub	w2, w26, w19
	mov	x0, x20
	mov	w1, #0
	mov	x3, x25
	mov	x4, x19
	mov	w5, #32
	mov	w6, #0
	bl	_hash_pixbuf
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	mov	x3, x21
	mov	x4, x26
	mov	w5, #32
	mov	w6, #1
	bl	_hash_pixbuf
	sub	w1, w25, w22
	mov	x0, x20
	mov	w2, #0
	mov	x3, x22
	mov	x4, x26
	mov	w5, #32
	mov	w6, #1
	bl	_hash_pixbuf
LBB0_26:
	add	x0, sp, #24
	bl	_hb_image_close
LBB0_27:
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh26, Lloh27
	.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	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PictureDeinterlaceFilter"

	.comm	_HB_FILTER_INVALID,8,3          ; @HB_FILTER_INVALID
	.comm	_h_scan,4,2                     ; @h_scan
	.comm	_GDK_COLORSPACE_RGB,4,2         ; @GDK_COLORSPACE_RGB
	.comm	_FALSE,4,2                      ; @FALSE
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	"preview_show_crop"

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

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

	.comm	_GDK_INTERP_HYPER,4,2           ; @GDK_INTERP_HYPER
.subsections_via_symbols
