	.file	"extr_main.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fr.handbrake.ghb"
.LC1:
	.string	"activate"
.LC2:
	.string	"open"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ghb_ui_register_resource@PLT
	mov	edi, 88
	call	g_malloc0@PLT
	mov	esi, DWORD PTR G_APPLICATION_NON_UNIQUE[rip]
	lea	rdi, .LC0[rip]
	or	esi, DWORD PTR G_APPLICATION_HANDLES_OPEN[rip]
	mov	rbp, rax
	call	gtk_application_new@PLT
	mov	edx, DWORD PTR ghb_activate_cb[rip]
	mov	rcx, rbp
	lea	rsi, .LC1[rip]
	mov	DWORD PTR 80[rbp], eax
	mov	edi, eax
	call	g_signal_connect@PLT
	mov	edx, DWORD PTR ghb_open_file_cb[rip]
	mov	edi, DWORD PTR 80[rbp]
	mov	rcx, rbp
	lea	rsi, .LC2[rip]
	call	g_signal_connect@PLT
	mov	edi, DWORD PTR 80[rbp]
	mov	r14d, DWORD PTR entries[rip]
	call	G_APPLICATION@PLT
	mov	esi, r14d
	mov	edi, eax
	call	g_application_add_main_option_entries@PLT
	mov	edi, DWORD PTR 80[rbp]
	call	G_APPLICATION@PLT
	mov	esi, r12d
	mov	rdx, r13
	mov	edi, eax
	call	g_application_run@PLT
	mov	r12d, eax
	xor	eax, eax
	call	ghb_backend_close@PLT
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	jle	.L2
	call	g_source_remove@PLT
.L2:
	lea	rdi, 76[rbp]
	call	ghb_value_free@PLT
	lea	rdi, 72[rbp]
	call	ghb_value_free@PLT
	lea	rdi, 68[rbp]
	call	ghb_value_free@PLT
	lea	rdi, 64[rbp]
	call	ghb_value_free@PLT
	mov	rdi, QWORD PTR 56[rbp]
	test	rdi, rdi
	je	.L3
	call	g_io_channel_unref@PLT
.L3:
	xor	eax, eax
	call	ghb_settings_close@PLT
	xor	eax, eax
	call	ghb_resource_free@PLT
	mov	rdi, QWORD PTR 48[rbp]
	test	rdi, rdi
	je	.L4
	call	g_object_unref@PLT
.L4:
	mov	rdi, QWORD PTR 40[rbp]
	call	g_object_unref@PLT
	mov	rdi, QWORD PTR 32[rbp]
	call	g_object_unref@PLT
	mov	rdi, QWORD PTR 24[rbp]
	call	g_object_unref@PLT
	mov	rdi, QWORD PTR 16[rbp]
	call	g_free@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	g_free@PLT
	mov	rdi, rbp
	call	g_free@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	win32_console,8,8
	.comm	stdout,8,8
	.comm	stderr,8,8
	.comm	ghb_open_file_cb,8,8
	.comm	ghb_activate_cb,8,8
	.comm	entries,4,4
	.comm	STDOUT_FILENO,8,8
	.comm	STDERR_FILENO,8,8
	.comm	PACKAGE_LOCALE_DIR,4,4
	.comm	G_APPLICATION_NON_UNIQUE,4,4
	.comm	G_APPLICATION_HANDLES_OPEN,4,4
	.comm	GETTEXT_PACKAGE,4,4
	.comm	ATTACH_PARENT_PROCESS,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_main.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fr.handbrake.ghb\000"
	.align	2
.LC1:
	.ascii	"activate\000"
	.align	2
.LC2:
	.ascii	"open\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r5, r0
	bl	ghb_ui_register_resource
	mov	r0, #52
	bl	g_malloc0
	ldr	r2, .L13
	ldr	r3, .L13+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r4, r0
	orr	r1, r1, r3
	ldr	r0, .L13+8
	bl	gtk_application_new
	ldr	r2, .L13+12
	mov	r3, r4
	ldr	r2, [r2]
	ldr	r1, .L13+16
	str	r0, [r4, #48]
	bl	g_signal_connect
	ldr	r2, .L13+20
	mov	r3, r4
	ldr	r2, [r2]
	ldr	r1, .L13+24
	ldr	r0, [r4, #48]
	bl	g_signal_connect
	ldr	r0, [r4, #48]
	bl	G_APPLICATION
	ldr	r3, .L13+28
	ldr	r1, [r3]
	bl	g_application_add_main_option_entries
	ldr	r0, [r4, #48]
	bl	G_APPLICATION
	mov	r1, r5
	mov	r2, r6
	bl	g_application_run
	mov	r5, r0
	bl	ghb_backend_close
	ldr	r0, [r4]
	cmp	r0, #0
	ble	.L2
	bl	g_source_remove
.L2:
	add	r0, r4, #44
	bl	ghb_value_free
	add	r0, r4, #40
	bl	ghb_value_free
	add	r0, r4, #36
	bl	ghb_value_free
	add	r0, r4, #32
	bl	ghb_value_free
	ldr	r0, [r4, #28]
	cmp	r0, #0
	beq	.L3
	bl	g_io_channel_unref
.L3:
	bl	ghb_settings_close
	bl	ghb_resource_free
	ldr	r0, [r4, #24]
	cmp	r0, #0
	beq	.L4
	bl	g_object_unref
.L4:
	ldr	r0, [r4, #20]
	bl	g_object_unref
	ldr	r0, [r4, #16]
	bl	g_object_unref
	ldr	r0, [r4, #12]
	bl	g_object_unref
	ldr	r0, [r4, #8]
	bl	g_free
	ldr	r0, [r4, #4]
	bl	g_free
	mov	r0, r4
	bl	g_free
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	G_APPLICATION_NON_UNIQUE
	.word	G_APPLICATION_HANDLES_OPEN
	.word	.LC0
	.word	ghb_activate_cb
	.word	.LC1
	.word	ghb_open_file_cb
	.word	.LC2
	.word	entries
	.size	main, .-main
	.comm	win32_console,4,4
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	ghb_open_file_cb,4,4
	.comm	ghb_activate_cb,4,4
	.comm	entries,4,4
	.comm	STDOUT_FILENO,4,4
	.comm	STDERR_FILENO,4,4
	.comm	PACKAGE_LOCALE_DIR,4,4
	.comm	G_APPLICATION_NON_UNIQUE,4,4
	.comm	G_APPLICATION_HANDLES_OPEN,4,4
	.comm	GETTEXT_PACKAGE,4,4
	.comm	ATTACH_PARENT_PROCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
