	.file	"946901.c"
	.intel_syntax noprefix
	.text
	.globl	find_max_crossing_subarray
	.type	find_max_crossing_subarray, @function
find_max_crossing_subarray:
.LFB0:
	.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 -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	DWORD PTR -52[rbp], ecx
	mov	QWORD PTR -64[rbp], r8
	mov	QWORD PTR -72[rbp], r9
	mov	DWORD PTR -20[rbp], -2147483648
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L3
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
.L3:
	sub	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jge	.L4
	mov	DWORD PTR -8[rbp], -2147483648
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L6
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
.L6:
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L7
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	edx, eax
	mov	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	find_max_crossing_subarray, .-find_max_crossing_subarray
	.globl	find_maximum_subarray
	.type	find_maximum_subarray, @function
find_maximum_subarray:
.LFB1:
	.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	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	QWORD PTR -72[rbp], rcx
	mov	QWORD PTR -80[rbp], r8
	mov	QWORD PTR -88[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	cmp	DWORD PTR -64[rbp], eax
	jne	.L9
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L14
.L9:
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -64[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -12[rbp], eax
	lea	r8, -40[rbp]
	lea	rdi, -44[rbp]
	lea	rcx, -48[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	find_maximum_subarray
	lea	r8, -28[rbp]
	lea	rdi, -32[rbp]
	lea	rcx, -36[rbp]
	mov	edx, DWORD PTR -64[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	find_maximum_subarray
	lea	r9, -20[rbp]
	lea	r8, -24[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rsp, 8
	lea	rdi, -16[rbp]
	push	rdi
	mov	rdi, rax
	call	find_max_crossing_subarray
	add	rsp, 16
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jl	.L11
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jl	.L11
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L10
.L11:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	jl	.L12
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jl	.L12
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L10
.L12:
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L14
.L10:
.L14:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	find_maximum_subarray, .-find_maximum_subarray
	.section	.rodata
	.align 8
.LC0:
	.string	"the cross_low is: %d\nthe cross_high is: %d\nthe cross_sum is: %d\n"
	.text
	.globl	test_find_max_crossing_subarray
	.type	test_find_max_crossing_subarray, @function
test_find_max_crossing_subarray:
.LFB2:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], -1
	mov	DWORD PTR -44[rbp], -3
	mov	DWORD PTR -40[rbp], -5
	mov	DWORD PTR -36[rbp], -4
	mov	DWORD PTR -32[rbp], -5
	mov	DWORD PTR -28[rbp], -5
	mov	DWORD PTR -24[rbp], -8
	mov	DWORD PTR -20[rbp], -9
	mov	DWORD PTR -16[rbp], -5
	mov	DWORD PTR -60[rbp], 1
	mov	DWORD PTR -56[rbp], 5
	mov	DWORD PTR -52[rbp], 8
	lea	r9, -68[rbp]
	lea	r8, -72[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	esi, DWORD PTR -60[rbp]
	lea	rax, -48[rbp]
	lea	rdi, -64[rbp]
	push	rdi
	mov	rdi, rax
	call	find_max_crossing_subarray
	add	rsp, 8
	mov	ecx, DWORD PTR -64[rbp]
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	test_find_max_crossing_subarray, .-test_find_max_crossing_subarray
	.section	.rodata
	.align 8
.LC1:
	.string	"Max left is: %d\nMax right is: %d\nCross sum is %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 1
	mov	DWORD PTR -60[rbp], 3
	mov	DWORD PTR -56[rbp], -5
	mov	DWORD PTR -52[rbp], -4
	mov	DWORD PTR -48[rbp], 3
	mov	DWORD PTR -44[rbp], -7
	mov	DWORD PTR -40[rbp], 20
	mov	DWORD PTR -36[rbp], 10
	mov	DWORD PTR -32[rbp], 7
	mov	DWORD PTR -28[rbp], 8
	mov	DWORD PTR -24[rbp], -5
	mov	DWORD PTR -20[rbp], -9
	mov	DWORD PTR -16[rbp], -13
	mov	DWORD PTR -12[rbp], 14
	mov	DWORD PTR -68[rbp], 14
	lea	rdi, -72[rbp]
	lea	rsi, -76[rbp]
	lea	rcx, -80[rbp]
	mov	edx, DWORD PTR -68[rbp]
	lea	rax, -64[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	esi, 0
	mov	rdi, rax
	call	find_maximum_subarray
	mov	ecx, DWORD PTR -72[rbp]
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"946901.c"
	.text
	.align	2
	.global	find_max_crossing_subarray
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_max_crossing_subarray, %function
find_max_crossing_subarray:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #-2147483648
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L2
.L4:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L3
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
.L3:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bge	.L4
	mov	r3, #-2147483648
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-8]
	b	.L5
.L7:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L6
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #8]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L6:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L7
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #12]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	find_max_crossing_subarray, .-find_max_crossing_subarray
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	find_maximum_subarray
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_maximum_subarray, %function
find_maximum_subarray:
	@ args = 8, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-76]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	bne	.L9
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-60]
	str	r2, [r3]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-60]
	str	r2, [r3]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	str	r2, [r3]
	b	.L14
.L9:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-12]
	sub	r2, fp, #48
	sub	r3, fp, #40
	str	r3, [sp, #4]
	sub	r3, fp, #44
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	find_maximum_subarray
	sub	r2, fp, #36
	sub	r3, fp, #28
	str	r3, [sp, #4]
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-56]
	bl	find_maximum_subarray
	sub	r3, fp, #16
	str	r3, [sp, #8]
	sub	r3, fp, #20
	str	r3, [sp, #4]
	sub	r3, fp, #24
	str	r3, [sp]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	find_max_crossing_subarray
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L11
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L11
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-72]
	str	r2, [r3]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-76]
	str	r2, [r3]
	b	.L10
.L11:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L12
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L12
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-72]
	str	r2, [r3]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-76]
	str	r2, [r3]
	b	.L10
