	.file	"256117.c"
	.intel_syntax noprefix
	.text
	.globl	e2a
	.bss
	.align 8
	.type	e2a, @object
	.size	e2a, 8
e2a:
	.zero	8
	.globl	a2e
	.align 8
	.type	a2e, @object
	.size	a2e, 8
a2e:
	.zero	8
	.text
	.type	init_iconv, @function
init_iconv:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 8
	.cfi_offset 3, -24
	mov	edi, 37
	mov	eax, 0
	call	ccsidtocs@PLT
	cdqe
	mov	rbx, rax
	mov	edi, 1208
	mov	eax, 0
	call	ccsidtocs@PLT
	cdqe
	mov	rsi, rbx
	mov	rdi, rax
	call	iconv_open@PLT
	mov	QWORD PTR e2a[rip], rax
	mov	edi, 1208
	mov	eax, 0
	call	ccsidtocs@PLT
	cdqe
	mov	rbx, rax
	mov	edi, 37
	mov	eax, 0
	call	ccsidtocs@PLT
	cdqe
	mov	rsi, rbx
	mov	rdi, rax
	call	iconv_open@PLT
	mov	QWORD PTR a2e[rip], rax
	mov	rax, QWORD PTR e2a[rip]
	cmp	rax, -1
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	init_iconv, .-init_iconv
	.globl	ebcdic2utf
	.type	ebcdic2utf, @function
ebcdic2utf:
.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	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR e2a[rip]
	test	rax, rax
	jne	.L4
	call	init_iconv
.L4:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	cdqe
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR e2a[rip]
	lea	rdi, -32[rbp]
	lea	rcx, -72[rbp]
	lea	rdx, -40[rbp]
	lea	rsi, -24[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	iconv@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ebcdic2utf, .-ebcdic2utf
	.section	.rodata
.LC0:
	.string	"%-10s"
	.text
	.globl	utf2ebcdic
	.type	utf2ebcdic, @function
utf2ebcdic:
.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	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR a2e[rip]
	test	rax, rax
	jne	.L8
	call	init_iconv
.L8:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	cdqe
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR a2e[rip]
	lea	rdi, -32[rbp]
	lea	rcx, -72[rbp]
	lea	rdx, -40[rbp]
	lea	rsi, -24[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	iconv@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	utf2ebcdic, .-utf2ebcdic
	.globl	ztoi
	.type	ztoi, @function
ztoi:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ebcdic2utf
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	atoi@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ztoi, .-ztoi
	.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	"256117.c"
	.text
	.comm	e2a,4,4
	.comm	a2e,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_iconv, %function
init_iconv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r0, .L3
	bl	ccsidtocs
	mov	r3, r0
	mov	r4, r3
	mov	r0, #37
	bl	ccsidtocs
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	iconv_open
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	mov	r0, #37
	bl	ccsidtocs
	mov	r3, r0
	mov	r4, r3
	ldr	r0, .L3
	bl	ccsidtocs
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	iconv_open
	mov	r3, r0
	ldr	r2, .L3+8
	str	r3, [r2]
	ldr	r3, .L3+4
	ldr	r3, [r3]
	cmn	r3, #1
	nop
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	1208
	.word	e2a
	.word	a2e
	.size	init_iconv, .-init_iconv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ebcdic2utf
	.syntax unified
	.arm
	.fpu softvfp
	.type	ebcdic2utf, %function
ebcdic2utf:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	bl	init_iconv
.L6:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	strncpy
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L9+4
	ldr	r0, [r3]
	sub	ip, fp, #40
	sub	r2, fp, #24
	sub	r1, fp, #16
	sub	r3, fp, #20
	str	r3, [sp]
	mov	r3, ip
	bl	iconv
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-12]
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	e2a
	.size	ebcdic2utf, .-ebcdic2utf
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%-10s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	utf2ebcdic
	.syntax unified
	.arm
	.fpu softvfp
	.type	utf2ebcdic, %function
utf2ebcdic:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
	bl	init_iconv
.L12:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	ldr	r1, .L15+8
	mov	r0, r3
	bl	sprintf
	ldr	r3, .L15+4
	ldr	r0, [r3]
	sub	ip, fp, #40
	sub	r2, fp, #24
	sub	r1, fp, #16
	sub	r3, fp, #20
	str	r3, [sp]
	mov	r3, ip
	bl	iconv
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-12]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC2
	.word	a2e
	.word	.LC1
	.size	utf2ebcdic, .-utf2ebcdic
	.align	2
	.global	ztoi
	.syntax unified
	.arm
	.fpu softvfp
	.type	ztoi, %function
ztoi:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	ebcdic2utf
	ldr	r0, [fp, #-8]
	bl	atoi
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ztoi, .-ztoi
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
