	.file	"extr_subtitlehandler.c_subtitle_def_selected_lang_list_clear.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"subtitle_avail_lang"
.LC1:
	.string	"subtitle_selected_lang"
	.text
	.p2align 4
	.type	subtitle_def_selected_lang_list_clear, @function
subtitle_def_selected_lang_list_clear:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rsi, .LC0[rip]
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r12, 16[rsp]
	call	GHB_WIDGET@PLT
	mov	edi, eax
	call	GTK_TREE_VIEW@PLT
	mov	rdi, rax
	call	gtk_tree_view_get_model@PLT
	mov	rdi, rax
	call	GTK_TREE_STORE@PLT
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC1[rip]
	mov	rbx, rax
	call	GHB_WIDGET@PLT
	mov	edi, eax
	call	GTK_TREE_VIEW@PLT
	mov	rdi, rax
	call	gtk_tree_view_get_model@PLT
	mov	rsi, r12
	mov	rdi, rax
	mov	rbp, rax
	call	gtk_tree_model_get_iter_first@PLT
	test	rax, rax
	je	.L2
	lea	rax, 32[rsp]
	lea	r15, 20[rsp]
	mov	QWORD PTR 8[rsp], rax
	lea	r14, 28[rsp]
	lea	r13, 24[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rcx, r14
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, rbx
	call	gtk_tree_store_insert_before@PLT
.L4:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	xor	edx, edx
	mov	r8d, 1
	mov	rsi, r13
	push	-1
	.cfi_def_cfa_offset 128
	mov	r9d, DWORD PTR 36[rsp]
	mov	rdi, rbx
	mov	rcx, QWORD PTR 48[rsp]
	call	gtk_tree_store_set@PLT
	mov	rdi, QWORD PTR 48[rsp]
	call	g_free@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	gtk_tree_model_iter_next@PLT
	pop	rdx
	.cfi_def_cfa_offset 120
	pop	rcx
	.cfi_def_cfa_offset 112
	test	rax, rax
	je	.L2
.L5:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	r9, r15
	mov	r8d, 1
	mov	rsi, r12
	push	-1
	.cfi_def_cfa_offset 128
	mov	rcx, QWORD PTR 24[rsp]
	xor	edx, edx
	mov	rdi, rbp
	call	gtk_tree_model_get@PLT
	mov	edx, DWORD PTR 36[rsp]
	mov	rdi, rbx
	mov	DWORD PTR 20[rsp], edx
	call	GTK_TREE_MODEL@PLT
	mov	edx, DWORD PTR 20[rsp]
	mov	rsi, r14
	mov	edi, eax
	call	ghb_find_lang_row@PLT
	pop	rsi
	.cfi_def_cfa_offset 120
	pop	rdi
	.cfi_def_cfa_offset 112
	test	rax, rax
	jne	.L13
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, rbx
	call	gtk_tree_store_append@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rbp
	call	GTK_TREE_STORE@PLT
	mov	rdi, rax
	call	gtk_tree_store_clear@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L14:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	subtitle_def_selected_lang_list_clear, .-subtitle_def_selected_lang_list_clear
	.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_subtitlehandler.c_subtitle_def_selected_lang_list_clear.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"subtitle_avail_lang\000"
	.align	2
.LC1:
	.ascii	"subtitle_selected_lang\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	subtitle_def_selected_lang_list_clear, %function
subtitle_def_selected_lang_list_clear:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L15
	sub	sp, sp, #40
	ldr	r1, .L15+4
	mov	r5, r0
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	GHB_WIDGET
	bl	GTK_TREE_VIEW
	bl	gtk_tree_view_get_model
	bl	GTK_TREE_STORE
	ldr	r1, .L15+8
	mov	r4, r0
	ldr	r0, [r5]
	bl	GHB_WIDGET
	bl	GTK_TREE_VIEW
	bl	gtk_tree_view_get_model
	add	r1, sp, #16
	mov	r5, r0
	bl	gtk_tree_model_get_iter_first
	cmp	r0, #0
	beq	.L2
	mvn	r7, #0
	mov	r6, #1
	add	r8, sp, #24
	b	.L5
.L13:
	mov	r2, #0
	mov	r0, r4
	add	r3, sp, #32
	add	r1, sp, #28
	bl	gtk_tree_store_insert_before
.L4:
	ldr	r3, [sp, #24]
	mov	r2, #0
	add	r1, sp, #28
	str	r3, [sp, #4]
	mov	r0, r4
	ldr	r3, [sp, #20]
	str	r7, [sp, #8]
	str	r6, [sp]
	bl	gtk_tree_store_set
	ldr	r0, [sp, #20]
	bl	g_free
	mov	r0, r5
	add	r1, sp, #16
	bl	gtk_tree_model_iter_next
	cmp	r0, #0
	beq	.L2
.L5:
	mov	r2, #0
	add	r3, sp, #20
	add	r1, sp, #16
	mov	r0, r5
	stm	sp, {r6, r8}
	str	r7, [sp, #8]
	bl	gtk_tree_model_get
	mov	r0, r4
	bl	GTK_TREE_MODEL
	ldr	r2, [sp, #24]
	add	r1, sp, #32
	bl	ghb_find_lang_row
	subs	r2, r0, #0
	bne	.L13
	mov	r0, r4
	add	r1, sp, #28
	bl	gtk_tree_store_append
	b	.L4
.L2:
	mov	r0, r5
	bl	GTK_TREE_STORE
	bl	gtk_tree_store_clear
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	subtitle_def_selected_lang_list_clear, .-subtitle_def_selected_lang_list_clear
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
