	.file	"239467.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"input para is NULL"
.LC1:
	.string	"the bit is wrong"
.LC2:
	.string	"%d\n"
	.text
	.globl	splitByBit
	.type	splitByBit, @function
splitByBit:
.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, 96
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	DWORD PTR -76[rbp], ecx
	mov	QWORD PTR -88[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -56[rbp], 0
	je	.L2
	cmp	QWORD PTR -64[rbp], 0
	je	.L2
	cmp	QWORD PTR -72[rbp], 0
	je	.L2
	cmp	QWORD PTR -88[rbp], 0
	jne	.L3
.L2:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L11
.L3:
	cmp	DWORD PTR -76[rbp], 0
	js	.L5
	cmp	DWORD PTR -76[rbp], 32
	jle	.L6
.L5:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L11
.L6:
	mov	QWORD PTR -18[rbp], 0
	mov	WORD PTR -10[rbp], 0
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L7
.L9:
	lea	rax, -18[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	and	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L8
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -36[rbp], 1
	jmp	.L7
.L8:
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -32[rbp], 1
.L7:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -18[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L9
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L10
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 1
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	splitByBit, .-splitByBit
	.globl	closeAllFile
	.type	closeAllFile, @function
closeAllFile:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	cmp	QWORD PTR -8[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L14
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
.L14:
	cmp	QWORD PTR -24[rbp], 0
	je	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], 0
.L15:
	cmp	QWORD PTR -16[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L17
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], 0
.L17:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	closeAllFile, .-closeAllFile
	.section	.rodata
.LC3:
	.string	"r"
.LC4:
	.string	"source.txt"
.LC5:
	.string	"failed to open %s"
.LC6:
	.string	"src.txt"
.LC7:
	.string	"w+"
.LC8:
	.string	"bit1.txt"
.LC9:
	.string	"bit0.txt"
.LC10:
	.string	"process error"
.LC11:
	.string	"mv bit1 file to src file"
.LC12:
	.string	"mv bit0 file to src file"
.LC13:
	.string	"no need to continue"
	.text
	.globl	findNum
	.type	findNum, @function
findNum:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	jne	.L19
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L32
.L19:
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L21
.L31:
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	jne	.L22
	lea	rsi, .LC3[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
.L22:
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	jne	.L23
	mov	eax, -1
	jmp	.L32
.L23:
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L24
	lea	rdx, -16[rbp]
	lea	rcx, -24[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	closeAllFile
	lea	rsi, .LC8[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L32
.L24:
	lea	rsi, .LC7[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jne	.L25
	lea	rdx, -16[rbp]
	lea	rcx, -24[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	closeAllFile
	lea	rsi, .LC9[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L32
.L25:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rdi, -48[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	splitByBit
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	jne	.L26
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdx, -16[rbp]
	lea	rcx, -24[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	closeAllFile
	mov	eax, -1
	jmp	.L32
.L26:
	lea	rdx, -16[rbp]
	lea	rcx, -24[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	closeAllFile
	cmp	DWORD PTR -36[rbp], 1
	jne	.L27
	lea	rsi, .LC6[rip]
	lea	rdi, .LC8[rip]
	call	rename@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	or	DWORD PTR -44[rbp], eax
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L28
.L27:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rsi, .LC6[rip]
	lea	rdi, .LC9[rip]
	call	rename@PLT
.L28:
	mov	eax, DWORD PTR -48[rbp]
	test	eax, eax
	jne	.L29
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L30
.L29:
	add	DWORD PTR -40[rbp], 1
.L21:
	cmp	DWORD PTR -40[rbp], 31
	jle	.L31
.L30:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
.L32:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	findNum, .-findNum
	.section	.rodata
.LC14:
	.string	"final num is %d or 0x%x\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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	lea	rax, -12[rbp]
	mov	rdi, rax
	call	findNum
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	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	"239467.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"input para is NULL\000"
	.align	2
.LC1:
	.ascii	"the bit is wrong\000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	splitByBit
	.syntax unified
	.arm
	.fpu softvfp
	.type	splitByBit, %function
splitByBit:
	@ args = 4, 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, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-56]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r0, .L13+4
	bl	printf
	mvn	r3, #0
	b	.L11
.L3:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	blt	.L5
	ldr	r3, [fp, #-52]
	cmp	r3, #32
	ble	.L6
.L5:
	ldr	r0, .L13+8
	bl	printf
	mvn	r3, #0
	b	.L11
.L6:
	mov	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #0
	str	r2, [r3]
	strh	r2, [r3, #4]	@ movhi
	mov	r2, #1
	ldr	r3, [fp, #-52]
	lsl	r3, r2, r3
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L7
.L9:
	sub	r3, fp, #20
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L8
	ldr	r2, [fp, #-24]
	ldr	r1, .L13+12
	ldr	r0, [fp, #-48]
	bl	fprintf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L7
.L8:
	ldr	r2, [fp, #-24]
	ldr	r1, .L13+12
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L7:
	sub	r3, fp, #20
	ldr	r2, [fp, #-40]
	mov	r1, #10
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L10
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	mov	r3, #1
	b	.L11
.L10:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	mov	r3, #0
.L11:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	splitByBit, .-splitByBit
	.align	2
	.global	closeAllFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	closeAllFile, %function
closeAllFile:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
.L16:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
.L19:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	closeAllFile, .-closeAllFile
	.section	.rodata
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"source.txt\000"
	.align	2
.LC6:
	.ascii	"failed to open %s\000"
	.align	2
.LC7:
	.ascii	"src.txt\000"
	.align	2
.LC8:
	.ascii	"w+\000"
	.align	2
.LC9:
	.ascii	"bit1.txt\000"
	.align	2
.LC10:
	.ascii	"bit0.txt\000"
	.align	2
.LC11:
	.ascii	"process error\000"
	.align	2
.LC12:
	.ascii	"mv bit1 file to src file\000"
	.align	2
.LC13:
	.ascii	"mv bit0 file to src file\000"
	.align	2
.LC14:
	.ascii	"no need to continue\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findNum
	.syntax unified
	.arm
	.fpu softvfp
	.type	findNum, %function
findNum:
	@ 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, #-40]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L36+4
	ldr	r0, .L36+8
	bl	fopen
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L21
	ldr	r1, .L36+8
	ldr	r0, .L36+12
	bl	printf
	mvn	r3, #0
	b	.L34
.L21:
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L23
.L33:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L24
	ldr	r1, .L36+4
	ldr	r0, .L36+16
	bl	fopen
	mov	r3, r0
	str	r3, [fp, #-36]
.L24:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L25
	mvn	r3, #0
	b	.L34
.L25:
	ldr	r1, .L36+20
	ldr	r0, .L36+24
	bl	fopen
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L26
	sub	r2, fp, #28
	sub	r1, fp, #32
	sub	r3, fp, #36
	mov	r0, r3
	bl	closeAllFile
	ldr	r1, .L36+24
	ldr	r0, .L36+12
	bl	printf
	mvn	r3, #0
	b	.L34
.L26:
	ldr	r1, .L36+20
	ldr	r0, .L36+28
	bl	fopen
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L27
	sub	r2, fp, #28
	sub	r1, fp, #32
	sub	r3, fp, #36
	mov	r0, r3
	bl	closeAllFile
	ldr	r1, .L36+28
	ldr	r0, .L36+12
	bl	printf
	mvn	r3, #0
	b	.L34
.L27:
	ldr	r0, [fp, #-36]
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-28]
	sub	r3, fp, #24
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	bl	splitByBit
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L28
	ldr	r0, .L36+32
	bl	puts
	sub	r2, fp, #28
	sub	r1, fp, #32
	sub	r3, fp, #36
	mov	r0, r3
	bl	closeAllFile
	mvn	r3, #0
	b	.L34
.L28:
	sub	r2, fp, #28
	sub	r1, fp, #32
	sub	r3, fp, #36
	mov	r0, r3
	bl	closeAllFile
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L29
	ldr	r1, .L36+16
	ldr	r0, .L36+24
	bl	rename
	mov	r2, #1
	ldr	r3, [fp, #-16]
	lsl	r3, r2, r3
	ldr	r2, [fp, #-20]
	orr	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r0, .L36+36
	bl	puts
	b	.L30
.L29:
	ldr	r0, .L36+40
	bl	puts
	ldr	r1, .L36+16
	ldr	r0, .L36+28
	bl	rename
.L30:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L36+44
	bl	puts
	b	.L32
.L31:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L23:
	ldr	r3, [fp, #-16]
	cmp	r3, #31
	ble	.L33
.L32:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
.L34:
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC15
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	findNum, .-findNum
	.section	.rodata
	.align	2
.LC16:
	.ascii	"final num is %d or 0x%x\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	mov	r0, r3
	bl	findNum
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L41+4
	bl	printf
	mov	r3, #0
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC17
	.word	.LC16
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
