	.file	"extr_item.c_input_item_ChangeEPGSource.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	input_item_ChangeEPGSource
	.type	input_item_ChangeEPGSource, @function
input_item_ChangeEPGSource:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 4[rdi]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	vlc_mutex_lock@PLT
	mov	QWORD PTR 16[rbp], 0
	test	ebx, ebx
	jle	.L2
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	jle	.L2
	mov	rax, QWORD PTR 8[rbp]
	sub	edx, 1
	lea	rcx, 8[rax+rdx*8]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rax, 8
	cmp	rax, rcx
	je	.L2
.L4:
	mov	rdx, QWORD PTR [rax]
	cmp	DWORD PTR [rdx], ebx
	jne	.L3
	cmp	QWORD PTR 8[rdx], 0
	je	.L3
	mov	QWORD PTR 16[rbp], rdx
.L2:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	vlc_mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	input_item_ChangeEPGSource, .-input_item_ChangeEPGSource
	.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_item.c_input_item_ChangeEPGSource.c"
	.text
	.align	2
	.global	input_item_ChangeEPGSource
	.syntax unified
	.arm
	.fpu softvfp
	.type	input_item_ChangeEPGSource, %function
input_item_ChangeEPGSource:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	add	r6, r0, #4
	mov	r5, r0
	mov	r0, r6
	mov	r4, r1
	bl	vlc_mutex_lock
	mov	r3, #0
	cmp	r4, r3
	str	r3, [r5, #12]
	ble	.L2
	ldr	r1, [r5]
	cmp	r1, r3
	ble	.L2
	ldr	ip, [r5, #8]
	sub	ip, ip, #4
	b	.L4
.L3:
	cmp	r3, r1
	beq	.L2
.L4:
	ldr	r2, [ip, #4]!
	add	r3, r3, #1
	ldr	lr, [r2]
	cmp	lr, r4
	bne	.L3
	ldr	r0, [r2, #4]
	cmp	r0, #0
	beq	.L3
	str	r2, [r5, #12]
.L2:
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	vlc_mutex_unlock
	.size	input_item_ChangeEPGSource, .-input_item_ChangeEPGSource
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
