	.file	"67324817.c"
	.intel_syntax noprefix
	.text
	.globl	bcmsg
	.section	.rodata
.LC0:
	.string	"Barcode successfully encoded"
.LC1:
	.string	"Invalid Format Control field"
.LC2:
	.string	"Invalid Sorting Code field"
	.align 8
.LC3:
	.string	"Invalid customer information field"
.LC4:
	.string	"Unable to encode data"
.LC5:
	.string	"Invalid barcode range"
	.section	.data.rel.local,"aw"
	.align 32
	.type	bcmsg, @object
	.size	bcmsg, 48
bcmsg:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.local	mult
	.comm	mult,16384,32
	.local	gen
	.comm	gen,20,16
	.section	.rodata
.LC6:
	.string	"00"
.LC7:
	.string	"01"
.LC8:
	.string	"02"
.LC9:
	.string	"10"
.LC10:
	.string	"11"
.LC11:
	.string	"12"
.LC12:
	.string	"20"
.LC13:
	.string	"21"
.LC14:
	.string	"22"
.LC15:
	.string	"30"
	.section	.data.rel.local
	.align 32
	.type	NTable, @object
	.size	NTable, 80
NTable:
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.section	.rodata
.LC16:
	.string	"222"
.LC17:
	.string	"300"
.LC18:
	.string	"301"
.LC19:
	.string	"302"
.LC20:
	.string	"310"
.LC21:
	.string	"311"
.LC22:
	.string	"312"
.LC23:
	.string	"320"
.LC24:
	.string	"321"
.LC25:
	.string	"322"
	.section	.data.rel.local
	.align 32
	.type	CNTable, @object
	.size	CNTable, 80
CNTable:
	.quad	.LC16
	.quad	.LC17
	.quad	.LC18
	.quad	.LC19
	.quad	.LC20
	.quad	.LC21
	.quad	.LC22
	.quad	.LC23
	.quad	.LC24
	.quad	.LC25
	.section	.rodata
.LC26:
	.string	"000"
.LC27:
	.string	"001"
.LC28:
	.string	"002"
.LC29:
	.string	"010"
.LC30:
	.string	"011"
.LC31:
	.string	"012"
.LC32:
	.string	"020"
.LC33:
	.string	"021"
.LC34:
	.string	"022"
.LC35:
	.string	"100"
.LC36:
	.string	"101"
.LC37:
	.string	"102"
.LC38:
	.string	"110"
.LC39:
	.string	"111"
.LC40:
	.string	"112"
.LC41:
	.string	"120"
.LC42:
	.string	"121"
.LC43:
	.string	"122"
.LC44:
	.string	"200"
.LC45:
	.string	"201"
.LC46:
	.string	"202"
.LC47:
	.string	"210"
.LC48:
	.string	"211"
.LC49:
	.string	"212"
.LC50:
	.string	"220"
.LC51:
	.string	"221"
	.section	.data.rel.local
	.align 32
	.type	ZTable, @object
	.size	ZTable, 208
ZTable:
	.quad	.LC26
	.quad	.LC27
	.quad	.LC28
	.quad	.LC29
	.quad	.LC30
	.quad	.LC31
	.quad	.LC32
	.quad	.LC33
	.quad	.LC34
	.quad	.LC35
	.quad	.LC36
	.quad	.LC37
	.quad	.LC38
	.quad	.LC39
	.quad	.LC40
	.quad	.LC41
	.quad	.LC42
	.quad	.LC43
	.quad	.LC44
	.quad	.LC45
	.quad	.LC46
	.quad	.LC47
	.quad	.LC48
	.quad	.LC49
	.quad	.LC50
	.quad	.LC51
	.section	.rodata
.LC52:
	.string	"023"
.LC53:
	.string	"030"
.LC54:
	.string	"031"
.LC55:
	.string	"032"
.LC56:
	.string	"033"
.LC57:
	.string	"103"
.LC58:
	.string	"113"
.LC59:
	.string	"123"
.LC60:
	.string	"130"
.LC61:
	.string	"131"
.LC62:
	.string	"132"
.LC63:
	.string	"133"
.LC64:
	.string	"203"
.LC65:
	.string	"213"
.LC66:
	.string	"223"
.LC67:
	.string	"230"
.LC68:
	.string	"231"
.LC69:
	.string	"232"
.LC70:
	.string	"233"
.LC71:
	.string	"303"
.LC72:
	.string	"313"
.LC73:
	.string	"323"
.LC74:
	.string	"330"
.LC75:
	.string	"331"
.LC76:
	.string	"332"
.LC77:
	.string	"333"
.LC78:
	.string	"003"
.LC79:
	.string	"013"
	.section	.data.rel.local
	.align 32
	.type	CTable, @object
	.size	CTable, 224
CTable:
	.quad	.LC52
	.quad	.LC53
	.quad	.LC54
	.quad	.LC55
	.quad	.LC56
	.quad	.LC57
	.quad	.LC58
	.quad	.LC59
	.quad	.LC60
	.quad	.LC61
	.quad	.LC62
	.quad	.LC63
	.quad	.LC64
	.quad	.LC65
	.quad	.LC66
	.quad	.LC67
	.quad	.LC68
	.quad	.LC69
	.quad	.LC70
	.quad	.LC71
	.quad	.LC72
	.quad	.LC73
	.quad	.LC74
	.quad	.LC75
	.quad	.LC76
	.quad	.LC77
	.quad	.LC78
	.quad	.LC79
	.align 32
	.type	BarTable, @object
	.size	BarTable, 512
BarTable:
	.quad	.LC26
	.quad	.LC27
	.quad	.LC28
	.quad	.LC78
	.quad	.LC29
	.quad	.LC30
	.quad	.LC31
	.quad	.LC79
	.quad	.LC32
	.quad	.LC33
	.quad	.LC34
	.quad	.LC52
	.quad	.LC53
	.quad	.LC54
	.quad	.LC55
	.quad	.LC56
	.quad	.LC35
	.quad	.LC36
	.quad	.LC37
	.quad	.LC57
	.quad	.LC38
	.quad	.LC39
	.quad	.LC40
	.quad	.LC58
	.quad	.LC41
	.quad	.LC42
	.quad	.LC43
	.quad	.LC59
	.quad	.LC60
	.quad	.LC61
	.quad	.LC62
	.quad	.LC63
	.quad	.LC44
	.quad	.LC45
	.quad	.LC46
	.quad	.LC64
	.quad	.LC47
	.quad	.LC48
	.quad	.LC49
	.quad	.LC65
	.quad	.LC50
	.quad	.LC51
	.quad	.LC16
	.quad	.LC66
	.quad	.LC67
	.quad	.LC68
	.quad	.LC69
	.quad	.LC70
	.quad	.LC17
	.quad	.LC18
	.quad	.LC19
	.quad	.LC71
	.quad	.LC20
	.quad	.LC21
	.quad	.LC22
	.quad	.LC72
	.quad	.LC23
	.quad	.LC24
	.quad	.LC25
	.quad	.LC73
	.quad	.LC74
	.quad	.LC75
	.quad	.LC76
	.quad	.LC77
	.text
	.globl	RSInitialise
	.type	RSInitialise, @function
