	.file	"extr_input.c_vlc_player_input_HandleChapterEvent.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vlc_player_input_HandleChapterEvent, @function
vlc_player_input_HandleChapterEvent:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 16[rdi]
	test	rax, rax
	je	.L9
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR 8[rsi]
	test	edx, edx
	js	.L1
	mov	r13, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR [rax]
	mov	rbp, rdi
	xor	edi, edi
	cmp	QWORD PTR [rsi], rax
	setb	dil
	call	assert@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	r12, QWORD PTR [rbx]
	sal	r12, 4
	add	r12, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[r12]
	test	rax, rax
	je	.L1
	xor	edi, edi
	cmp	DWORD PTR 8[rbx], eax
	setl	dil
	call	assert@PLT
	mov	rcx, QWORD PTR [rbx]
	movsx	r9, DWORD PTR 8[rbx]
	mov	rdx, r12
	mov	rax, QWORD PTR [r12]
	mov	esi, DWORD PTR on_chapter_selection_changed[rip]
	mov	rdi, r13
	mov	QWORD PTR 0[rbp], rcx
	mov	DWORD PTR 8[rbp], r9d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	r8, [rax+r9*4]
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	vlc_player_SendEvent@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	vlc_player_input_HandleChapterEvent, .-vlc_player_input_HandleChapterEvent
	.comm	on_chapter_selection_changed,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_input.c_vlc_player_input_HandleChapterEvent.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlc_player_input_HandleChapterEvent, %function
vlc_player_input_HandleChapterEvent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	cmp	r3, #0
	bxeq	lr
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r2, [r1, #4]
	mov	r4, r1
	cmp	r2, #0
	sub	sp, sp, #12
	blt	.L1
	mov	r5, r0
	ldr	r3, [r3]
	ldr	r0, [r1]
	ldr	r9, [r5, #12]
	cmp	r0, r3
	movcs	r0, #0
	movcc	r0, #1
	bl	assert
	ldr	r3, [r5, #8]
	ldr	r8, [r4]
	ldr	r7, [r3, #4]
	add	r6, r7, r8, lsl #3
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L1
	ldr	r0, [r4, #4]
	cmp	r3, r0
	movle	r0, #0
	movgt	r0, #1
	bl	assert
	ldr	r1, [r4, #4]
	ldr	r3, [r4]
	str	r1, [sp, #4]
	ldr	ip, [r7, r8, lsl #3]
	ldr	lr, .L13
	add	ip, ip, r1, lsl #2
	str	ip, [sp]
	mov	r2, r6
	str	r1, [r5, #4]
	mov	r0, r9
	ldr	r1, [lr]
	str	r3, [r5]
	bl	vlc_player_SendEvent
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L14:
	.align	2
.L13:
	.word	on_chapter_selection_changed
	.size	vlc_player_input_HandleChapterEvent, .-vlc_player_input_HandleChapterEvent
	.comm	on_chapter_selection_changed,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
