	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_reset_preview_image        ## -- Begin function ghb_reset_preview_image
	.p2align	4, 0x90
_ghb_reset_preview_image:               ## @ghb_reset_preview_image
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_init_preview_image
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	jle	LBB0_2
## %bb.1:
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	jle	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_preview_set_render_size
	movq	8(%rbx), %rax
	movl	16(%rax), %esi
	movq	%rbx, %rdi
	callq	_set_mini_preview_image
	movq	8(%rbx), %rax
	movl	16(%rax), %esi
	movq	%rbx, %rdi
	callq	_do_preview_scaling
	movq	8(%rbx), %rcx
	movl	%eax, 20(%rcx)
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gtk_widget_queue_draw          ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"preview_image"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_reset_preview_image        ; -- Begin function ghb_reset_preview_image
	.p2align	2
_ghb_reset_preview_image:               ; @ghb_reset_preview_image
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_init_preview_image
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	cmp	x1, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x2, [x8, #8]
	cmp	x2, #1
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_preview_set_render_size
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #16]
	mov	x0, x19
	bl	_set_mini_preview_image
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #16]
	mov	x0, x19
	bl	_do_preview_scaling
	ldr	x8, [x19, #8]
	str	w0, [x8, #20]
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GHB_WIDGET
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gtk_widget_queue_draw
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"preview_image"

.subsections_via_symbols
