	.file	"791665.c"
	.intel_syntax noprefix
	.text
	.globl	make_matrix
	.type	make_matrix, @function
make_matrix:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, DWORD PTR -48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -20[rbp], 1
.L3:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L4
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -24[rbp], 1
.L2:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L5
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make_matrix, .-make_matrix
	.globl	delete_matrix
	.type	delete_matrix, @function
delete_matrix:
.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 -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	delete_matrix, .-delete_matrix
	.section	.rodata
.LC0:
	.string	"[]"
.LC1:
	.string	"[%2d"
.LC2:
	.string	", %2d"
	.text
	.globl	print_nums
	.type	print_nums, @function
print_nums:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	cmp	DWORD PTR -28[rbp], 0
	jg	.L11
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L14
	mov	edi, 93
	call	putchar@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_nums, .-print_nums
	.section	.rodata
.LC3:
	.string	""
.LC4:
	.string	"[\n%*s"
.LC5:
	.string	",\n%*s"
.LC6:
	.string	"\n]"
	.text
	.globl	print_matrix
	.type	print_matrix, @function
print_matrix:
.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	DWORD PTR -32[rbp], edx
	cmp	DWORD PTR -28[rbp], 0
	jg	.L16
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L15
.L16:
	mov	DWORD PTR -4[rbp], 2
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, .LC3[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_nums
	mov	DWORD PTR -8[rbp], 1
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, .LC3[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_nums
	add	DWORD PTR -8[rbp], 1
.L18:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L19
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_matrix, .-print_matrix
	.globl	binary_search
	.type	binary_search, @function
binary_search:
.LFB10:
	.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
	mov	DWORD PTR -12[rbp], -1
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jle	.L22
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L21:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jg	.L23
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	je	.L24
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	je	.L25
.L24:
	mov	eax, DWORD PTR -8[rbp]
	not	eax
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -8[rbp]
.L26:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	binary_search, .-binary_search
	.globl	search_matrix
	.type	search_matrix, @function
search_matrix:
.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	cmp	DWORD PTR -28[rbp], 0
	je	.L28
	cmp	DWORD PTR -32[rbp], 0
	jne	.L29
.L28:
	mov	eax, 0
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L31
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L32
.L31:
	mov	eax, 0
	jmp	.L30
.L32:
	mov	DWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	cmp	DWORD PTR -28[rbp], 0
	jle	.L33
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -16[rbp], 1
.L34:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L35
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	binary_search
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	js	.L36
	mov	eax, 1
	jmp	.L30
.L36:
	not	DWORD PTR -16[rbp]
	cmp	DWORD PTR -16[rbp], 0
	jne	.L37
	mov	eax, 0
	jmp	.L30
.L37:
	sub	DWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L33:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	binary_search
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	not	eax
	shr	eax, 31
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	search_matrix, .-search_matrix
	.section	.rodata
.LC7:
	.string	"\n Input:"
.LC8:
	.string	" target = %d\n"
.LC9:
	.string	"true"
.LC10:
	.string	"false"
.LC11:
	.string	"\n Output: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 240
	mov	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -160[rbp], 1
	mov	DWORD PTR -156[rbp], 3
	mov	DWORD PTR -152[rbp], 5
	mov	DWORD PTR -148[rbp], 7
	mov	DWORD PTR -144[rbp], 10
	mov	DWORD PTR -140[rbp], 11
	mov	DWORD PTR -136[rbp], 16
	mov	DWORD PTR -132[rbp], 20
	mov	DWORD PTR -128[rbp], 23
	mov	DWORD PTR -124[rbp], 30
	mov	DWORD PTR -120[rbp], 34
	mov	DWORD PTR -116[rbp], 50
	mov	DWORD PTR -216[rbp], 3
	mov	DWORD PTR -212[rbp], 4
	mov	DWORD PTR -208[rbp], 3
	mov	DWORD PTR -112[rbp], 1
	mov	DWORD PTR -108[rbp], 3
	mov	DWORD PTR -104[rbp], 5
	mov	DWORD PTR -100[rbp], 7
	mov	DWORD PTR -96[rbp], 10
	mov	DWORD PTR -92[rbp], 11
	mov	DWORD PTR -88[rbp], 16
	mov	DWORD PTR -84[rbp], 20
	mov	DWORD PTR -80[rbp], 23
	mov	DWORD PTR -76[rbp], 30
	mov	DWORD PTR -72[rbp], 34
	mov	DWORD PTR -68[rbp], 50
	mov	DWORD PTR -204[rbp], 3
	mov	DWORD PTR -200[rbp], 4
	mov	DWORD PTR -196[rbp], 13
	lea	rax, -160[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -216[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -212[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -208[rbp]
	mov	DWORD PTR -48[rbp], eax
	lea	rax, -112[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -204[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -200[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -196[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -192[rbp], 2
	mov	DWORD PTR -220[rbp], 0
	jmp	.L39
.L42:
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 64
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -176[rbp], rax
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 56
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -188[rbp], eax
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 52
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -184[rbp], eax
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 48
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -180[rbp], eax
	mov	edx, DWORD PTR -184[rbp]
	mov	ecx, DWORD PTR -188[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	make_matrix
	mov	QWORD PTR -168[rbp], rax
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -184[rbp]
	mov	ecx, DWORD PTR -188[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	print_matrix
	mov	eax, DWORD PTR -180[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR -180[rbp]
	mov	edx, DWORD PTR -184[rbp]
	mov	esi, DWORD PTR -188[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	search_matrix
	mov	BYTE PTR -221[rbp], al
	cmp	BYTE PTR -221[rbp], 0
	je	.L40
	lea	rax, .LC9[rip]
	jmp	.L41
.L40:
	lea	rax, .LC10[rip]
.L41:
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -188[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	delete_matrix
	add	DWORD PTR -220[rbp], 1
.L39:
	mov	eax, DWORD PTR -220[rbp]
	cmp	eax, DWORD PTR -192[rbp]
	jl	.L42
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"791665.c"
	.text
	.align	2
	.global	make_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_matrix, %function
make_matrix:
	@ 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]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L5:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L4:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	mul	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	make_matrix, .-make_matrix
	.align	2
	.global	delete_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_matrix, %function
delete_matrix:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L8
.L9:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L9
	ldr	r0, [fp, #-16]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	delete_matrix, .-delete_matrix
	.section	.rodata
	.align	2
.LC1:
	.ascii	"[]\000"
	.align	2
.LC2:
	.ascii	"[%2d\000"
	.align	2
.LC3:
	.ascii	", %2d\000"
	.text
	.align	2
	.global	print_nums
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_nums, %function
print_nums:
	@ 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]
	cmp	r3, #0
	bgt	.L11
	ldr	r0, .L15
	bl	printf
	b	.L10
.L11:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L13
.L14:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L13:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L14
	mov	r0, #93
	bl	putchar
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	print_nums, .-print_nums
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"[\012%*s\000"
	.align	2
.LC6:
	.ascii	",\012%*s\000"
	.align	2
.LC7:
	.ascii	"\012]\000"
	.text
	.align	2
	.global	print_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_matrix, %function
print_matrix:
	@ 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, [fp, #-20]
	cmp	r3, #0
	bgt	.L18
	ldr	r0, .L22
	bl	puts
	b	.L17
.L18:
	mov	r3, #2
	str	r3, [fp, #-8]
	ldr	r2, .L22+4
	ldr	r1, [fp, #-8]
	ldr	r0, .L22+8
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	print_nums
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L20
.L21:
	ldr	r2, .L22+4
	ldr	r1, [fp, #-8]
	ldr	r0, .L22+12
	bl	printf
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	print_nums
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L20:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L21
	ldr	r0, .L22+16
	bl	puts
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC1
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	print_matrix, .-print_matrix
	.align	2
	.global	binary_search
	.syntax unified
	.arm
	.fpu softvfp
	.type	binary_search, %function
binary_search:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mvn	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	b	.L25
.L27:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L26
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L25
.L26:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L25:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bgt	.L27
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	beq	.L28
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	beq	.L29
.L28:
	ldr	r3, [fp, #-12]
	mvn	r3, r3
	b	.L30
.L29:
	ldr	r3, [fp, #-12]
.L30:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	binary_search, .-binary_search
	.align	2
	.global	search_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_matrix, %function
search_matrix:
	@ 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]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L33
.L32:
	mov	r3, #0
	b	.L34
.L33:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L36
.L35:
	mov	r3, #0
	b	.L34
.L36:
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L37
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L38
.L39:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-12]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L38:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L39
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-12]
	bl	binary_search
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L40
	mov	r3, #1
	b	.L34
.L40:
	ldr	r3, [fp, #-16]
	mvn	r3, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L41
	mov	r3, #0
	b	.L34
.L41:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	free
.L37:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	binary_search
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	search_matrix, .-search_matrix
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012 Input:\000"
	.align	2
.LC9:
	.ascii	" target = %d\012\000"
	.align	2
.LC10:
	.ascii	"true\000"
	.align	2
.LC11:
	.ascii	"false\000"
	.align	2
.LC12:
	.ascii	"\012 Output: %s\012\000"
	.align	2
.LC0:
	.word	1
	.word	3
	.word	5
	.word	7
	.word	10
	.word	11
	.word	16
	.word	20
	.word	23
	.word	30
	.word	34
	.word	50
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #200
	str	r0, [fp, #-200]
	str	r1, [fp, #-204]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L49+4
	sub	ip, fp, #104
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #3
	str	r3, [fp, #-184]
	mov	r3, #4
	str	r3, [fp, #-180]
	mov	r3, #3
	str	r3, [fp, #-176]
	ldr	r3, .L49+4
	sub	ip, fp, #56
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #3
	str	r3, [fp, #-172]
	mov	r3, #4
	str	r3, [fp, #-168]
	mov	r3, #13
	str	r3, [fp, #-164]
	sub	r3, fp, #104
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-184]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-180]
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-176]
	str	r3, [fp, #-124]
	sub	r3, fp, #56
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-172]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-164]
	str	r3, [fp, #-108]
	mov	r3, #2
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L43
.L46:
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-128]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-120]
	str	r3, [fp, #-144]
	ldr	r2, [fp, #-148]
	ldr	r1, [fp, #-152]
	ldr	r0, [fp, #-156]
	bl	make_matrix
	str	r0, [fp, #-140]
	ldr	r0, .L49+8
	bl	puts
	ldr	r2, [fp, #-148]
	ldr	r1, [fp, #-152]
	ldr	r0, [fp, #-140]
	bl	print_matrix
	ldr	r1, [fp, #-144]
	ldr	r0, .L49+12
	bl	printf
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-148]
	ldr	r1, [fp, #-152]
	ldr	r0, [fp, #-140]
	bl	search_matrix
	mov	r3, r0
	strb	r3, [fp, #-189]
	ldrb	r3, [fp, #-189]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L44
	ldr	r3, .L49+16
	b	.L45
.L44:
	ldr	r3, .L49+20
.L45:
	mov	r1, r3
	ldr	r0, .L49+24
	bl	printf
	ldr	r1, [fp, #-152]
	ldr	r0, [fp, #-140]
	bl	delete_matrix
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L43:
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	blt	.L46
	mov	r3, #0
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC13
	.word	.LC0
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
