	.file	"233560.c"
	.intel_syntax noprefix
	.text
	.globl	ebcdic_argc
	.bss
	.align 4
	.type	ebcdic_argc, @object
	.size	ebcdic_argc, 4
ebcdic_argc:
	.zero	4
	.globl	ebcdic_argv
	.align 8
	.type	ebcdic_argv, @object
	.size	ebcdic_argv, 8
ebcdic_argv:
	.zero	8
	.section	.rodata
.LC0:
	.string	"IBMCCSID01208"
.LC1:
	.string	"IBMCCSID000000000010"
.LC2:
	.string	""
	.text
	.globl	main
	.type	main, @function
main:
.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, 288
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -224[rbp], 0
	mov	eax, DWORD PTR -276[rbp]
	mov	DWORD PTR ebcdic_argc[rip], eax
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR ebcdic_argv[rip], rax
	lea	rax, -208[rbp]
	mov	edx, 32
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -176[rbp]
	mov	edx, 32
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncpy@PLT
	lea	rdx, -176[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	iconv_open@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	DWORD PTR -264[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -264[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -256[rbp], rax
.L4:
	mov	QWORD PTR -240[rbp], 0
	lea	rax, -144[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	QWORD PTR -232[rbp], 128
	lea	rdi, -232[rbp]
	lea	rcx, -248[rbp]
	lea	rdx, -240[rbp]
	lea	rsi, -256[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	iconv@PLT
	mov	DWORD PTR -260[rbp], eax
	mov	rax, QWORD PTR -248[rbp]
	lea	rdx, -144[rbp]
	sub	rax, rdx
	add	QWORD PTR -224[rbp], rax
	cmp	DWORD PTR -260[rbp], -1
	jne	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 7
	je	.L4
.L3:
	lea	rsi, -232[rbp]
	lea	rcx, -248[rbp]
	lea	rdx, -240[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	r8, rsi
	mov	esi, 0
	mov	rdi, rax
	call	iconv@PLT
	add	DWORD PTR -264[rbp], 1
.L2:
	mov	eax, DWORD PTR -264[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jl	.L5
	mov	eax, DWORD PTR -276[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	mov	QWORD PTR -232[rbp], rax
	mov	DWORD PTR -264[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -264[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -248[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rdx, QWORD PTR ebcdic_argv[rip]
	mov	eax, DWORD PTR -264[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -240[rbp], 0
	lea	rdi, -232[rbp]
	lea	rcx, -248[rbp]
	lea	rdx, -240[rbp]
	lea	rsi, -256[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	iconv@PLT
	lea	rsi, -232[rbp]
	lea	rcx, -248[rbp]
	lea	rdx, -240[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	r8, rsi
	mov	esi, 0
	mov	rdi, rax
	call	iconv@PLT
	add	DWORD PTR -264[rbp], 1
.L6:
	mov	eax, DWORD PTR -264[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jl	.L7
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	iconv_close@PLT
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	lea	rsi, .LC2[rip]
	mov	edi, 6
	call	setlocale_a@PLT
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -276[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	main_a@PLT
	mov	DWORD PTR -264[rbp], eax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	free@PLT
	call	QadrtFreeConversionTable@PLT
	call	QadrtFreeEnviron@PLT
	mov	eax, DWORD PTR -264[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"233560.c"
	.text
	.comm	ebcdic_argc,4,4
	.comm	ebcdic_argv,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"IBMCCSID01208\000"
	.align	2
.LC1:
	.ascii	"IBMCCSID000000000010\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #248
	str	r0, [fp, #-240]
	str	r1, [fp, #-244]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-212]
	ldr	r2, .L10+4
	ldr	r3, [fp, #-240]
	str	r3, [r2]
	ldr	r2, .L10+8
	ldr	r3, [fp, #-244]
	str	r3, [r2]
	sub	r3, fp, #200
	mov	r2, #32
	ldr	r1, .L10+12
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #168
	mov	r2, #32
	ldr	r1, .L10+16
	mov	r0, r3
	bl	strncpy
	sub	r2, fp, #168
	sub	r3, fp, #200
	mov	r1, r2
	mov	r0, r3
	bl	iconv_open
	str	r0, [fp, #-208]
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L2
.L5:
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-232]
.L4:
	mov	r3, #0
	str	r3, [fp, #-224]
	sub	r3, fp, #136
	str	r3, [fp, #-228]
	mov	r3, #128
	str	r3, [fp, #-220]
	sub	r0, fp, #228
	sub	r2, fp, #224
	sub	r1, fp, #232
	sub	r3, fp, #220
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-208]
	bl	iconv
	mov	r3, r0
	str	r3, [fp, #-204]
	ldr	r2, [fp, #-228]
	sub	r3, fp, #136
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-212]
	add	r3, r3, r2
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-204]
	cmn	r3, #1
	bne	.L3
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #7
	beq	.L4
.L3:
	sub	r1, fp, #228
	sub	r2, fp, #224
	sub	r3, fp, #220
	str	r3, [sp]
	mov	r3, r1
	mov	r1, #0
	ldr	r0, [fp, #-208]
	bl	iconv
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L2:
	ldr	r2, [fp, #-216]
	ldr	r3, [fp, #-240]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	lsl	r2, r3, #2
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	str	r3, [fp, #-228]
	ldr	r3, [fp, #-212]
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L6
.L7:
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r2, [fp, #-228]
	str	r2, [r3]
	ldr	r3, .L10+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-232]
	mov	r3, #0
	str	r3, [fp, #-224]
	sub	r0, fp, #228
	sub	r2, fp, #224
	sub	r1, fp, #232
	sub	r3, fp, #220
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-208]
	bl	iconv
	sub	r1, fp, #228
	sub	r2, fp, #224
	sub	r3, fp, #220
	str	r3, [sp]
	mov	r3, r1
	mov	r1, #0
	ldr	r0, [fp, #-208]
	bl	iconv
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L6:
	ldr	r2, [fp, #-216]
	ldr	r3, [fp, #-240]
	cmp	r2, r3
	blt	.L7
	ldr	r0, [fp, #-208]
	bl	iconv_close
	ldr	r3, [fp, #-240]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L10+20
	mov	r0, #6
	bl	setlocale_a
	ldr	r1, [fp, #-244]
	ldr	r0, [fp, #-240]
	bl	main_a
	str	r0, [fp, #-216]
	ldr	r0, [fp, #-244]
	bl	free
	bl	QadrtFreeConversionTable
	bl	QadrtFreeEnviron
	ldr	r3, [fp, #-216]
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	ebcdic_argc
	.word	ebcdic_argv
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