RSInitialise:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -8[rbp], 67
	mov	DWORD PTR -4[rbp], 64
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, mult[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, 64
	lea	rcx, 0[0+rax*4]
	lea	rdx, mult[rip]
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -16[rbp], 1
.L2:
	cmp	DWORD PTR -16[rbp], 63
	jle	.L3
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -16[rbp], 1
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, eax
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, DWORD PTR -4[rbp]
	test	eax, eax
	je	.L5
	mov	eax, DWORD PTR -8[rbp]
	xor	DWORD PTR -20[rbp], eax
.L5:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -24[rbp]
	sal	rax, 6
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mult[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 6
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mult[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 6
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mult[rip]
	mov	eax, DWORD PTR [rdx+rax]
	and	eax, DWORD PTR -4[rbp]
	test	eax, eax
	je	.L7
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 6
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mult[rip]
	mov	eax, DWORD PTR [rdx+rax]
	xor	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 6
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mult[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L7:
	add	DWORD PTR -12[rbp], 1
.L6:
	cmp	DWORD PTR -12[rbp], 63
	jle	.L8
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	add	DWORD PTR -16[rbp], 1
.L4:
	cmp	DWORD PTR -16[rbp], 63
	jle	.L9
	mov	DWORD PTR gen[rip], 48
	mov	DWORD PTR gen[rip+4], 17
	mov	DWORD PTR gen[rip+8], 29
	mov	DWORD PTR gen[rip+12], 30
	mov	DWORD PTR gen[rip+16], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	RSInitialise, .-RSInitialise
	.globl	RSEncode
	.type	RSEncode, @function
RSEncode:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR gen[rip]
	test	eax, eax
	jne	.L12
	mov	eax, 0
	call	RSInitialise
.L12:
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -168[rbp], eax
	mov	eax, DWORD PTR -168[rbp]
	add	eax, 4
	mov	DWORD PTR -164[rbp], eax
	mov	DWORD PTR -176[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], 0
	add	DWORD PTR -176[rbp], 1
.L13:
	cmp	DWORD PTR -176[rbp], 3
	jle	.L14
	mov	DWORD PTR -176[rbp], 4
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], edx
	add	DWORD PTR -176[rbp], 1
.L15:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, DWORD PTR -164[rbp]
	jl	.L16
	mov	eax, DWORD PTR -168[rbp]
	sub	eax, 1
	mov	DWORD PTR -176[rbp], eax
	jmp	.L17
.L20:
	mov	DWORD PTR -172[rbp], 0
	jmp	.L18
.L19:
	mov	edx, DWORD PTR -176[rbp]
	mov	eax, DWORD PTR -172[rbp]
	add	eax, edx
	cdqe
	mov	ecx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -176[rbp]
	add	eax, 4
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	esi, eax
	movsx	rax, edx
	sal	rax, 6
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, mult[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	mov	edx, DWORD PTR -176[rbp]
	mov	eax, DWORD PTR -172[rbp]
	add	eax, edx
	xor	ecx, esi
	mov	edx, ecx
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], edx
	add	DWORD PTR -172[rbp], 1
.L18:
	cmp	DWORD PTR -172[rbp], 4
	jle	.L19
	sub	DWORD PTR -176[rbp], 1
.L17:
	cmp	DWORD PTR -176[rbp], 0
	jns	.L20
	mov	DWORD PTR -176[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	DWORD PTR -160[rbp+rax*4], edx
	add	DWORD PTR -176[rbp], 1
.L21:
	cmp	DWORD PTR -176[rbp], 3
	jle	.L22
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	RSEncode, .-RSEncode
	.globl	AppendRSParity
	.type	AppendRSParity, @function
AppendRSParity:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	QWORD PTR -328[rbp], rdi
	mov	DWORD PTR -332[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -304[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -332[rbp]
	sub	eax, 4
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -296[rbp], eax
	mov	eax, DWORD PTR -296[rbp]
	sub	eax, 4
	mov	DWORD PTR -292[rbp], eax
	mov	DWORD PTR -312[rbp], 0
	jmp	.L26
.L32:
	mov	edx, DWORD PTR -312[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -328[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -12[rbp]
	mov	edx, 3
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	BYTE PTR -9[rbp], 0
	mov	DWORD PTR -300[rbp], 0
	mov	DWORD PTR -308[rbp], 0
	jmp	.L27
.L30:
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, BarTable[rip]
	mov	rax, QWORD PTR [rdx+rax]
	lea	rcx, -12[rbp]
	mov	edx, 3
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L28
	mov	edx, DWORD PTR -308[rbp]
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], edx
	mov	DWORD PTR -300[rbp], 1
	jmp	.L29
.L28:
	add	DWORD PTR -308[rbp], 1
.L27:
	cmp	DWORD PTR -308[rbp], 63
	jle	.L30
.L29:
	cmp	DWORD PTR -300[rbp], 1
	je	.L31
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], 0
	mov	DWORD PTR -304[rbp], 4
.L31:
	add	DWORD PTR -312[rbp], 1
.L26:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, DWORD PTR -292[rbp]
	jl	.L32
	mov	eax, DWORD PTR -292[rbp]
	mov	DWORD PTR -312[rbp], eax
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], 0
	add	DWORD PTR -312[rbp], 1
.L33:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, DWORD PTR -296[rbp]
	jl	.L34
	mov	eax, DWORD PTR -292[rbp]
	sub	eax, 1
	mov	DWORD PTR -308[rbp], eax
	mov	DWORD PTR -312[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -308[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -308[rbp], edx
	cdqe
	mov	edx, DWORD PTR -272[rbp+rax*4]
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], edx
	add	DWORD PTR -312[rbp], 1
.L35:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, DWORD PTR -292[rbp]
	jl	.L36
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	RSEncode
	mov	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -280[rbp], rdx
	mov	DWORD PTR -312[rbp], 0
	jmp	.L37
.L38:
	mov	eax, 3
	sub	eax, DWORD PTR -312[rbp]
	mov	ecx, DWORD PTR -312[rbp]
	mov	edx, DWORD PTR -292[rbp]
	add	ecx, edx
	cdqe
	mov	edx, DWORD PTR -288[rbp+rax*4]
	movsx	rax, ecx
	mov	DWORD PTR -272[rbp+rax*4], edx
	add	DWORD PTR -312[rbp], 1
.L37:
	cmp	DWORD PTR -312[rbp], 3
	jle	.L38
	mov	eax, DWORD PTR -292[rbp]
	mov	DWORD PTR -312[rbp], eax
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	eax, DWORD PTR -272[rbp+rax*4]
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, BarTable[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -312[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	edx, 3
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	add	DWORD PTR -312[rbp], 1
.L39:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, DWORD PTR -296[rbp]
	jl	.L40
	mov	eax, DWORD PTR -304[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	AppendRSParity, .-AppendRSParity
	.type	lookup, @function
lookup:
.LFB3:
	.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 -24[rbp], rdi
	mov	eax, esi
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR -28[rbp], al
	movsx	edx, BYTE PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L44
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 1
	jmp	.L45
.L44:
	mov	eax, 0
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	lookup, .-lookup
	.globl	ConvertFill
	.type	ConvertFill, @function
ConvertFill:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	cmp	DWORD PTR -28[rbp], 0
	jle	.L47
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L48
.L47:
	mov	eax, 5
	jmp	.L49
.L48:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 51
.L50:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L51
	mov	eax, 0
.L49:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	ConvertFill, .-ConvertFill
	.section	.rodata
.LC80:
	.string	"0123"
	.text
	.globl	ConvertB
	.type	ConvertB, @function
ConvertB:
.LFB5:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -28[rbp], 0
	jle	.L53
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L54
.L53:
	mov	eax, 5
	jmp	.L55
.L54:
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L56
.L61:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L63
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC80[rip]
	call	strchr@PLT
	test	rax, rax
	je	.L59
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	jmp	.L60
.L59:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 32
	mov	DWORD PTR -4[rbp], 4
.L60:
	add	DWORD PTR -12[rbp], 1
.L56:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L61
	jmp	.L58
.L63:
	nop
.L58:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L62
	mov	eax, DWORD PTR -8[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ConvertFill
.L62:
	mov	eax, DWORD PTR -4[rbp]
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	ConvertB, .-ConvertB
	.section	.rodata
.LC81:
	.string	"01234567890"
.LC82:
	.string	"  "
	.text
	.globl	ConvertN
	.type	ConvertN, @function
ConvertN:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	QWORD PTR -72[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 2
	cmp	DWORD PTR -60[rbp], 0
	jle	.L65
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jle	.L66
.L65:
	mov	eax, 5
	jmp	.L75
.L66:
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	DWORD PTR -28[rbp], eax
	jmp	.L68
.L73:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	rdx, -40[rbp]
	mov	esi, eax
	lea	rdi, .LC81[rip]
	call	lookup
	test	eax, eax
	je	.L69
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, NTable[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L70
.L69:
	lea	rax, .LC82[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -24[rbp], 4
.L70:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L71
.L72:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -32[rbp], 1
.L71:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L72
	add	DWORD PTR -36[rbp], 1
.L68:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cmp	DWORD PTR -64[rbp], eax
	jge	.L73
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	je	.L74
	mov	DWORD PTR -24[rbp], 5
.L74:
	mov	eax, DWORD PTR -24[rbp]
.L75:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ConvertN, .-ConvertN
	.section	.rodata
.LC83:
	.string	"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
.LC84:
	.string	"   "
	.text
	.globl	ConvertZ
	.type	ConvertZ, @function
ConvertZ:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	QWORD PTR -72[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 3
	cmp	DWORD PTR -60[rbp], 0
	jle	.L78
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jle	.L79
.L78:
	mov	eax, 5
	jmp	.L90
.L79:
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	DWORD PTR -28[rbp], eax
	jmp	.L81
.L88:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L92
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	rdx, -40[rbp]
	mov	esi, eax
	lea	rdi, .LC83[rip]
	call	lookup
	test	eax, eax
	je	.L84
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, ZTable[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L85
.L84:
	lea	rax, .LC84[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -24[rbp], 4
.L85:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L86
.L87:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -32[rbp], 1
.L86:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L87
	add	DWORD PTR -36[rbp], 1
.L81:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cmp	DWORD PTR -64[rbp], eax
	jge	.L88
	jmp	.L83
.L92:
	nop
.L83:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jge	.L89
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ConvertFill
.L89:
	mov	eax, DWORD PTR -24[rbp]
.L90:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L91
	call	__stack_chk_fail@PLT
.L91:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ConvertZ, .-ConvertZ
	.section	.rodata
.LC85:
	.string	"abcdefghijklmnopqrstuvwxyz #"
	.text
	.globl	ConvertC
	.type	ConvertC, @function
ConvertC:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	QWORD PTR -72[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 3
	cmp	DWORD PTR -60[rbp], 0
	jle	.L94
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jle	.L95
.L94:
	mov	eax, 5
	jmp	.L108
.L95:
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	DWORD PTR -28[rbp], eax
	jmp	.L97
.L106:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -41[rbp], al
	cmp	BYTE PTR -41[rbp], 0
	je	.L110
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -41[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L100
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	rdx, -40[rbp]
	mov	esi, eax
	lea	rdi, .LC83[rip]
	call	lookup
	test	eax, eax
	je	.L100
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, ZTable[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L101
.L100:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -41[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L102
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	rdx, -40[rbp]
	mov	esi, eax
	lea	rdi, .LC81[rip]
	call	lookup
	test	eax, eax
	je	.L102
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, CNTable[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L101
.L102:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	rdx, -40[rbp]
	mov	esi, eax
	lea	rdi, .LC85[rip]
	call	lookup
	test	eax, eax
	je	.L103
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, CTable[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L101
.L103:
	lea	rax, .LC84[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -24[rbp], 4
.L101:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L104
.L105:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -32[rbp], 1
.L104:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L105
	add	DWORD PTR -36[rbp], 1
.L97:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cmp	DWORD PTR -64[rbp], eax
	jge	.L106
	jmp	.L99
.L110:
	nop
.L99:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jge	.L107
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ConvertFill
.L107:
	mov	eax, DWORD PTR -24[rbp]
.L108:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L109
	call	__stack_chk_fail@PLT
.L109:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ConvertC, .-ConvertC
	.section	.rodata
.LC86:
	.string	"13"
	.text
	.globl	BuildBarcode37
	.type	BuildBarcode37, @function
BuildBarcode37:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC86[rip]
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	ConvertB
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L112
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 6
	mov	esi, 3
	mov	rdi, rax
	call	ConvertN
	test	eax, eax
	je	.L112
	mov	DWORD PTR -4[rbp], 1
.L112:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L113
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 22
	mov	esi, 7
	mov	rdi, rax
	call	ConvertN
	test	eax, eax
	je	.L113
	mov	DWORD PTR -4[rbp], 2
.L113:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L114
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 23
	mov	esi, 23
	mov	rdi, rax
	call	ConvertFill
	mov	DWORD PTR -4[rbp], eax
.L114:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L115
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 37
	mov	rdi, rax
	call	AppendRSParity
	mov	DWORD PTR -4[rbp], eax
.L115:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L116
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC86[rip]
	mov	edx, 37
	mov	esi, 36
	mov	rdi, rax
	call	ConvertB
	mov	DWORD PTR -4[rbp], eax
.L116:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	BuildBarcode37, .-BuildBarcode37
	.globl	BuildBarcode52
	.type	BuildBarcode52, @function
BuildBarcode52:
.LFB10:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC86[rip]
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	ConvertB
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L119
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 6
	mov	esi, 3
	mov	rdi, rax
	call	ConvertN
	test	eax, eax
	je	.L119
	mov	DWORD PTR -4[rbp], 1
.L119:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L120
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 22
	mov	esi, 7
	mov	rdi, rax
	call	ConvertN
	test	eax, eax
	je	.L120
	mov	DWORD PTR -4[rbp], 2
.L120:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L121
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 38
	mov	esi, 23
	mov	rdi, rax
	call	ConvertC
	test	eax, eax
	je	.L121
	mov	DWORD PTR -4[rbp], 3
.L121:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L122
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 52
	mov	rdi, rax
	call	AppendRSParity
	mov	DWORD PTR -4[rbp], eax
.L122:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L123
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC86[rip]
	mov	edx, 52
	mov	esi, 51
	mov	rdi, rax
	call	ConvertB
	mov	DWORD PTR -4[rbp], eax
.L123:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	BuildBarcode52, .-BuildBarcode52
	.globl	BuildBarcode67
	.type	BuildBarcode67, @function
BuildBarcode67:
.LFB11:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC86[rip]
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	ConvertB
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L126
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 6
	mov	esi, 3
	mov	rdi, rax
	call	ConvertN
	test	eax, eax
	je	.L126
	mov	DWORD PTR -4[rbp], 1
.L126:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L127
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 22
	mov	esi, 7
	mov	rdi, rax
	call	ConvertN
	test	eax, eax
	je	.L127
	mov	DWORD PTR -4[rbp], 2
.L127:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L128
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 53
	mov	esi, 23
	mov	rdi, rax
	call	ConvertC
	test	eax, eax
	je	.L128
	mov	DWORD PTR -4[rbp], 3
.L128:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L129
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 67
	mov	rdi, rax
	call	AppendRSParity
	mov	DWORD PTR -4[rbp], eax
.L129:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L130
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC86[rip]
	mov	edx, 67
	mov	esi, 66
	mov	rdi, rax
	call	ConvertB
	mov	DWORD PTR -4[rbp], eax
.L130:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	BuildBarcode67, .-BuildBarcode67
	.section	.rodata
.LC87:
	.string	"87"
.LC88:
	.string	"45"
.LC89:
	.string	"92"
.LC90:
	.string	"59"
.LC91:
	.string	"62"
.LC92:
	.string	"44"
	.text
	.globl	BuildBarcode
	.type	BuildBarcode, @function
BuildBarcode:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	QWORD PTR -128[rbp], rcx
	mov	QWORD PTR -136[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -88[rbp], 0
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L133
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	lea	rsi, .LC87[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L133
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	lea	rsi, .LC88[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L133
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	lea	rsi, .LC89[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L134
.L133:
	mov	rdx, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	BuildBarcode37
	mov	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -84[rbp], 37
	jmp	.L135
.L134:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	lea	rsi, .LC90[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L136
	mov	rcx, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	rsi, QWORD PTR -104[rbp]
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	BuildBarcode52
	mov	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -84[rbp], 52
	jmp	.L135
.L136:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	lea	rsi, .LC91[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L137
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	lea	rsi, .LC92[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L138
.L137:
	mov	rcx, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	rsi, QWORD PTR -104[rbp]
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	BuildBarcode67
	mov	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -84[rbp], 67
	jmp	.L135
.L138:
	mov	DWORD PTR -88[rbp], 1
.L135:
	cmp	DWORD PTR -88[rbp], 0
	jne	.L139
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	lea	rcx, -80[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -84[rbp]
	mov	DWORD PTR [rax], edx
.L139:
	mov	eax, DWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L141
	call	__stack_chk_fail@PLT
.L141:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	BuildBarcode, .-BuildBarcode
	.section	.rodata
	.align 8
.LC93:
	.string	"ANSI-C version R2,  3rd March 1999."
	.align 8
.LC94:
	.string	"Australia Post Barcode Demo. %s\n\n"
	.align 8
.LC95:
	.string	"Please Enter Format Control Code (99) : "
.LC96:
	.string	"%2[^\n]"
	.align 8
.LC97:
	.string	"Please Enter Sorting Code (99999999)  : "
.LC98:
	.string	"%8[^\n]"
	.align 8
.LC99:
	.string	"Please Enter Customer Information     : "
.LC100:
	.string	"%20[^\n]"
	.align 8
.LC101:
	.string	"------------------------------------------------------------------------------"
.LC102:
	.string	"Format Ctrl Code = '%s'\n"
.LC103:
	.string	"Sorting Code     = '%s'\n"
.LC104:
	.string	"Customer Info    = '%s'\n"
.LC105:
	.string	"Barcode Length   = %d\n"
.LC106:
	.string	"Return Code      = %d (%s)\n"
.LC107:
	.string	"Bar Code:"
.LC108:
	.string	"   %*.*s\n"
	.align 8
.LC109:
	.string	"                       Continue (Y/N) ? "
.LC110:
	.string	"%c"
.LC111:
	.string	"YyNn"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -232[rbp], 538999932
	mov	DWORD PTR -228[rbp], 2088533116
	mov	DWORD PTR -224[rbp], 545005692
	lea	rsi, .LC93[rip]
	lea	rdi, .LC94[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	RSInitialise
	mov	BYTE PTR -249[rbp], 89
	jmp	.L143
.L151:
	lea	rdi, .LC95[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -96[rbp]
	mov	esi, 81
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -220[rbp]
	lea	rax, -96[rbp]
	lea	rsi, .LC96[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC97[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -96[rbp]
	mov	esi, 81
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -217[rbp]
	lea	rax, -96[rbp]
	lea	rsi, .LC98[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC99[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -96[rbp]
	mov	esi, 81
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -208[rbp]
	lea	rax, -96[rbp]
	lea	rsi, .LC100[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC101[rip]
	call	puts@PLT
	lea	rax, -220[rbp]
	mov	rsi, rax
	lea	rdi, .LC102[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -217[rbp]
	mov	rsi, rax
	lea	rdi, .LC103[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -208[rbp]
	mov	rsi, rax
	lea	rdi, .LC104[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, -248[rbp]
	lea	rcx, -176[rbp]
	lea	rdx, -208[rbp]
	lea	rsi, -217[rbp]
	lea	rax, -220[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	BuildBarcode
	mov	DWORD PTR -236[rbp], eax
	mov	eax, DWORD PTR -248[rbp]
	mov	esi, eax
	lea	rdi, .LC105[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -236[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, bcmsg[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -236[rbp]
	mov	esi, eax
	lea	rdi, .LC106[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -236[rbp], 0
	jne	.L144
	lea	rdi, .LC107[rip]
	call	puts@PLT
	mov	DWORD PTR -244[rbp], 0
	jmp	.L145
.L148:
	lea	rdi, .LC84[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -240[rbp], 0
	jmp	.L146
.L147:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -176[rbp+rax]
	movsx	eax, al
	sub	eax, 48
	movsx	rdx, eax
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	sal	rax, 2
	add	rax, rbp
	add	rax, rdx
	sub	rax, 232
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -240[rbp], 1
.L146:
	mov	eax, DWORD PTR -248[rbp]
	cmp	DWORD PTR -240[rbp], eax
	jl	.L147
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -244[rbp], 1
.L145:
	cmp	DWORD PTR -244[rbp], 2
	jle	.L148
	mov	edx, DWORD PTR -248[rbp]
	mov	eax, DWORD PTR -248[rbp]
	lea	rcx, -176[rbp]
	mov	esi, eax
	lea	rdi, .LC108[rip]
	mov	eax, 0
	call	printf@PLT
.L144:
	mov	edi, 10
	call	putchar@PLT
.L149:
	lea	rdi, .LC109[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -96[rbp]
	mov	esi, 81
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -249[rbp]
	lea	rax, -96[rbp]
	lea	rsi, .LC110[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movzx	eax, BYTE PTR -249[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC111[rip]
	call	strchr@PLT
	test	rax, rax
	je	.L149
.L143:
	movzx	eax, BYTE PTR -249[rbp]
	cmp	al, 78
	je	.L154
	movzx	eax, BYTE PTR -249[rbp]
	cmp	al, 110
	jne	.L151
	nop
.L154:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L153
	call	__stack_chk_fail@PLT
.L153:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"67324817.c"
	.text
	.global	bcmsg
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Barcode successfully encoded\000"
	.align	2
.LC2:
	.ascii	"Invalid Format Control field\000"
	.align	2
.LC3:
	.ascii	"Invalid Sorting Code field\000"
	.align	2
.LC4:
	.ascii	"Invalid customer information field\000"
	.align	2
.LC5:
	.ascii	"Unable to encode data\000"
	.align	2
.LC6:
	.ascii	"Invalid barcode range\000"
	.data
	.align	2
	.type	bcmsg, %object
	.size	bcmsg, 24
bcmsg:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.local	mult
	.comm	mult,16384,4
	.local	gen
	.comm	gen,20,4
	.section	.rodata
	.align	2
.LC7:
	.ascii	"00\000"
	.align	2
.LC8:
	.ascii	"01\000"
	.align	2
.LC9:
	.ascii	"02\000"
	.align	2
.LC10:
	.ascii	"10\000"
	.align	2
.LC11:
	.ascii	"11\000"
	.align	2
.LC12:
	.ascii	"12\000"
	.align	2
.LC13:
	.ascii	"20\000"
	.align	2
.LC14:
	.ascii	"21\000"
	.align	2
.LC15:
	.ascii	"22\000"
	.align	2
.LC16:
	.ascii	"30\000"
	.data
	.align	2
	.type	NTable, %object
	.size	NTable, 40
NTable:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.section	.rodata
	.align	2
.LC17:
	.ascii	"222\000"
	.align	2
.LC18:
	.ascii	"300\000"
	.align	2
.LC19:
	.ascii	"301\000"
	.align	2
.LC20:
	.ascii	"302\000"
	.align	2
.LC21:
	.ascii	"310\000"
	.align	2
.LC22:
	.ascii	"311\000"
	.align	2
.LC23:
	.ascii	"312\000"
	.align	2
.LC24:
	.ascii	"320\000"
	.align	2
.LC25:
	.ascii	"321\000"
	.align	2
.LC26:
	.ascii	"322\000"
	.data
	.align	2
	.type	CNTable, %object
	.size	CNTable, 40
CNTable:
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.section	.rodata
	.align	2
.LC27:
	.ascii	"000\000"
	.align	2
.LC28:
	.ascii	"001\000"
	.align	2
.LC29:
	.ascii	"002\000"
	.align	2
.LC30:
	.ascii	"010\000"
	.align	2
.LC31:
	.ascii	"011\000"
	.align	2
.LC32:
	.ascii	"012\000"
	.align	2
.LC33:
	.ascii	"020\000"
	.align	2
.LC34:
	.ascii	"021\000"
	.align	2
.LC35:
	.ascii	"022\000"
	.align	2
.LC36:
	.ascii	"100\000"
	.align	2
.LC37:
	.ascii	"101\000"
	.align	2
.LC38:
	.ascii	"102\000"
	.align	2
.LC39:
	.ascii	"110\000"
	.align	2
.LC40:
	.ascii	"111\000"
	.align	2
.LC41:
	.ascii	"112\000"
	.align	2
.LC42:
	.ascii	"120\000"
	.align	2
.LC43:
	.ascii	"121\000"
	.align	2
.LC44:
	.ascii	"122\000"
	.align	2
.LC45:
	.ascii	"200\000"
	.align	2
.LC46:
	.ascii	"201\000"
	.align	2
.LC47:
	.ascii	"202\000"
	.align	2
.LC48:
	.ascii	"210\000"
	.align	2
.LC49:
	.ascii	"211\000"
	.align	2
.LC50:
	.ascii	"212\000"
	.align	2
.LC51:
	.ascii	"220\000"
	.align	2
.LC52:
	.ascii	"221\000"
	.data
	.align	2
	.type	ZTable, %object
	.size	ZTable, 104
ZTable:
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.section	.rodata
	.align	2
.LC53:
	.ascii	"023\000"
	.align	2
.LC54:
	.ascii	"030\000"
	.align	2
.LC55:
	.ascii	"031\000"
	.align	2
.LC56:
	.ascii	"032\000"
	.align	2
.LC57:
	.ascii	"033\000"
	.align	2
.LC58:
	.ascii	"103\000"
	.align	2
.LC59:
	.ascii	"113\000"
	.align	2
.LC60:
	.ascii	"123\000"
	.align	2
.LC61:
	.ascii	"130\000"
	.align	2
.LC62:
	.ascii	"131\000"
	.align	2
.LC63:
	.ascii	"132\000"
	.align	2
.LC64:
	.ascii	"133\000"
	.align	2
.LC65:
	.ascii	"203\000"
	.align	2
.LC66:
	.ascii	"213\000"
	.align	2
.LC67:
	.ascii	"223\000"
	.align	2
.LC68:
	.ascii	"230\000"
	.align	2
.LC69:
	.ascii	"231\000"
	.align	2
.LC70:
	.ascii	"232\000"
	.align	2
.LC71:
	.ascii	"233\000"
	.align	2
.LC72:
	.ascii	"303\000"
	.align	2
.LC73:
	.ascii	"313\000"
	.align	2
.LC74:
	.ascii	"323\000"
	.align	2
.LC75:
	.ascii	"330\000"
	.align	2
.LC76:
	.ascii	"331\000"
	.align	2
.LC77:
	.ascii	"332\000"
	.align	2
.LC78:
	.ascii	"333\000"
	.align	2
.LC79:
	.ascii	"003\000"
	.align	2
.LC80:
	.ascii	"013\000"
	.data
	.align	2
	.type	CTable, %object
	.size	CTable, 112
CTable:
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.align	2
	.type	BarTable, %object
	.size	BarTable, 256
BarTable:
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC79
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC80
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC58
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC59
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC65
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC66
	.word	.LC51
	.word	.LC52
	.word	.LC17
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC72
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC73
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.text
	.align	2
	.global	RSInitialise
	.syntax unified
	.arm
	.fpu softvfp
	.type	RSInitialise, %function
RSInitialise:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	mov	r3, #67
	str	r3, [fp, #-12]
	mov	r3, #64
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L3:
	ldr	r2, .L11
	ldr	r3, [fp, #-20]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r1, .L11
	ldr	r3, [fp, #-20]
	add	r3, r3, #64
	ldr	r2, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #63
	ble	.L3
	mov	r3, #1
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L4
.L9:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L5
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	str	r3, [fp, #-24]
.L5:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L6
.L8:
	ldr	r1, .L11
	ldr	r3, [fp, #-28]
	lsl	r2, r3, #6
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	lsl	r2, r3, #1
	ldr	r0, .L11
	ldr	r3, [fp, #-24]
	lsl	r1, r3, #6
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r1, .L11
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #6
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L7
	ldr	r1, .L11
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #6
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	mov	r0, r3
	ldr	r1, .L11
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #6
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r0, [r1, r3, lsl #2]
.L7:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #63
	ble	.L8
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L4:
	ldr	r3, [fp, #-20]
	cmp	r3, #63
	ble	.L9
	ldr	r3, .L11+4
	mov	r2, #48
	str	r2, [r3]
	ldr	r3, .L11+4
	mov	r2, #17
	str	r2, [r3, #4]
	ldr	r3, .L11+4
	mov	r2, #29
	str	r2, [r3, #8]
	ldr	r3, .L11+4
	mov	r2, #30
	str	r2, [r3, #12]
	ldr	r3, .L11+4
	mov	r2, #1
	str	r2, [r3, #16]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L12:
	.align	2
.L11:
	.word	mult
	.word	gen
	.size	RSInitialise, .-RSInitialise
	.section	.rodata
	.align	2
.LC81:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	RSEncode
	.syntax unified
	.arm
	.fpu softvfp
	.type	RSEncode, %function
RSEncode:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	str	r2, [fp, #-176]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L27+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	bl	RSInitialise
.L14:
	ldr	r3, [fp, #-172]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-156]
	add	r3, r3, #4
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L15
.L16:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-128]
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L15:
	ldr	r3, [fp, #-164]
	cmp	r3, #3
	ble	.L16
	mov	r3, #4
	str	r3, [fp, #-164]
	b	.L17
.L18:
	ldr	r3, [fp, #-164]
	sub	r3, r3, #-1073741820
	lsl	r3, r3, #2
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-128]
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L17:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-152]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-156]
	sub	r3, r3, #1
	str	r3, [fp, #-164]
	b	.L19
.L22:
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L20
.L21:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-160]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-128]
	ldr	r1, .L27+4
	ldr	r3, [fp, #-160]
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	ldr	r3, [r3, #-128]
	ldr	r0, .L27+8
	lsl	r1, r1, #6
	add	r3, r1, r3
	ldr	r3, [r0, r3, lsl #2]
	mov	r0, r3
	ldr	r1, [fp, #-164]
	ldr	r3, [fp, #-160]
	add	r3, r1, r3
	eor	r2, r2, r0
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-128]
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L20:
	ldr	r3, [fp, #-160]
	cmp	r3, #4
	ble	.L21
	ldr	r3, [fp, #-164]
	sub	r3, r3, #1
	str	r3, [fp, #-164]
.L19:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	bge	.L22
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L23
.L24:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-128]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-144]
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L23:
	ldr	r3, [fp, #-164]
	cmp	r3, #3
	ble	.L24
	ldr	r3, [fp, #-168]
	mov	ip, r3
	sub	r3, fp, #148
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	ldr	r0, [fp, #-168]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC81
	.word	gen
	.word	mult
	.size	RSEncode, .-RSEncode
	.section	.rodata
	.align	2
.LC82:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AppendRSParity
	.syntax unified
	.arm
	.fpu softvfp
	.type	AppendRSParity, %function
AppendRSParity:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #320
	str	r0, [fp, #-304]
	str	r1, [fp, #-308]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-292]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-308]
	sub	r3, r3, #4
	ldr	r2, .L47+4
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	sub	r3, r3, #4
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L30
.L36:
	ldr	r2, [fp, #-300]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, [fp, #-304]
	add	r1, r2, r3
	sub	r3, fp, #12
	mov	r2, #3
	mov	r0, r3
	bl	strncpy
	mov	r3, #0
	strb	r3, [fp, #-9]
	mov	r3, #0
	str	r3, [fp, #-288]
	mov	r3, #0
	str	r3, [fp, #-296]
	b	.L31
.L34:
	ldr	r2, .L47+8
	ldr	r3, [fp, #-296]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, fp, #12
	mov	r2, #3
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r2, [fp, #-296]
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-256]
	mov	r3, #1
	str	r3, [fp, #-288]
	b	.L33
.L32:
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
.L31:
	ldr	r3, [fp, #-296]
	cmp	r3, #63
	ble	.L34
.L33:
	ldr	r3, [fp, #-288]
	cmp	r3, #1
	beq	.L35
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-256]
	mov	r3, #4
	str	r3, [fp, #-292]
.L35:
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L30:
	ldr	r2, [fp, #-300]
	ldr	r3, [fp, #-280]
	cmp	r2, r3
	blt	.L36
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-300]
	b	.L37
.L38:
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-256]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L37:
	ldr	r2, [fp, #-300]
	ldr	r3, [fp, #-284]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-280]
	sub	r3, r3, #1
	str	r3, [fp, #-296]
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L39
.L40:
	ldr	r3, [fp, #-296]
	sub	r2, r3, #1
	str	r2, [fp, #-296]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-256]
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-132]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L39:
	ldr	r2, [fp, #-300]
	ldr	r3, [fp, #-280]
	cmp	r2, r3
	blt	.L40
	sub	r3, fp, #324
	sub	r2, fp, #136
	ldr	r1, [fp, #-280]
	mov	r0, r3
	bl	RSEncode
	sub	ip, fp, #276
	sub	r3, fp, #324
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L41
.L42:
	ldr	r3, [fp, #-300]
	rsb	r3, r3, #3
	ldr	r1, [fp, #-300]
	ldr	r2, [fp, #-280]
	add	r1, r1, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-272]
	lsl	r3, r1, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-256]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L41:
	ldr	r3, [fp, #-300]
	cmp	r3, #3
	ble	.L42
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-300]
	b	.L43
.L44:
	ldr	r2, [fp, #-300]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, [fp, #-304]
	add	r0, r2, r3
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-256]
	ldr	r2, .L47+8
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, #3
	mov	r1, r3
	bl	strncpy
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L43:
	ldr	r2, [fp, #-300]
	ldr	r3, [fp, #-284]
	cmp	r2, r3
	blt	.L44
	ldr	r3, [fp, #-292]
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC82
	.word	1431655766
	.word	BarTable
	.size	AppendRSParity, .-AppendRSParity
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup, %function
lookup:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	mov	r3, r1
	str	r2, [fp, #-24]
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L50
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	mov	r3, #1
	b	.L51
.L50:
	mov	r3, #0
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	lookup, .-lookup
	.align	2
	.global	ConvertFill
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConvertFill, %function
ConvertFill:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L53
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L54
.L53:
	mov	r3, #5
	b	.L55
.L54:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L56
.L57:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #51
	strb	r2, [r3]
.L56:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L57
	mov	r3, #0
.L55:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ConvertFill, .-ConvertFill
	.section	.rodata
	.align	2
.LC83:
	.ascii	"0123\000"
	.text
	.align	2
	.global	ConvertB
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConvertB, %function
ConvertB:
	@ 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L59
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L60
.L59:
	mov	r3, #5
	b	.L61
.L60:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L62
.L67:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L70
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	mov	r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L66
.L65:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r2, #32
	strb	r2, [r3]
	mov	r3, #4
	str	r3, [fp, #-8]
.L66:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L62:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L67
	b	.L64
.L69:
	nop
.L64:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bge	.L68
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	ConvertFill
.L68:
	ldr	r3, [fp, #-8]
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC83
	.size	ConvertB, .-ConvertB
	.section	.rodata
	.align	2
.LC84:
	.ascii	"01234567890\000"
	.align	2
.LC85:
	.ascii	"  \000"
	.align	2
.LC86:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ConvertN
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConvertN, %function
ConvertN:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L85
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L73
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	ble	.L74
.L73:
	mov	r3, #5
	b	.L83
.L74:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L76
.L81:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #36
	mov	r1, r3
	ldr	r0, .L85+4
	bl	lookup
	mov	r3, r0
	cmp	r3, #0
	beq	.L77
	ldr	r3, [fp, #-36]
	ldr	r2, .L85+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
	b	.L78
.L77:
	ldr	r3, .L85+12
	str	r3, [fp, #-20]
	mov	r3, #4
	str	r3, [fp, #-16]
.L78:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L79
.L80:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	str	r1, [fp, #-24]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L79:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L80
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L76:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bge	.L81
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	beq	.L82
	mov	r3, #5
	str	r3, [fp, #-16]
.L82:
	ldr	r3, [fp, #-16]
.L83:
	ldr	r2, .L85
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L84
	bl	__stack_chk_fail
.L84:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L86:
	.align	2
.L85:
	.word	.LC86
	.word	.LC84
	.word	NTable
	.word	.LC85
	.size	ConvertN, .-ConvertN
	.section	.rodata
	.align	2
.LC87:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZ\000"
	.align	2
.LC88:
	.ascii	"   \000"
	.align	2
.LC89:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ConvertZ
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConvertZ, %function
ConvertZ:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L103
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L88
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	ble	.L89
.L88:
	mov	r3, #5
	b	.L100
.L89:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L91
.L98:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L102
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #36
	mov	r1, r3
	ldr	r0, .L103+4
	bl	lookup
	mov	r3, r0
	cmp	r3, #0
	beq	.L94
	ldr	r3, [fp, #-36]
	ldr	r2, .L103+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-24]
	b	.L95
.L94:
	ldr	r3, .L103+12
	str	r3, [fp, #-24]
	mov	r3, #4
	str	r3, [fp, #-16]
.L95:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L96
.L97:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L96:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L97
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L91:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bge	.L98
	b	.L93
.L102:
	nop
.L93:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bge	.L99
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-48]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	ConvertFill
.L99:
	ldr	r3, [fp, #-16]
.L100:
	ldr	r2, .L103
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L101
	bl	__stack_chk_fail
.L101:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L104:
	.align	2
.L103:
	.word	.LC89
	.word	.LC87
	.word	ZTable
	.word	.LC88
	.size	ConvertZ, .-ConvertZ
	.section	.rodata
	.align	2
.LC90:
	.ascii	"abcdefghijklmnopqrstuvwxyz #\000"
	.align	2
.LC91:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ConvertC
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConvertC, %function
ConvertC:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L123
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L106
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	ble	.L107
.L106:
	mov	r3, #5
	b	.L120
.L107:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L109
.L118:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-37]
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L122
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L112
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #36
	mov	r1, r3
	ldr	r0, .L123+4
	bl	lookup
	mov	r3, r0
	cmp	r3, #0
	beq	.L112
	ldr	r3, [fp, #-36]
	ldr	r2, .L123+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
	b	.L113
.L112:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #36
	mov	r1, r3
	ldr	r0, .L123+12
	bl	lookup
	mov	r3, r0
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-36]
	ldr	r2, .L123+16
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
	b	.L113
.L114:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #36
	mov	r1, r3
	ldr	r0, .L123+20
	bl	lookup
	mov	r3, r0
	cmp	r3, #0
	beq	.L115
	ldr	r3, [fp, #-36]
	ldr	r2, .L123+24
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
	b	.L113
.L115:
	ldr	r3, .L123+28
	str	r3, [fp, #-20]
	mov	r3, #4
	str	r3, [fp, #-16]
.L113:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L116
.L117:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	str	r1, [fp, #-24]
	mov	r1, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L116:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L117
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L109:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bge	.L118
	b	.L111
.L122:
	nop
.L111:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bge	.L119
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-56]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	ConvertFill
.L119:
	ldr	r3, [fp, #-16]
.L120:
	ldr	r2, .L123
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L121
	bl	__stack_chk_fail
.L121:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L124:
	.align	2
.L123:
	.word	.LC91
	.word	.LC87
	.word	ZTable
	.word	.LC84
	.word	CNTable
	.word	.LC90
	.word	CTable
	.word	.LC88
	.size	ConvertC, .-ConvertC
	.section	.rodata
	.align	2
.LC92:
	.ascii	"13\000"
	.text
	.align	2
	.global	BuildBarcode37
	.syntax unified
	.arm
	.fpu softvfp
	.type	BuildBarcode37, %function
BuildBarcode37:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L132
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	ConvertB
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L126
	ldr	r3, [fp, #-20]
	mov	r2, #6
	mov	r1, #3
	ldr	r0, [fp, #-16]
	bl	ConvertN
	mov	r3, r0
	cmp	r3, #0
	beq	.L126
	mov	r3, #1
	str	r3, [fp, #-8]
.L126:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L127
	ldr	r3, [fp, #-24]
	mov	r2, #22
	mov	r1, #7
	ldr	r0, [fp, #-16]
	bl	ConvertN
	mov	r3, r0
	cmp	r3, #0
	beq	.L127
	mov	r3, #2
	str	r3, [fp, #-8]
.L127:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L128
	mov	r2, #23
	mov	r1, #23
	ldr	r0, [fp, #-16]
	bl	ConvertFill
	str	r0, [fp, #-8]
.L128:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L129
	mov	r1, #37
	ldr	r0, [fp, #-16]
	bl	AppendRSParity
	str	r0, [fp, #-8]
.L129:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L130
	ldr	r3, .L132
	mov	r2, #37
	mov	r1, #36
	ldr	r0, [fp, #-16]
	bl	ConvertB
	str	r0, [fp, #-8]
.L130:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L133:
	.align	2
.L132:
	.word	.LC92
	.size	BuildBarcode37, .-BuildBarcode37
	.align	2
	.global	BuildBarcode52
	.syntax unified
	.arm
	.fpu softvfp
	.type	BuildBarcode52, %function
BuildBarcode52:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, .L141
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	ConvertB
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L135
	ldr	r3, [fp, #-20]
	mov	r2, #6
	mov	r1, #3
	ldr	r0, [fp, #-16]
	bl	ConvertN
	mov	r3, r0
	cmp	r3, #0
	beq	.L135
	mov	r3, #1
	str	r3, [fp, #-8]
.L135:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L136
	ldr	r3, [fp, #-24]
	mov	r2, #22
	mov	r1, #7
	ldr	r0, [fp, #-16]
	bl	ConvertN
	mov	r3, r0
	cmp	r3, #0
	beq	.L136
	mov	r3, #2
	str	r3, [fp, #-8]
.L136:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L137
	ldr	r3, [fp, #-28]
	mov	r2, #38
	mov	r1, #23
	ldr	r0, [fp, #-16]
	bl	ConvertC
	mov	r3, r0
	cmp	r3, #0
	beq	.L137
	mov	r3, #3
	str	r3, [fp, #-8]
.L137:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L138
	mov	r1, #52
	ldr	r0, [fp, #-16]
	bl	AppendRSParity
	str	r0, [fp, #-8]
.L138:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L139
	ldr	r3, .L141
	mov	r2, #52
	mov	r1, #51
	ldr	r0, [fp, #-16]
	bl	ConvertB
	str	r0, [fp, #-8]
.L139:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L142:
	.align	2
.L141:
	.word	.LC92
	.size	BuildBarcode52, .-BuildBarcode52
	.align	2
	.global	BuildBarcode67
	.syntax unified
	.arm
	.fpu softvfp
	.type	BuildBarcode67, %function
BuildBarcode67:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L150
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	ConvertB
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L144
	ldr	r3, [fp, #-20]
	mov	r2, #6
	mov	r1, #3
	ldr	r0, [fp, #-16]
	bl	ConvertN
	mov	r3, r0
	cmp	r3, #0
	beq	.L144
	mov	r3, #1
	str	r3, [fp, #-8]
.L144:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L145
	ldr	r3, [fp, #-24]
	mov	r2, #22
	mov	r1, #7
	ldr	r0, [fp, #-16]
	bl	ConvertN
	mov	r3, r0
	cmp	r3, #0
	beq	.L145
	mov	r3, #2
	str	r3, [fp, #-8]
.L145:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L146
	ldr	r3, [fp, #-28]
	mov	r2, #53
	mov	r1, #23
	ldr	r0, [fp, #-16]
	bl	ConvertC
	mov	r3, r0
	cmp	r3, #0
	beq	.L146
	mov	r3, #3
	str	r3, [fp, #-8]
.L146:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L147
	mov	r1, #67
	ldr	r0, [fp, #-16]
	bl	AppendRSParity
	str	r0, [fp, #-8]
.L147:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L148
	ldr	r3, .L150
	mov	r2, #67
	mov	r1, #66
	ldr	r0, [fp, #-16]
	bl	ConvertB
	str	r0, [fp, #-8]
.L148:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L151:
	.align	2
.L150:
	.word	.LC92
	.size	BuildBarcode67, .-BuildBarcode67
	.section	.rodata
	.align	2
.LC93:
	.ascii	"87\000"
	.align	2
.LC94:
	.ascii	"45\000"
	.align	2
.LC95:
	.ascii	"92\000"
	.align	2
.LC96:
	.ascii	"59\000"
	.align	2
.LC97:
	.ascii	"62\000"
	.align	2
.LC98:
	.ascii	"44\000"
	.align	2
.LC99:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	BuildBarcode
	.syntax unified
	.arm
	.fpu softvfp
	.type	BuildBarcode, %function
BuildBarcode:
	@ args = 4, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-104]
	ldr	r3, .L162
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r2, #2
	ldr	r1, .L162+4
	ldr	r0, [fp, #-88]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L153
	mov	r2, #2
	ldr	r1, .L162+8
	ldr	r0, [fp, #-88]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L153
	mov	r2, #2
	ldr	r1, .L162+12
	ldr	r0, [fp, #-88]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L153
	mov	r2, #2
	ldr	r1, .L162+16
	ldr	r0, [fp, #-88]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L154
.L153:
	sub	r3, fp, #76
	ldr	r2, [fp, #-92]
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	BuildBarcode37
	str	r0, [fp, #-84]
	mov	r3, #37
	str	r3, [fp, #-80]
	b	.L155
.L154:
	mov	r2, #2
	ldr	r1, .L162+20
	ldr	r0, [fp, #-88]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L156
	sub	r0, fp, #76
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-92]
	ldr	r1, [fp, #-88]
	bl	BuildBarcode52
	str	r0, [fp, #-84]
	mov	r3, #52
	str	r3, [fp, #-80]
	b	.L155
.L156:
	mov	r2, #2
	ldr	r1, .L162+24
	ldr	r0, [fp, #-88]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L157
	mov	r2, #2
	ldr	r1, .L162+28
	ldr	r0, [fp, #-88]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L158
.L157:
	sub	r0, fp, #76
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-92]
	ldr	r1, [fp, #-88]
	bl	BuildBarcode67
	str	r0, [fp, #-84]
	mov	r3, #67
	str	r3, [fp, #-80]
	b	.L155
.L158:
	mov	r3, #1
	str	r3, [fp, #-84]
.L155:
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L159
	ldr	r2, [fp, #-80]
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, [fp, #-100]
	bl	strncpy
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-80]
	str	r2, [r3]
.L159:
	ldr	r3, [fp, #-84]
	ldr	r2, .L162
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L161
	bl	__stack_chk_fail
.L161:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L163:
	.align	2
.L162:
	.word	.LC99
	.word	.LC11
	.word	.LC93
	.word	.LC94
	.word	.LC95
	.word	.LC96
	.word	.LC97
	.word	.LC98
	.size	BuildBarcode, .-BuildBarcode
	.section	.rodata
	.align	2
.LC100:
	.ascii	"ANSI-C version R2,  3rd March 1999.\000"
	.align	2
.LC101:
	.ascii	"Australia Post Barcode Demo. %s\012\012\000"
	.align	2
.LC102:
	.ascii	"Please Enter Format Control Code (99) : \000"
	.align	2
.LC103:
	.ascii	"%2[^\012]\000"
	.align	2
.LC104:
	.ascii	"Please Enter Sorting Code (99999999)  : \000"
	.align	2
.LC105:
	.ascii	"%8[^\012]\000"
	.align	2
.LC106:
	.ascii	"Please Enter Customer Information     : \000"
	.align	2
.LC107:
	.ascii	"%20[^\012]\000"
	.align	2
.LC108:
	.ascii	"---------------------------------------------------"
	.ascii	"---------------------------\000"
	.align	2
.LC109:
	.ascii	"Format Ctrl Code = '%s'\012\000"
	.align	2
.LC110:
	.ascii	"Sorting Code     = '%s'\012\000"
	.align	2
.LC111:
	.ascii	"Customer Info    = '%s'\012\000"
	.align	2
.LC112:
	.ascii	"Barcode Length   = %d\012\000"
	.align	2
.LC113:
	.ascii	"Return Code      = %d (%s)\012\000"
	.align	2
.LC114:
	.ascii	"Bar Code:\000"
	.align	2
.LC115:
	.ascii	"   %*.*s\012\000"
	.align	2
.LC116:
	.ascii	"                       Continue (Y/N) ? \000"
	.align	2
.LC117:
	.ascii	"%c\000"
	.align	2
.LC118:
	.ascii	"YyNn\000"
	.align	2
.LC0:
	.ascii	"||  "
	.ascii	"||||"
	.ascii	"| | "
	.align	2
.LC119:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	ldr	r3, .L177
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L177+4
	sub	r3, fp, #212
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r1, .L177+8
	ldr	r0, .L177+12
	bl	printf
	bl	RSInitialise
	mov	r3, #89
	strb	r3, [fp, #-229]
	b	.L165
.L173:
	ldr	r0, .L177+16
	bl	printf
	ldr	r3, .L177+20
	ldr	r2, [r3]
	sub	r3, fp, #92
	mov	r1, #81
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #200
	sub	r3, fp, #92
	ldr	r1, .L177+24
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L177+28
	bl	printf
	ldr	r3, .L177+20
	ldr	r2, [r3]
	sub	r3, fp, #92
	mov	r1, #81
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #196
	sub	r3, fp, #92
	ldr	r1, .L177+32
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L177+36
	bl	printf
	ldr	r3, .L177+20
	ldr	r2, [r3]
	sub	r3, fp, #92
	mov	r1, #81
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #184
	sub	r3, fp, #92
	ldr	r1, .L177+40
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L177+44
	bl	puts
	sub	r3, fp, #200
	mov	r1, r3
	ldr	r0, .L177+48
	bl	printf
	sub	r3, fp, #196
	mov	r1, r3
	ldr	r0, .L177+52
	bl	printf
	sub	r3, fp, #184
	mov	r1, r3
	ldr	r0, .L177+56
	bl	printf
	sub	ip, fp, #160
	sub	r2, fp, #184
	sub	r1, fp, #196
	sub	r0, fp, #200
	sub	r3, fp, #228
	str	r3, [sp]
	mov	r3, ip
	bl	BuildBarcode
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-228]
	mov	r1, r3
	ldr	r0, .L177+60
	bl	printf
	ldr	r2, .L177+64
	ldr	r3, [fp, #-216]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, [fp, #-216]
	ldr	r0, .L177+68
	bl	printf
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	bne	.L166
	ldr	r0, .L177+72
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L167
.L170:
	ldr	r0, .L177+76
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L168
.L169:
	sub	r2, fp, #160
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	ldr	r2, [fp, #-224]
	lsl	r2, r2, #2
	sub	r1, fp, #4
	add	r2, r1, r2
	add	r3, r2, r3
	sub	r3, r3, #208
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L168:
	ldr	r3, [fp, #-228]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	blt	.L169
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L167:
	ldr	r3, [fp, #-224]
	cmp	r3, #2
	ble	.L170
	ldr	r1, [fp, #-228]
	ldr	r2, [fp, #-228]
	sub	r3, fp, #160
	ldr	r0, .L177+80
	bl	printf
.L166:
	mov	r0, #10
	bl	putchar
.L171:
	ldr	r0, .L177+84
	bl	printf
	ldr	r3, .L177+20
	ldr	r2, [r3]
	sub	r3, fp, #92
	mov	r1, #81
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #229
	sub	r3, fp, #92
	ldr	r1, .L177+88
	mov	r0, r3
	bl	__isoc99_sscanf
	ldrb	r3, [fp, #-229]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L177+92
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L171
.L165:
	ldrb	r3, [fp, #-229]	@ zero_extendqisi2
	cmp	r3, #78
	beq	.L176
	ldrb	r3, [fp, #-229]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L173
	nop
.L176:
	nop
	ldr	r3, .L177
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L175
	bl	__stack_chk_fail
.L175:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L178:
	.align	2
.L177:
	.word	.LC119
	.word	.LC0
	.word	.LC100
	.word	.LC101
	.word	.LC102
	.word	stdin
	.word	.LC103
	.word	.LC104
	.word	.LC105
	.word	.LC106
	.word	.LC107
	.word	.LC108
	.word	.LC109
	.word	.LC110
	.word	.LC111
	.word	.LC112
	.word	bcmsg
	.word	.LC113
	.word	.LC114
	.word	.LC88
	.word	.LC115
	.word	.LC116
	.word	.LC117
	.word	.LC118
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
