	.file	"extr_ui_shared.c_BindingFromName.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" or "
.LC1:
	.string	"???"
	.text
	.p2align 4
	.globl	BindingFromName
	.type	BindingFromName, @function
BindingFromName:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR g_bindCount[rip]
	test	eax, eax
	jle	.L2
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR g_bindCount[rip], ebx
	jle	.L16
.L6:
	mov	rax, QWORD PTR g_bindings[rip]
	lea	rbp, [rbx+rbx*2]
	mov	rdi, r12
	sal	rbp, 2
	mov	esi, DWORD PTR 8[rax+rbp]
	call	Q_stricmp@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR g_bindings[rip]
	mov	rdi, QWORD PTR g_nameBind1[rip]
	mov	r8d, DWORD PTR [rax+rbp]
	cmp	r8d, -1
	je	.L4
	mov	rax, QWORD PTR DC[rip]
	mov	rsi, rdi
	mov	edx, 32
	mov	edi, r8d
	call	[QWORD PTR [rax]]
	mov	rdi, QWORD PTR g_nameBind1[rip]
	call	Q_strupr@PLT
	mov	rax, QWORD PTR g_bindings[rip]
	mov	edi, DWORD PTR 4[rax+rbp]
	cmp	edi, -1
	je	.L1
	mov	rax, QWORD PTR DC[rip]
	mov	rsi, QWORD PTR g_nameBind2[rip]
	mov	edx, 32
	call	[QWORD PTR [rax]]
	mov	rdi, QWORD PTR g_nameBind2[rip]
	call	Q_strupr@PLT
	mov	rdi, QWORD PTR g_nameBind1[rip]
	lea	rsi, .LC0[rip]
	call	strcat@PLT
	mov	rsi, QWORD PTR g_nameBind2[rip]
	mov	rdi, QWORD PTR g_nameBind1[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	strcat@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, QWORD PTR g_nameBind1[rip]
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	lea	rsi, .LC1[rip]
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	strcpy@PLT
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	rdi, QWORD PTR g_nameBind1[rip]
	lea	rsi, .LC1[rip]
	jmp	strcpy@PLT
	.cfi_endproc
.LFE0:
	.size	BindingFromName, .-BindingFromName
	.comm	g_nameBind2,8,8
	.comm	g_nameBind1,8,8
	.comm	g_bindings,8,8
	.comm	g_bindCount,4,4
	.comm	DC,8,8
	.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_ui_shared.c_BindingFromName.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" or \000"
	.align	2
.LC1:
	.ascii	"???\000"
	.text
	.align	2
	.global	BindingFromName
	.syntax unified
	.arm
	.fpu softvfp
	.type	BindingFromName, %function
BindingFromName:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L13
	ldr	r3, [r8]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	mov	r6, r0
	mov	r5, r4
	ldr	r7, .L13+4
	b	.L6
.L3:
	ldr	r3, [r8]
	add	r4, r4, #12
	cmp	r3, r5
	ble	.L2
.L6:
	ldr	r3, [r7]
	mov	r0, r6
	add	r3, r3, r4
	ldr	r1, [r3, #8]
	bl	Q_stricmp
	cmp	r0, #0
	add	r5, r5, #1
	bne	.L3
	ldr	r3, [r7]
	ldr	r5, .L13+8
	ldr	r3, [r3, r4]
	ldr	r0, [r5]
	cmn	r3, #1
	beq	.L4
	ldr	r6, .L13+12
	mov	r1, r0
	ldr	r2, [r6]
	mov	r0, r3
	ldr	r3, [r2]
	mov	r2, #32
	blx	r3
	ldr	r0, [r5]
	bl	Q_strupr
	ldr	r3, [r7]
	add	r4, r3, r4
	ldr	r0, [r4, #4]
	cmn	r0, #1
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r4, .L13+16
	ldr	r3, [r6]
	ldr	r1, [r4]
	mov	r2, #32
	ldr	r3, [r3]
	blx	r3
	ldr	r0, [r4]
	bl	Q_strupr
	ldr	r6, [r5]
	mov	r0, r6
	bl	strlen
	ldr	r1, .L13+20
	add	r0, r6, r0
	mov	r2, #5
	bl	memcpy
	ldr	r1, [r4]
	ldr	r0, [r5]
	pop	{r4, r5, r6, r7, r8, lr}
	b	strcat
.L2:
	ldr	r3, .L13+8
	ldr	r0, [r3]
.L4:
	mov	r2, #4
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L13+24
	b	memcpy
.L14:
	.align	2
.L13:
	.word	g_bindCount
	.word	g_bindings
	.word	g_nameBind1
	.word	DC
	.word	g_nameBind2
	.word	.LC0
	.word	.LC1
	.size	BindingFromName, .-BindingFromName
	.comm	g_nameBind2,4,4
	.comm	g_nameBind1,4,4
	.comm	g_bindings,4,4
	.comm	g_bindCount,4,4
	.comm	DC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
