	.file	"extr_xcb.c_Mapping.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	Mapping, @function
Mapping:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	r15, QWORD PTR [rdi]
	mov	QWORD PTR 32[rsp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [r15], 0
	mov	QWORD PTR 8[r15], 0
	call	vlc_actions_get_key_names@PLT
	mov	DWORD PTR 12[rsp], 0
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR 24[rsp], rax
	test	rsi, rsi
	je	.L1
	lea	rax, 48[rsp]
	mov	QWORD PTR 40[rsp], rax
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rcx, QWORD PTR 40[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	edx, 1
	call	vlc_actions_get_keycodes@PLT
	mov	QWORD PTR 16[rsp], rax
	test	rax, rax
	je	.L3
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 48[rsp]
	mov	edx, DWORD PTR KEY_MODIFIER[rip]
	xor	ebp, ebp
	mov	esi, DWORD PTR 16[r15]
	mov	edi, DWORD PTR 20[r15]
	mov	ebx, DWORD PTR [rax+r12*4]
	and	edx, ebx
	call	GetX11Modifier@PLT
	xor	edx, edx
	mov	DWORD PTR 8[rsp], eax
.L8:
	mov	esi, DWORD PTR 16[r15]
	mov	edi, DWORD PTR 20[r15]
	call	GetModifier@PLT
	mov	r13d, eax
	test	ebp, ebp
	je	.L13
	test	eax, eax
	jne	.L13
	add	rbp, 1
	cmp	rbp, 4
	je	.L6
.L31:
	lea	rax, p_x11_modifier_ignored.1965[rip]
	mov	edx, DWORD PTR [rax+rbp*4]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR KEY_MODIFIER[rip]
	not	edi
	and	edi, ebx
	call	GetX11Key@PLT
	mov	edi, DWORD PTR 16[r15]
	mov	esi, eax
	call	xcb_key_symbols_get_keycode@PLT
	mov	r14, rax
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR [r15]
	mov	rdi, QWORD PTR 8[r15]
	lea	esi, 1[rax]
	sal	esi, 4
	call	realloc@PLT
	test	rax, rax
	je	.L30
	movsx	rsi, DWORD PTR [r15]
	mov	edx, DWORD PTR 8[rsp]
	add	rbp, 1
	mov	QWORD PTR 8[r15], rax
	mov	DWORD PTR 12[rsp], 1
	mov	rdi, rsi
	sal	rsi, 4
	or	edx, r13d
	add	rsi, rax
	add	edi, 1
	mov	DWORD PTR [r15], edi
	mov	QWORD PTR [rsi], r14
	mov	DWORD PTR 8[rsi], edx
	mov	DWORD PTR 12[rsi], ebx
	cmp	rbp, 4
	jne	.L31
.L6:
	add	r12, 1
	cmp	QWORD PTR 16[rsp], r12
	jne	.L9
.L3:
	mov	rdi, QWORD PTR 48[rsp]
	call	free@PLT
	add	QWORD PTR 24[rsp], 8
	mov	rax, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR [rax]
	test	rsi, rsi
	jne	.L10
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L32
	mov	eax, DWORD PTR 12[rsp]
	add	rsp, 72
	.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
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	rdi, r14
	add	r12, 1
	call	free@PLT
	cmp	QWORD PTR 16[rsp], r12
	jne	.L9
	jmp	.L3
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	Mapping, .-Mapping
	.section	.rodata
	.align 16
	.type	p_x11_modifier_ignored.1965, @object
	.size	p_x11_modifier_ignored.1965, 16
p_x11_modifier_ignored.1965:
	.long	0
	.long	129
	.long	128
	.long	130
	.comm	KEY_MODIFIER,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_xcb.c_Mapping.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Mapping, %function
Mapping:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, #0
	sub	sp, sp, #36
	ldr	r4, [r0]
	ldr	r3, .L29
	str	r0, [sp, #20]
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	str	fp, [r4, #4]
	str	fp, [r4]
	bl	vlc_actions_get_key_names
	ldr	r1, [r0]
	str	r0, [sp, #16]
	cmp	r1, fp
	beq	.L11
	ldr	r10, .L29+4
	str	fp, [sp, #8]
.L9:
	add	r3, sp, #24
	mov	r2, #1
	ldr	r0, [sp, #20]
	bl	vlc_actions_get_keycodes
	subs	r3, r0, #0
	str	r3, [sp, #12]
	beq	.L3
	mov	r9, #0
.L8:
	ldr	r3, [sp, #24]
	ldr	r2, [r10]
	ldr	r7, [r3, r9, lsl #2]
	ldr	r1, [r4, #8]
	and	r2, r2, r7
	ldr	r0, [r4, #12]
	bl	GetX11Modifier
	mov	r2, #0
	mov	r8, r2
	ldr	r6, .L29+8
	str	r0, [sp, #4]
.L7:
	ldr	r1, [r4, #8]
	ldr	r0, [r4, #12]
	bl	GetModifier
	clz	r3, r0
	cmp	r8, #0
	lsr	r3, r3, #5
	moveq	r3, #0
	cmp	r3, #0
	mov	fp, r0
	bne	.L4
	ldr	r0, [r10]
	ldr	r5, [r4, #8]
	bic	r0, r7, r0
	bl	GetX11Key
	mov	r1, r0
	mov	r0, r5
	bl	xcb_key_symbols_get_keycode
	subs	r5, r0, #0
	beq	.L5
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	add	r1, r1, #1
	add	r1, r1, r1, lsl #1
	lsl	r1, r1, #2
	bl	realloc
	subs	r3, r0, #0
	beq	.L27
	mov	r2, #1
	ldr	r1, [r4]
	str	r2, [sp, #8]
	ldr	r2, [sp, #4]
	add	r0, r1, #1
	add	r1, r1, r1, lsl #1
	stm	r4, {r0, r3}
	orr	fp, r2, fp
	add	r0, r3, r1, lsl #2
	str	r5, [r3, r1, lsl #2]
	str	fp, [r0, #4]
	str	r7, [r0, #8]
.L4:
	add	r8, r8, #1
	cmp	r8, #4
	beq	.L5
	ldr	r2, [r6], #4
	b	.L7
.L27:
	mov	r0, r5
	bl	free
.L5:
	ldr	r3, [sp, #12]
	add	r9, r9, #1
	cmp	r3, r9
	bne	.L8
.L3:
	ldr	r0, [sp, #24]
	bl	free
	ldr	r3, [sp, #16]
	ldr	r1, [r3, #4]!
	cmp	r1, #0
	str	r3, [sp, #16]
	bne	.L9
.L1:
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	ldr	r0, [sp, #8]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	str	r1, [sp, #8]
	b	.L1
.L28:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	KEY_MODIFIER
	.word	.LANCHOR0+4
	.size	Mapping, .-Mapping
	.comm	KEY_MODIFIER,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	p_x11_modifier_ignored.4249, %object
	.size	p_x11_modifier_ignored.4249, 16
p_x11_modifier_ignored.4249:
	.word	0
	.word	129
	.word	128
	.word	130
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
