	.file	"542560.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"[%d"
.LC1:
	.string	", %d"
	.text
	.globl	print_nums
	.type	print_nums, @function
print_nums:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	cmp	DWORD PTR -28[rbp], 0
	jle	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L4
.L5:
	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, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L5
	mov	edi, 93
	call	putchar@PLT
	jmp	.L1
.L6:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_nums, .-print_nums
	.globl	search_insert
	.type	search_insert, @function
search_insert:
.LFB7:
	.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	.L8
.L10:
	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	.L9
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L8:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jg	.L10
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	search_insert, .-search_insert
	.section	.rodata
.LC2:
	.string	"\n Input: "
.LC3:
	.string	", %d\n"
.LC4:
	.string	" Output: %d\n"
	.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, 208
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -144[rbp], 1
	mov	DWORD PTR -140[rbp], 3
	mov	DWORD PTR -136[rbp], 5
	mov	DWORD PTR -132[rbp], 6
	mov	DWORD PTR -184[rbp], 4
	mov	DWORD PTR -128[rbp], 1
	mov	DWORD PTR -124[rbp], 3
	mov	DWORD PTR -120[rbp], 5
	mov	DWORD PTR -116[rbp], 6
	mov	DWORD PTR -180[rbp], 4
	mov	DWORD PTR -112[rbp], 1
	mov	DWORD PTR -108[rbp], 3
	mov	DWORD PTR -104[rbp], 5
	mov	DWORD PTR -100[rbp], 6
	mov	DWORD PTR -176[rbp], 4
	mov	DWORD PTR -96[rbp], 1
	mov	DWORD PTR -92[rbp], 3
	mov	DWORD PTR -88[rbp], 5
	mov	DWORD PTR -84[rbp], 6
	mov	DWORD PTR -172[rbp], 4
	lea	rax, -144[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -184[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	DWORD PTR -68[rbp], 5
	lea	rax, -128[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -52[rbp], 2
	lea	rax, -112[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -176[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	DWORD PTR -36[rbp], 7
	lea	rax, -96[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -172[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -168[rbp], 4
	mov	DWORD PTR -188[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 80
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -152[rbp], rax
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 72
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -164[rbp], eax
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 68
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -160[rbp], eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -164[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_nums
	mov	eax, DWORD PTR -160[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -160[rbp]
	mov	ecx, DWORD PTR -164[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	search_insert
	mov	DWORD PTR -156[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -188[rbp], 1
.L13:
	mov	eax, DWORD PTR -188[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L14
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"542560.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"[%d\000"
	.align	2
.LC2:
	.ascii	", %d\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
	ble	.L6
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L4
.L5:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L5
	mov	r0, #93
	bl	putchar
	b	.L1
.L6:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	.LC2
	.size	print_nums, .-print_nums
	.align	2
	.global	search_insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_insert, %function
search_insert:
	@ 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	.L10
.L12:
	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	.L11
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L10
.L11:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bgt	.L12
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	search_insert, .-search_insert
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\012 Input: \000"
	.align	2
.LC4:
	.ascii	", %d\012\000"
	.align	2
.LC5:
	.ascii	" Output: %d\012\000"
	.align	2
.LC0:
	.word	1
	.word	3
	.word	5
	.word	6
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L19+4
	sub	ip, fp, #120
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #4
	str	r3, [fp, #-156]
	ldr	r3, .L19+4
	sub	ip, fp, #104
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #4
	str	r3, [fp, #-152]
	ldr	r3, .L19+4
	sub	ip, fp, #88
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #4
	str	r3, [fp, #-148]
	ldr	r3, .L19+4
	sub	ip, fp, #72
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #4
	str	r3, [fp, #-144]
	sub	r3, fp, #120
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-156]
	str	r3, [fp, #-52]
	mov	r3, #5
	str	r3, [fp, #-48]
	sub	r3, fp, #104
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-152]
	str	r3, [fp, #-40]
	mov	r3, #2
	str	r3, [fp, #-36]
	sub	r3, fp, #88
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-28]
	mov	r3, #7
	str	r3, [fp, #-24]
	sub	r3, fp, #72
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #4
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L15
.L16:
	ldr	r2, [fp, #-160]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #52
	ldr	r3, [r3]
	str	r3, [fp, #-136]
	ldr	r2, [fp, #-160]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #48
	ldr	r3, [r3]
	str	r3, [fp, #-132]
	ldr	r2, [fp, #-160]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #44
	ldr	r3, [r3]
	str	r3, [fp, #-128]
	ldr	r0, .L19+8
	bl	printf
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-136]
	bl	print_nums
	ldr	r1, [fp, #-128]
	ldr	r0, .L19+12
	bl	printf
	ldr	r2, [fp, #-128]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-136]
	bl	search_insert
	str	r0, [fp, #-124]
	ldr	r1, [fp, #-124]
	ldr	r0, .L19+16
	bl	printf
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L15:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L16
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC6
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
