	.file	"extr_localization.c_dispatch_loc_cmd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"MSG_"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"only the [t]ext command can be applied to a message (MSG_###)\n"
	.align 8
.LC2:
	.string	"failed to convert the numeric value in '%'\n"
	.section	.rodata.str1.1
.LC3:
	.string	"unknown control '%s'\n"
.LC4:
	.string	"'%s' is not a group ID\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"localization: using locale base '%s'\n"
	.align 8
.LC6:
	.string	"locale base '%s' not found - ignoring"
	.text
	.p2align 4
	.globl	dispatch_loc_cmd
	.type	dispatch_loc_cmd, @function
dispatch_loc_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L29
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	QWORD PTR [rdi], 128
	jle	.L30
.L4:
	mov	rax, QWORD PTR default_msg_table[rip]
	cmp	QWORD PTR msg_table[rip], rax
	je	.L16
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, 129
	je	.L14
	cmp	rax, 130
	je	.L15
	cmp	rax, 128
	je	.L31
.L16:
	mov	rdi, rbp
	call	free_loc_cmd@PLT
.L17:
	mov	eax, DWORD PTR TRUE[rip]
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rdi]
	mov	edx, 4
	lea	rsi, .LC0[rip]
	mov	rdi, QWORD PTR [rax]
	call	safe_strncmp@PLT
	test	rax, rax
	jne	.L21
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L6
	cmp	QWORD PTR 0[rbp], 128
	je	.L7
.L6:
	lea	rdi, .LC1[rip]
	call	luprint@PLT
