	.file	"37409.c"
	.intel_syntax noprefix
	.text
	.globl	getTarget
	.type	getTarget, @function
getTarget:
.LFB0:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -40[rbp], edx
	mov	QWORD PTR -56[rbp], rcx
	mov	DWORD PTR -60[rbp], r8d
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	cmovle	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jne	.L4
	cmp	DWORD PTR -60[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	jmp	.L3
.L13:
	mov	eax, DWORD PTR -20[rbp]
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	sar	eax
	add	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, DWORD PTR -16[rbp]
	and	eax, 1
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jle	.L6
	cmp	DWORD PTR -60[rbp], 0
	jne	.L7
.L6:
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jne	.L8
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L9
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L3
.L9:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L10
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L11
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jg	.L11
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L3
.L11:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jge	.L12
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L4
.L12:
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L4
.L10:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L13
	mov	edi, DWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	getTarget
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getTarget, .-getTarget
	.globl	findMedianSortedArrays
	.type	findMedianSortedArrays, @function
findMedianSortedArrays:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -48[rbp], ecx
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L15
	mov	eax, DWORD PTR -20[rbp]
	sar	eax
	mov	edi, eax
	mov	esi, DWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, esi
	mov	rsi, rax
	call	getTarget
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -20[rbp]
	sar	eax
	lea	edi, -1[rax]
	mov	esi, DWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, esi
	mov	rsi, rax
	call	getTarget
	mov	ebx, eax
	mov	eax, DWORD PTR -20[rbp]
	sar	eax
	mov	edi, eax
	mov	esi, DWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, esi
	mov	rsi, rax
	call	getTarget
	add	eax, ebx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
.L16:
	movq	rax, xmm0
	movq	xmm0, rax
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	findMedianSortedArrays, .-findMedianSortedArrays
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.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	"37409.c"
	.text
	.align	2
	.global	getTarget
	.syntax unified
	.arm
	.fpu softvfp
	.type	getTarget, %function
getTarget:
	@ args = 4, 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	b	.L3
.L13:
	ldr	r3, [fp, #-24]
	asr	r2, r3, #1
	ldr	r3, [fp, #-20]
	asr	r3, r3, #1
	add	r2, r2, r3
	ldr	r1, [fp, #-24]
	ldr	r3, [fp, #-20]
	and	r3, r3, r1
	and	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L6
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L7
.L6:
	ldr	r3, [fp, #-12]
	b	.L3
.L7:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L4
.L5:
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-12]
	b	.L3
.L9:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L4
.L8:
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L10
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bgt	.L11
	ldr	r3, [fp, #-12]
	b	.L3
.L11:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L12
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L4
.L12:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L4
.L10:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L4:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-40]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-32]
	bl	getTarget
	mov	r3, r0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getTarget, .-getTarget
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
	.global	findMedianSortedArrays
	.syntax unified
	.arm
	.fpu softvfp
	.type	findMedianSortedArrays, %function
findMedianSortedArrays:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-16]
	asr	r0, r3, #1
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	bl	getTarget
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	b	.L16
.L15:
	ldr	r3, [fp, #-16]
	asr	r3, r3, #1
	sub	r0, r3, #1
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	bl	getTarget
	mov	r4, r0
	ldr	r3, [fp, #-16]
	asr	r0, r3, #1
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	bl	getTarget
	mov	r3, r0
	add	r3, r4, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
.L16:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	findMedianSortedArrays, .-findMedianSortedArrays
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
