	.file	"341664.c"
	.intel_syntax noprefix
	.text
	.globl	something
	.bss
	.align 4
	.type	something, @object
	.size	something, 4
something:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"FORMERR IQuery packet name problem"
	.align 8
.LC1:
	.string	"FORMERR IQuery message length off"
.LC2:
	.string	"req: IQuery class %d type %d\n"
.LC3:
	.string	"BUFFER OVERFLOW DETECTED!"
	.align 8
.LC4:
	.string	"Copying %d bytes from fname to anbuf which can store %d bytes\n"
	.text
	.type	req_iquery, @function
req_iquery:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -120[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__dn_skipname@PLT
	mov	DWORD PTR -80[rbp], eax
	cmp	DWORD PTR -80[rbp], 0
	jns	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	movzx	edx, BYTE PTR 3[rax]
	and	edx, -16
	or	edx, 1
	mov	BYTE PTR 3[rax], dl
	mov	eax, 0
	jmp	.L9
.L2:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -68[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -104[rbp], rax
	je	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	movzx	edx, BYTE PTR 3[rax]
	and	edx, -16
	or	edx, 1
	mov	BYTE PTR 3[rax], dl
	mov	eax, 0
	jmp	.L9
.L4:
	cmp	DWORD PTR -76[rbp], 1
	jne	.L5
	mov	eax, DWORD PTR something[rip]
	test	eax, eax
	jne	.L11
	mov	eax, 1
	jmp	.L9
.L5:
	mov	eax, 1
	jmp	.L9
.L11:
	nop
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 12
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, 2
	jbe	.L8
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -64[rbp]
	mov	edx, 2
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -32[rbp]
	lea	rax, -10[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	mov	rcx, rax
	lea	rax, -10[rbp]
	add	rax, rcx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -12[rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -60[rbp], 0
	mov	eax, 0
.L9:
	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
.LFE6:
	.size	req_iquery, .-req_iquery
	.section	.rodata
.LC5:
	.string	"r"
.LC6:
	.string	"iquery-file"
.LC7:
	.string	"iquery-file not found!"
	.text
	.globl	create_msg
	.type	create_msg, @function
create_msg:
.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -16[rbp], 0
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L15
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -16[rbp], 1
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	je	.L16
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L17
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -16[rbp]
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create_msg, .-create_msg
	.section	.rodata
.LC8:
	.string	"the_stack_data/341664.c"
.LC9:
	.string	"argc==2"
.LC10:
	.string	"f!=NULL"
.LC11:
	.string	"%d"
	.align 8
.LC12:
	.string	"(fscanf(f, \"%d\", &something)) != 0"
.LC13:
	.string	"opcode = %d\n"
	.align 8
.LC14:
	.string	"We only support inverse queries!"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -68[rbp], 2
	je	.L19
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 185
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L19:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L20
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 187
	lea	rsi, .LC8[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L20:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, something[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	test	eax, eax
	jne	.L21
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 188
	lea	rsi, .LC8[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L21:
	mov	edi, 10000
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 10000
	mov	rdi, rax
	call	create_msg
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 2[rax]
	shr	al, 3
	and	eax, 15
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 2[rax]
	shr	al, 3
	and	eax, 15
	movzx	eax, al
	cmp	eax, 1
	jne	.L22
	mov	rdi, QWORD PTR -32[rbp]
	lea	rcx, -52[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rsi, -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	req_iquery
	jmp	.L23
.L22:
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L23:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"341664.c"
	.text
	.comm	something,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"FORMERR IQuery packet name problem\000"
	.align	2
.LC1:
	.ascii	"FORMERR IQuery message length off\000"
	.align	2
.LC2:
	.ascii	"req: IQuery class %d type %d\012\000"
	.align	2
.LC3:
	.ascii	"BUFFER OVERFLOW DETECTED!\000"
	.align	2
.LC4:
	.ascii	"Copying %d bytes from fname to anbuf which can stor"
	.ascii	"e %d bytes\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	req_iquery, %function
req_iquery:
	@ args = 4, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-80]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	ldr	r1, [fp, #-72]
	mov	r0, r3
	bl	__dn_skipname
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L12+4
	bl	puts
	ldr	r2, [fp, #-64]
	ldrb	r3, [r2, #3]
	bic	r3, r3, #14
	orr	r3, r3, #1
	strb	r3, [r2, #3]
	mov	r3, #0
	b	.L9
.L2:
	ldr	r3, [fp, #-68]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r2, r2, r3
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-52]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	add	r2, r3, #2
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-44]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	add	r2, r3, #2
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-36]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	add	r2, r3, #2
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	beq	.L4
	ldr	r0, .L12+8
	bl	puts
	ldr	r2, [fp, #-64]
	ldrb	r3, [r2, #3]
	bic	r3, r3, #14
	orr	r3, r3, #1
	strb	r3, [r2, #3]
	mov	r3, #0
	b	.L9
.L4:
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L5
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	mov	r3, #1
	b	.L9
.L5:
	mov	r3, #1
	b	.L9
.L11:
	nop
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-40]
	ldr	r0, .L12+16
	bl	printf
	ldr	r3, [fp, #-80]
	add	r3, r3, #12
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bls	.L8
	ldr	r0, .L12+20
	bl	puts
	mov	r3, #1
	b	.L9
.L8:
	mov	r2, #2
	ldr	r1, [fp, #-24]
	ldr	r0, .L12+24
	bl	printf
	ldr	r2, [fp, #-24]
	sub	r3, fp, #12
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	sub	r2, r3, #12
	ldr	r3, [fp, #-76]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
.L9:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	something
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	req_iquery, .-req_iquery
	.section	.rodata
	.align	2
.LC6:
	.ascii	"r\000"
	.align	2
.LC7:
	.ascii	"iquery-file\000"
	.align	2
.LC8:
	.ascii	"iquery-file not found!\000"
	.text
	.align	2
	.global	create_msg
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_msg, %function
create_msg:
	@ 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, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r1, .L20
	ldr	r0, .L20+4
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L20+8
	bl	puts
	mvn	r3, #0
	b	.L16
.L19:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L17:
	ldr	r0, [fp, #-12]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L18
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L19
.L18:
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-16]
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	create_msg, .-create_msg
	.section	.rodata
	.align	2
.LC9:
	.ascii	"the_stack_data/341664.c\000"
	.align	2
.LC10:
	.ascii	"argc==2\000"
	.align	2
.LC11:
	.ascii	"f!=NULL\000"
	.align	2
.LC12:
	.ascii	"%d\000"
	.align	2
.LC13:
	.ascii	"(fscanf(f, \"%d\", &something)) != 0\000"
	.align	2
.LC14:
	.ascii	"opcode = %d\012\000"
	.align	2
.LC15:
	.ascii	"We only support inverse queries!\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-44]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	beq	.L23
	ldr	r3, .L30+4
	mov	r2, #185
	ldr	r1, .L30+8
	ldr	r0, .L30+12
	bl	__assert_fail
.L23:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L30+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L24
	ldr	r3, .L30+4
	mov	r2, #187
	ldr	r1, .L30+8
	ldr	r0, .L30+20
	bl	__assert_fail
.L24:
	ldr	r2, .L30+24
	ldr	r1, .L30+28
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L30+4
	mov	r2, #188
	ldr	r1, .L30+8
	ldr	r0, .L30+32
	bl	__assert_fail
.L25:
	ldr	r0, .L30+36
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r1, .L30+36
	ldr	r0, [fp, #-20]
	bl	create_msg
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	lsr	r3, r3, #3
	and	r3, r3, #15
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L30+40
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	lsr	r3, r3, #3
	and	r3, r3, #15
	and	r3, r3, #255
	cmp	r3, #1
	bne	.L26
	sub	r2, fp, #28
	sub	r1, fp, #32
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	req_iquery
	b	.L27
.L26:
	ldr	r0, .L30+44
	bl	puts
.L27:
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC16
	.word	__PRETTY_FUNCTION__.6628
	.word	.LC9
	.word	.LC10
	.word	.LC6
	.word	.LC11
	.word	something
	.word	.LC12
	.word	.LC13
	.word	10000
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6628, %object
	.size	__PRETTY_FUNCTION__.6628, 5
__PRETTY_FUNCTION__.6628:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
