	.file	"564922.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Unsupported DBF version: %0x\n"
	.text
	.globl	dbfinit
	.type	dbfinit, @function
dbfinit:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sub	eax, 3
	cmp	eax, 2
	ja	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L5
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -8[rbp], 0
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	dbfinit, .-dbfinit
	.section	.rodata
.LC1:
	.string	"Unknown DBF version: %0x\n"
	.text
	.globl	dbfgetcolumns
	.type	dbfgetcolumns, @function
dbfgetcolumns:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	jbe	.L7
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 5
	jbe	.L8
.L7:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	DWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 32
	mov	QWORD PTR -24[rbp], rax
	jmp	.L9
.L11:
	add	DWORD PTR -32[rbp], 1
	add	QWORD PTR -24[rbp], 32
.L9:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L10
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L11
.L10:
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 32
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 5
	mov	rcx, rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -28[rbp], 1
.L12:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L13
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	dbfgetcolumns, .-dbfgetcolumns
	.section	.rodata
.LC2:
	.string	"col: %d "
.LC3:
	.string	"width: %d cum: %d\n"
	.text
	.globl	dbfgetrawcolumn
	.type	dbfgetrawcolumn, @function
dbfgetrawcolumn:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	DWORD PTR -92[rbp], esi
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -112[rbp], rcx
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	jbe	.L16
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 5
	jbe	.L17
.L16:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	DWORD PTR -56[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 10
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	DWORD PTR -52[rbp], eax
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 32
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -68[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 16[rax]
	movzx	eax, al
	add	DWORD PTR -64[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 16[rax]
	movzx	eax, al
	mov	edx, DWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -48[rbp], 32
.L18:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L19
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	je	.L19
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L20
.L19:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 16[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -104[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	add	QWORD PTR -40[rbp], rax
	add	DWORD PTR -60[rbp], 1
.L21:
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L22
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	dbfgetrawcolumn, .-dbfgetrawcolumn
	.section	.rodata
.LC4:
	.string	"sizeof(dbfIIIheader): %ld\n"
.LC5:
	.string	"sizeof(dbfIIIfield): %ld\n"
	.align 8
.LC6:
	.string	"usage: %s [-c] [-r name] [-v] file\n  -c lists the column names\n  -r lists all rows for named column\n  -v dump as csv.\n"
	.align 8
.LC7:
	.string	"/Users/jonathan/Development/ShapeFiles/TM_WORLD_BORDERS-0.3.dbf"
.LC8:
	.string	"row: %d col: %.*s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 32
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 32
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -84[rbp], 1
	jg	.L25
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	lea	rax, .LC7[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	mov	r9d, 0
	mov	r8d, eax
	mov	ecx, 1
	mov	edx, 1
	mov	esi, 65536
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	dbfinit
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	dbfgetcolumns
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -72[rbp], 1
.L26:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L27
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	lea	rcx, -76[rbp]
	lea	rdx, -80[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	dbfgetrawcolumn
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -68[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -68[rbp], 1
.L28:
	mov	eax, DWORD PTR -76[rbp]
	cmp	DWORD PTR -68[rbp], eax
	jl	.L29
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"564922.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unsupported DBF version: %0x\012\000"
	.text
	.align	2
	.global	dbfinit
	.syntax unified
	.arm
	.fpu softvfp
	.type	dbfinit, %function
dbfinit:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #3
	cmp	r3, #2
	bhi	.L2
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L5
.L2:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L6
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	dbfinit, .-dbfinit
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Unknown DBF version: %0x\012\000"
	.text
	.align	2
	.global	dbfgetcolumns
	.syntax unified
	.arm
	.fpu softvfp
	.type	dbfgetcolumns, %function
dbfgetcolumns:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L9
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #5
	bls	.L10
.L9:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L17
	bl	printf
	mov	r0, #1
	bl	exit
.L10:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r3, #32
	str	r3, [fp, #-20]
	b	.L11
.L13:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #32
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L13
.L12:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #32
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L14
.L15:
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #5
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldr	r1, [fp, #-20]
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L14:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC1
	.size	dbfgetcolumns, .-dbfgetcolumns
	.section	.rodata
	.align	2
.LC2:
	.ascii	"col: %d \000"
	.align	2
.LC3:
	.ascii	"width: %d cum: %d\012\000"
	.text
	.align	2
	.global	dbfgetrawcolumn
	.syntax unified
	.arm
	.fpu softvfp
	.type	dbfgetrawcolumn, %function
dbfgetrawcolumn:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L20
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #5
	bls	.L21
.L20:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L28
	bl	printf
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldrh	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #10
	ldrh	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-28]
	add	r3, r3, #32
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-12]
	b	.L22
.L24:
	ldr	r1, [fp, #-48]
	ldr	r0, .L28+4
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #16]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #16]	@ zero_extendqisi2
	ldr	r2, [fp, #-44]
	mov	r1, r3
	ldr	r0, .L28+8
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #32
	str	r3, [fp, #-40]
.L22:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L23
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L24
.L23:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #16]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-64]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L25
.L26:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	add	r1, r2, r3
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, [fp, #-36]
	bl	memcpy
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L25:
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	dbfgetrawcolumn, .-dbfgetrawcolumn
	.section	.rodata
	.align	2
.LC4:
	.ascii	"sizeof(dbfIIIheader): %ld\012\000"
	.align	2
.LC5:
	.ascii	"sizeof(dbfIIIfield): %ld\012\000"
	.align	2
.LC6:
	.ascii	"usage: %s [-c] [-r name] [-v] file\012  -c lists th"
	.ascii	"e column names\012  -r lists all rows for named col"
	.ascii	"umn\012  -v dump as csv.\012\000"
	.align	2
.LC7:
	.ascii	"/Users/jonathan/Development/ShapeFiles/TM_WORLD_BOR"
	.ascii	"DERS-0.3.dbf\000"
	.align	2
.LC8:
	.ascii	"row: %d col: %.*s\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #32
	ldr	r0, .L38+4
	bl	printf
	mov	r1, #32
	ldr	r0, .L38+8
	bl	printf
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bgt	.L31
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L38+12
	bl	printf
	mov	r0, #1
	bl	exit
.L31:
	ldr	r3, .L38+16
	str	r3, [fp, #-40]
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	open
	str	r0, [fp, #-36]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	mov	r1, #65536
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	dbfinit
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	dbfgetcolumns
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L32
.L33:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L32:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-64]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	sub	r3, fp, #52
	sub	r2, fp, #56
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	dbfgetrawcolumn
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L34
.L35:
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, r1
	ldr	r1, [fp, #-44]
	ldr	r0, .L38+20
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L34:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L35
	mov	r3, #0
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC9
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
