	.file	"extr_po2lmo.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"w"
.LC2:
	.string	"msgid \""
.LC3:
	.string	"Syntax error in msgid"
.LC4:
	.string	"msgstr \""
.LC5:
	.string	"Out of memory"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	lea	r11, -16384[rsp]
	.cfi_def_cfa 11, 16440
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	sub	rsp, 72
	.cfi_def_cfa_offset 16512
	mov	QWORD PTR 24[rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 16440[rsp], rax
	xor	eax, eax
	cmp	edi, 3
	je	.L37
.L2:
	mov	rax, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR [rax]
	call	usage@PLT
	mov	QWORD PTR 8[rsp], 0
.L3:
	lea	rbx, 48[rsp]
	mov	edx, 4096
	xor	esi, esi
	xor	ebp, ebp
	mov	rdi, rbx
	lea	r14, 4144[rsp]
	lea	r13, 8240[rsp]
	call	memset@PLT
	mov	edx, 4096
	xor	esi, esi
	mov	rdi, r14
	call	memset@PLT
	mov	edx, 4096
	xor	esi, esi
	mov	rdi, r13
	call	memset@PLT
	lea	r15, 12336[rsp]
	mov	QWORD PTR 16[rsp], 0
	mov	DWORD PTR [rsp], 0
	mov	DWORD PTR 4[rsp], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	test	ebp, ebp
	jne	.L5
	lea	rsi, .LC2[rip]
	mov	rdi, rbx
	call	strstr@PLT
	cmp	rbx, rax
	je	.L38
.L6:
	mov	edx, 4096
	xor	esi, esi
	mov	rdi, rbx
	call	memset@PLT
.L4:
	mov	rdx, r12
	mov	esi, 4096
	mov	rdi, rbx
	call	fgets@PLT
	test	rax, rax
	jne	.L14
	cmp	ebp, 1
	jle	.L18
	mov	rdi, r12
	call	feof@PLT
	test	rax, rax
	je	.L18
.L5:
	lea	eax, -1[rbp]
	cmp	eax, 1
	ja	.L8
	lea	rsi, .LC4[rip]
	mov	rdi, rbx
	call	strstr@PLT
	mov	edx, 4096
	cmp	rbx, rax
	je	.L23
	cmp	ebp, 2
	je	.L23
	mov	rsi, r15
	mov	rdi, rbx
	mov	ebp, 2
	call	extract_string@PLT
	cmp	eax, -1
	je	.L6
	mov	rsi, r15
	mov	rdi, r14
	mov	ebp, 1
	call	strcat@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rsi, r13
	mov	rdi, rbx
	mov	ebp, 3
	call	extract_string@PLT
	cmp	eax, -1
	jne	.L6
.L11:
	mov	rdi, r14
	call	strlen@PLT
	test	eax, eax
	jg	.L39
.L12:
	mov	edx, 4096
	xor	esi, esi
	mov	rdi, r14
	xor	ebp, ebp
	call	memset@PLT
	mov	edx, 4096
	xor	esi, esi
	mov	rdi, r13
	call	memset@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L39:
	mov	rdi, r13
	call	strlen@PLT
	test	eax, eax
	jle	.L12
	mov	rdi, r14
	call	strlen@PLT
	mov	rdi, r14
	mov	esi, eax
	call	sfh_hash@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	strlen@PLT
	mov	rdi, r13
	mov	esi, eax
	call	sfh_hash@PLT
	cmp	rbp, rax
	mov	QWORD PTR 32[rsp], rax
	je	.L12
	add	DWORD PTR [rsp], 1
	mov	eax, DWORD PTR [rsp]
	mov	rdi, QWORD PTR 16[rsp]
	lea	esi, [rax+rax*2]
	sal	esi, 3
	call	realloc@PLT
	mov	rdx, rax
	mov	QWORD PTR 16[rsp], rax
	movsx	rax, DWORD PTR [rsp]
	test	rdx, rdx
	lea	rax, [rax+rax*2]
	lea	rcx, -24[rdx+rax*8]
	mov	rdx, QWORD PTR 32[rsp]
	je	.L40
.L13:
	mov	eax, DWORD PTR 4[rsp]
	mov	QWORD PTR 8[rcx], rdx
	mov	rdi, r13
	mov	QWORD PTR 16[rcx], rbp
	mov	DWORD PTR [rcx], eax
	mov	QWORD PTR 32[rsp], rcx
	call	strlen@PLT
	mov	rcx, QWORD PTR 32[rsp]
	mov	rdi, r13
	mov	DWORD PTR 4[rcx], eax
	call	strlen@PLT
	mov	rdi, r13
	mov	ebp, eax
	call	strlen@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	edx, 1
	mov	rdi, r13
	neg	eax
	and	eax, 3
	add	ebp, eax
	mov	esi, ebp
	call	print@PLT
	add	DWORD PTR 4[rsp], ebp
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	ebp, 3
	jne	.L6
	mov	edx, 4096
	mov	rsi, r15
	mov	rdi, rbx
	call	extract_string@PLT
	cmp	eax, -1
	je	.L11
	mov	rsi, r15
	mov	rdi, r13
	call	strcat@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L38:
	mov	edx, 4096
	mov	rsi, r14
	mov	rdi, rbx
	call	extract_string@PLT
	cmp	eax, -1
	je	.L7
	xor	ebp, ebp
	test	eax, eax
	setne	bpl
	add	ebp, 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR [rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	print_index@PLT
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jle	.L41
	mov	rbx, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 4[rsp]
	mov	rsi, rbx
	call	print_uint32@PLT
	mov	rdi, rbx
	call	fileno@PLT
	mov	edi, eax
	call	fsync@PLT
	mov	rdi, rbx
	call	fclose@PLT
.L19:
	mov	rdi, r12
	call	fclose@PLT
	mov	rax, QWORD PTR 16440[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L42
	add	rsp, 16456
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L7:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	mov	ebp, 1
	call	die@PLT
	jmp	.L6
.L41:
	mov	rdi, QWORD PTR 8[rsp]
	call	fclose@PLT
	mov	rax, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 16[rax]
	call	unlink@PLT
	jmp	.L19
.L37:
	mov	rdi, QWORD PTR 8[rsi]
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	call	fopen@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	jne	.L3
	jmp	.L2
.L40:
	lea	rdi, .LC5[rip]
	mov	QWORD PTR 40[rsp], rcx
	call	die@PLT
	mov	rcx, QWORD PTR 40[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	jmp	.L13
.L42:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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_po2lmo.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	"msgid \"\000"
	.align	2
.LC3:
	.ascii	"Syntax error in msgid\000"
	.align	2
.LC4:
	.ascii	"msgstr \"\000"
	.align	2
.LC5:
	.ascii	"Out of memory\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16408
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #16384
	sub	sp, sp, #28
	add	r3, sp, #16384
	ldr	r2, .L46
	str	r1, [sp, #4]
	cmp	r0, #3
	add	r3, r3, #20
	ldr	r2, [r2]
	str	r2, [r3]
	mov	r2,#0
	beq	.L40
.L2:
	ldr	r3, [sp, #4]
	mov	r10, #0
	ldr	r0, [r3]
	bl	usage
.L3:
	mov	r9, #0
	add	r4, sp, #20
	mov	r2, #4096
	mov	r1, r9
	mov	r0, r4
	bl	memset
	add	r0, sp, #4096
	mov	r2, #4096
	mov	r1, r9
	add	r0, r0, #20
	bl	memset
	add	r0, sp, #8192
	mov	r2, #4096
	mov	r1, r9
	add	r0, r0, #20
	bl	memset
	mov	fp, r9
	mov	r5, r9
	ldr	r8, .L46+4
	ldr	r7, .L46+8
	str	r9, [sp]
	b	.L4
.L13:
	cmp	r5, #0
	bne	.L5
	mov	r1, r7
	mov	r0, r4
	bl	strstr
	cmp	r4, r0
	beq	.L41
.L6:
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r4
	bl	memset
.L4:
	mov	r2, r6
	mov	r1, #4096
	mov	r0, r4
	bl	fgets
	cmp	r0, #0
	bne	.L13
	cmp	r5, #1
	ble	.L17
	mov	r0, r6
	bl	feof
	cmp	r0, #0
	beq	.L17
.L5:
	sub	r3, r5, #1
	cmp	r3, #1
	bhi	.L8
	mov	r1, r8
	mov	r0, r4
	bl	strstr
	cmp	r5, #2
	cmpne	r4, r0
	bne	.L9
	add	r1, sp, #8192
	mov	r2, #4096
	mov	r0, r4
	add	r1, r1, #20
	bl	extract_string
	cmn	r0, #1
	movne	r5, #3
	bne	.L6
.L10:
	add	r0, sp, #4096
	add	r0, r0, #20
	bl	strlen
	subs	r5, r0, #0
	beq	.L11
	add	r0, sp, #8192
	add	r0, r0, #20
	bl	strlen
	cmp	r0, #0
	bne	.L42
.L11:
	add	r0, sp, #4096
	mov	r2, #4096
	mov	r1, #0
	add	r0, r0, #20
	bl	memset
	add	r0, sp, #8192
	mov	r2, #4096
	mov	r1, #0
	add	r0, r0, #20
	bl	memset
	mov	r5, #0
	b	.L6
.L9:
	add	r1, sp, #12288
	mov	r2, #4096
	mov	r0, r4
	add	r1, r1, #20
	bl	extract_string
	cmn	r0, #1
	moveq	r5, #2
	beq	.L6
	add	r1, sp, #12288
	add	r0, sp, #4096
	add	r1, r1, #20
	add	r0, r0, #20
	bl	strcat
	mov	r5, #1
	b	.L6
.L8:
	cmp	r5, #3
	bne	.L6
	add	r1, sp, #12288
	mov	r2, #4096
	mov	r0, r4
	add	r1, r1, #20
	bl	extract_string
	cmn	r0, #1
	beq	.L10
	add	r1, sp, #12288
	add	r0, sp, #8192
	add	r1, r1, #20
	add	r0, r0, #20
	bl	strcat
	b	.L6
.L41:
	add	r1, sp, #4096
	mov	r2, #4096
	add	r1, r1, #20
	bl	extract_string
	cmn	r0, #1
	beq	.L7
	cmp	r0, #0
	movne	r5, #2
	moveq	r5, #1
	b	.L6
.L42:
	add	r0, sp, #4096
	mov	r1, r5
	add	r0, r0, #20
	bl	sfh_hash
	mov	r5, r0
	add	r0, sp, #8192
	add	r0, r0, #20
	bl	strlen
	mov	r1, r0
	add	r0, sp, #8192
	add	r0, r0, #20
	bl	sfh_hash
	cmp	r5, r0
	str	r0, [sp, #8]
	beq	.L11
	ldr	r3, [sp]
	mov	r0, r9
	add	r3, r3, #1
	lsl	r1, r3, #4
	str	r3, [sp]
	str	r1, [sp, #12]
	bl	realloc
	ldr	r1, [sp, #12]
	cmp	r0, #0
	sub	r3, r1, #16
	mov	r9, r0
	ldr	r2, [sp, #8]
	add	r3, r0, r3
	beq	.L43
.L12:
	add	r0, sp, #8192
	str	r5, [r3, #12]
	str	r2, [r3, #8]
	str	fp, [r3]
	add	r0, r0, #20
	str	r3, [sp, #8]
	bl	strlen
	mov	r2, r0
	ldr	r3, [sp, #8]
	add	r0, sp, #8192
	str	r2, [r3, #4]
	add	r0, r0, #20
	bl	strlen
	rsb	r5, r0, #0
	and	r5, r5, #3
	add	r5, r5, r0
	add	r0, sp, #8192
	mov	r1, r5
	mov	r3, r10
	mov	r2, #1
	add	r0, r0, #20
	bl	print
	add	fp, fp, r5
	b	.L11
.L17:
	mov	r0, r9
	mov	r2, r10
	ldr	r1, [sp]
	bl	print_index
	cmp	fp, #0
	beq	.L44
	mov	r1, r10
	mov	r0, fp
	bl	print_uint32
	mov	r0, r10
	bl	fileno
	bl	fsync
	mov	r0, r10
	bl	fclose
.L18:
	mov	r0, r6
	bl	fclose
	add	r3, sp, #16384
	ldr	r2, .L46
	add	r3, r3, #20
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L45
	mov	r0, #0
	add	sp, sp, #16384
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r0, .L46+12
	bl	die
	mov	r5, #1
	b	.L6
.L44:
	mov	r0, r10
	bl	fclose
	ldr	r3, [sp, #4]
	ldr	r0, [r3, #8]
	bl	unlink
	b	.L18
.L40:
	ldr	r4, [sp, #4]
	ldr	r1, .L46+16
	ldr	r0, [r4, #4]
	bl	fopen
	subs	r6, r0, #0
	beq	.L2
	ldr	r1, .L46+20
	ldr	r0, [r4, #8]
	bl	fopen
	subs	r10, r0, #0
	bne	.L3
	b	.L2
.L45:
	bl	__stack_chk_fail
.L43:
	ldr	r0, .L46+24
	str	r3, [sp, #12]
	bl	die
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #8]
	b	.L12
.L47:
	.align	2
.L46:
	.word	.LC6
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