.L8:
	mov	rdi, rbp
	call	free_loc_cmd@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR FALSE[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	edi, DWORD PTR dlg_index.1970[rip]
	mov	rsi, rbp
	call	add_dialog_command@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR FALSE[rip]
	mov	rdi, QWORD PTR [rax]
	call	get_locale_from_name@PLT
	mov	r12, rax
	mov	rax, QWORD PTR 16[rbp]
	mov	rsi, QWORD PTR [rax]
	test	r12, r12
	je	.L19
	lea	rdi, .LC5[rip]
	call	uprintf@PLT
	mov	rsi, r12
	xor	edi, edi
	call	get_loc_data_file@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR loc_dlg[rip]
	mov	rbx, QWORD PTR 8[rbp]
	sub	rbx, QWORD PTR IDD_DIALOG[rip]
	call	ARRAYSIZE@PLT
	cmp	rbx, rax
	ja	.L32
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	sub	eax, DWORD PTR IDD_DIALOG[rip]
	mov	DWORD PTR dlg_index.1970[rip], eax
	call	free_loc_cmd@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L21:
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR control_id[rip]
	mov	r12, rbx
	sal	r12, 4
	mov	esi, DWORD PTR 8[rax+r12]
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, QWORD PTR [rax]
	call	safe_strcmp@PLT
	test	rax, rax
	je	.L33
	add	rbx, 1
.L5:
	mov	rdi, QWORD PTR control_id[rip]
	call	ARRAYSIZE@PLT
	cmp	rax, rbx
	ja	.L12
	mov	rax, QWORD PTR 8[rbp]
.L11:
	test	rax, rax
	jns	.L4
	mov	rax, QWORD PTR 16[rbp]
	lea	rdi, .LC3[rip]
	mov	rsi, QWORD PTR [rax]
	call	luprintf@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR FALSE[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rax, QWORD PTR control_id[rip]
	mov	rax, QWORD PTR [rax+r12]
	mov	QWORD PTR 8[rbp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rax, QWORD PTR 16[rbp]
	lea	rdi, .LC4[rip]
	mov	rsi, QWORD PTR [rax]
	call	luprintf@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rdi, .LC6[rip]
	call	luprintf@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L7:
	add	rdi, 16
	call	atoi@PLT
	mov	rdx, QWORD PTR MSG_000[rip]
	add	rax, rdx
	mov	QWORD PTR 8[rbp], rax
	cmp	rdx, rax
	je	.L34
	mov	rdi, rbp
	call	add_message_command@PLT
	mov	rdi, rbp
	call	free_loc_cmd@PLT
	mov	eax, DWORD PTR TRUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rax, QWORD PTR 16[rbp]
	lea	rdi, .LC2[rip]
	mov	rsi, QWORD PTR [rax]
	call	luprintf@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	dispatch_loc_cmd, .-dispatch_loc_cmd
	.local	dlg_index.1970
	.comm	dlg_index.1970,4,4
	.comm	msg_table,8,8
	.comm	loc_dlg,8,8
	.comm	default_msg_table,8,8
	.comm	control_id,8,8
	.comm	TRUE,4,4
	.comm	MSG_000,8,8
	.comm	IDD_DIALOG,8,8
	.comm	FALSE,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_localization.c_dispatch_loc_cmd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"MSG_\000"
	.align	2
.LC1:
	.ascii	"only the [t]ext command can be applied to a message"
	.ascii	" (MSG_###)\012\000"
	.align	2
.LC2:
	.ascii	"failed to convert the numeric value in '%'\012\000"
	.align	2
.LC3:
	.ascii	"unknown control '%s'\012\000"
	.align	2
.LC4:
	.ascii	"'%s' is not a group ID\012\000"
	.align	2
.LC5:
	.ascii	"localization: using locale base '%s'\012\000"
	.align	2
.LC6:
	.ascii	"locale base '%s' not found - ignoring\000"
	.text
	.align	2
	.global	dispatch_loc_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	dispatch_loc_cmd, %function
dispatch_loc_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	beq	.L26
	ldr	r3, [r4]
	cmp	r3, #128
	ble	.L28
.L4:
	ldr	r2, .L33
	ldr	r3, .L33+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L16
	ldr	r3, [r4]
	cmp	r3, #129
	beq	.L14
	cmp	r3, #130
	beq	.L15
	cmp	r3, #128
	beq	.L29
.L16:
	mov	r0, r4
	bl	free_loc_cmd
.L17:
	ldr	r3, .L33+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L28:
	ldr	r3, [r4, #8]
	mov	r2, #4
	ldr	r0, [r3]
	ldr	r1, .L33+12
	bl	safe_strncmp
	cmp	r0, #0
	bne	.L21
	ldr	r3, [r4, #8]
	ldr	r0, [r3]
	cmp	r0, #0
	beq	.L6
	ldr	r3, [r4]
	cmp	r3, #128
	beq	.L7
.L6:
	ldr	r0, .L33+16
	bl	luprint
.L8:
	mov	r0, r4
	bl	free_loc_cmd
.L26:
	ldr	r3, .L33+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L29:
	ldr	r3, .L33+24
	mov	r1, r4
	ldr	r0, [r3]
	bl	add_dialog_command
	b	.L17
.L15:
	ldr	r3, [r4, #8]
	ldr	r2, .L33+20
	ldr	r0, [r3]
	ldr	r1, [r2]
	bl	get_locale_from_name
	subs	r5, r0, #0
	ldr	r3, [r4, #8]
	beq	.L19
	ldr	r1, [r3]
	ldr	r0, .L33+28
	bl	uprintf
	mov	r1, r5
	mov	r0, #0
	bl	get_loc_data_file
	b	.L16
.L14:
	ldr	r6, .L33+32
	ldr	r2, .L33+36
	ldr	r3, [r6]
	ldr	r5, [r4, #4]
	ldr	r0, [r2]
	sub	r5, r5, r3
	bl	ARRAYSIZE
	cmp	r5, r0
	bhi	.L30
	ldr	r1, [r6]
	ldr	r3, [r4, #4]
	ldr	r2, .L33+24
	sub	r3, r3, r1
	mov	r0, r4
	str	r3, [r2]
	bl	free_loc_cmd
	b	.L17
.L21:
	mov	r5, #0
	ldr	r6, .L33+40
	b	.L5
.L12:
	ldr	r3, [r6]
	ldr	r2, [r4, #8]
	add	r3, r3, r5, lsl #3
	ldr	r1, [r3, #4]
	ldr	r0, [r2]
	bl	safe_strcmp
	cmp	r0, #0
	lsl	r3, r5, #3
	beq	.L31
	add	r5, r5, #1
.L5:
	ldr	r0, [r6]
	bl	ARRAYSIZE
	cmp	r0, r5
	bhi	.L12
	ldr	r3, [r4, #4]
.L11:
	cmp	r3, #0
	bge	.L4
	ldr	r3, [r4, #8]
	ldr	r0, .L33+44
	ldr	r1, [r3]
	bl	luprintf
	b	.L8
.L31:
	ldr	r2, [r6]
	ldr	r3, [r2, r3]
	str	r3, [r4, #4]
	b	.L11
.L30:
	ldr	r3, [r4, #8]
	ldr	r0, .L33+48
	ldr	r1, [r3]
	bl	luprintf
	b	.L8
.L19:
	ldr	r1, [r3]
	ldr	r0, .L33+52
	bl	luprintf
	b	.L16
.L7:
	add	r0, r0, #16
	bl	atoi
	ldr	r3, .L33+56
	ldr	r3, [r3]
	add	r0, r0, r3
	cmp	r3, r0
	str	r0, [r4, #4]
	beq	.L32
	mov	r0, r4
	bl	add_message_command
	mov	r0, r4
	bl	free_loc_cmd
	ldr	r3, .L33+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L32:
	ldr	r3, [r4, #8]
	ldr	r0, .L33+60
	ldr	r1, [r3]
	bl	luprintf
	b	.L8
.L34:
	.align	2
.L33:
	.word	msg_table
	.word	default_msg_table
	.word	TRUE
	.word	.LC0
	.word	.LC1
	.word	FALSE
	.word	.LANCHOR0
	.word	.LC5
	.word	IDD_DIALOG
	.word	loc_dlg
	.word	control_id
	.word	.LC3
	.word	.LC4
	.word	.LC6
	.word	MSG_000
	.word	.LC2
	.size	dispatch_loc_cmd, .-dispatch_loc_cmd
	.comm	msg_table,4,4
	.comm	loc_dlg,4,4
	.comm	default_msg_table,4,4
	.comm	control_id,4,4
	.comm	TRUE,4,4
	.comm	MSG_000,4,4
	.comm	IDD_DIALOG,4,4
	.comm	FALSE,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	dlg_index.4254, %object
	.size	dlg_index.4254, 4
dlg_index.4254:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
