	.file	"extr_gtk_player.c_on_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Choose Media"
	.text
	.p2align 4
	.globl	on_open
	.type	on_open, @function
on_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	ecx, DWORD PTR GTK_STOCK_CANCEL[rip]
	mov	edx, DWORD PTR GTK_FILE_CHOOSER_ACTION_OPEN[rip]
	mov	r9d, DWORD PTR GTK_STOCK_OPEN[rip]
	mov	r8d, DWORD PTR GTK_RESPONSE_CANCEL[rip]
	push	0
	.cfi_def_cfa_offset 40
	push	QWORD PTR GTK_RESPONSE_ACCEPT[rip]
	.cfi_def_cfa_offset 48
	call	gtk_file_chooser_dialog_new@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	GTK_DIALOG@PLT
	mov	edi, eax
	call	gtk_dialog_run@PLT
	cmp	rax, QWORD PTR GTK_RESPONSE_ACCEPT[rip]
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	gtk_widget_destroy@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	call	GTK_FILE_CHOOSER@PLT
	mov	edi, eax
	call	gtk_file_chooser_get_uri@PLT
	mov	r12, rax
	mov	rdi, rax
	call	open_media@PLT
	mov	rdi, r12
	call	g_free@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	gtk_widget_destroy@PLT
	.cfi_endproc
.LFE0:
	.size	on_open, .-on_open
	.comm	GTK_STOCK_OPEN,4,4
	.comm	GTK_STOCK_CANCEL,4,4
	.comm	GTK_RESPONSE_CANCEL,4,4
	.comm	GTK_RESPONSE_ACCEPT,8,8
	.comm	GTK_FILE_CHOOSER_ACTION_OPEN,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_gtk_player.c_on_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Choose Media\000"
	.text
	.align	2
	.global	on_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	on_open, %function
on_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r0, #0
	push	{r4, r5, lr}
	ldr	r2, .L6
	ldr	r5, .L6+4
	ldr	ip, .L6+8
	ldr	r3, [r5]
	ldr	r2, [r2]
	ldr	ip, [ip]
	sub	sp, sp, #20
	str	r3, [sp, #8]
	str	r2, [sp, #4]
	ldr	r3, .L6+12
	ldr	r2, .L6+16
	str	ip, [sp]
	str	r0, [sp, #12]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, .L6+20
	bl	gtk_file_chooser_dialog_new
	mov	r4, r0
	bl	GTK_DIALOG
	bl	gtk_dialog_run
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L5
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, lr}
	b	gtk_widget_destroy
.L5:
	mov	r0, r4
	bl	GTK_FILE_CHOOSER
	bl	gtk_file_chooser_get_uri
	mov	r5, r0
	bl	open_media
	mov	r0, r5
	bl	g_free
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, lr}
	b	gtk_widget_destroy
.L7:
	.align	2
.L6:
	.word	GTK_STOCK_OPEN
	.word	GTK_RESPONSE_ACCEPT
	.word	GTK_RESPONSE_CANCEL
	.word	GTK_STOCK_CANCEL
	.word	GTK_FILE_CHOOSER_ACTION_OPEN
	.word	.LC0
	.size	on_open, .-on_open
	.comm	GTK_STOCK_OPEN,4,4
	.comm	GTK_STOCK_CANCEL,4,4
	.comm	GTK_RESPONSE_CANCEL,4,4
	.comm	GTK_RESPONSE_ACCEPT,4,4
	.comm	GTK_FILE_CHOOSER_ACTION_OPEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