.L12:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-72]
	str	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-76]
	str	r2, [r3]
	b	.L14
.L10:
.L14:
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC2
	.size	find_maximum_subarray, .-find_maximum_subarray
	.section	.rodata
	.align	2
.LC3:
	.ascii	"the cross_low is: %d\012the cross_high is: %d\012th"
	.ascii	"e cross_sum is: %d\012\000"
	.align	2
.LC0:
	.word	-1
	.word	-3
	.word	-5
	.word	-4
	.word	-5
	.word	-5
	.word	-8
	.word	-9
	.word	-5
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_find_max_crossing_subarray
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_find_max_crossing_subarray, %function
test_find_max_crossing_subarray:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L19+4
	sub	ip, fp, #44
	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}
	ldr	r3, [lr]
	str	r3, [ip]
	mov	r3, #1
	str	r3, [fp, #-56]
	mov	r3, #5
	str	r3, [fp, #-52]
	mov	r3, #8
	str	r3, [fp, #-48]
	sub	r0, fp, #44
	sub	r3, fp, #60
	str	r3, [sp, #8]
	sub	r3, fp, #64
	str	r3, [sp, #4]
	sub	r3, fp, #68
	str	r3, [sp]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-56]
	bl	find_max_crossing_subarray
	ldr	r1, [fp, #-68]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-60]
	ldr	r0, .L19+8
	bl	printf
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC4
	.word	.LC0
	.word	.LC3
	.size	test_find_max_crossing_subarray, .-test_find_max_crossing_subarray
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Max left is: %d\012Max right is: %d\012Cross sum is"
	.ascii	" %d\012\000"
	.align	2
.LC1:
	.word	1
	.word	3
	.word	-5
	.word	-4
	.word	3
	.word	-7
	.word	20
	.word	10
	.word	7
	.word	8
	.word	-5
	.word	-9
	.word	-13
	.word	14
	.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 = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L23+4
	sub	ip, fp, #64
	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}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #14
	str	r3, [fp, #-68]
	sub	r2, fp, #80
	sub	r0, fp, #64
	sub	r3, fp, #72
	str	r3, [sp, #4]
	sub	r3, fp, #76
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-68]
	mov	r1, #0
	bl	find_maximum_subarray
	ldr	r1, [fp, #-80]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-72]
	ldr	r0, .L23+8
	bl	printf
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC6
	.word	.LC1
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
