	.file	"extr_vnodeTagMgmt.c_median.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	median, @function
median:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movsx	rdx, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	rax, rdx
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, [rdi+rdx*8]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movsx	rbp, ecx
	mov	edx, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	edx, eax
	sar	edx
	add	edx, eax
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	movsx	rdx, edx
	mov	QWORD PTR 8[rsp], rsi
	mov	rsi, QWORD PTR 0[r13]
	lea	r15, [rdi+rdx*8]
	mov	rdx, r8
	mov	rdi, QWORD PTR [r15]
	call	r9
	cmp	eax, 1
	je	.L9
.L2:
	lea	rbp, [r14+rbp*8]
	mov	rdi, QWORD PTR [r15]
	mov	rdx, r12
	mov	rsi, QWORD PTR 0[rbp]
	call	rbx
	cmp	eax, 1
	je	.L10
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 0[r13]
	mov	rdx, r12
	call	rbx
	cmp	eax, 1
	je	.L11
.L4:
	mov	rdi, QWORD PTR [r15]
	mov	rsi, QWORD PTR 0[r13]
	mov	rdx, r12
	call	rbx
	xor	edi, edi
	test	eax, eax
	jg	.L5
	mov	rdi, QWORD PTR 0[r13]
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdx, r12
	call	rbx
	xor	edi, edi
	test	eax, eax
	setle	dil
.L5:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	assert@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	r14, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR TSDB_DATA_TYPE_BINARY[rip]
	mov	rsi, r13
	mov	rdi, r15
	mov	rcx, r14
	call	tsDataSwap@PLT
	mov	rcx, r14
	mov	rsi, rbp
	mov	rdi, r15
	mov	edx, DWORD PTR TSDB_DATA_TYPE_BINARY[rip]
	call	tsDataSwap@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rcx, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR TSDB_DATA_TYPE_BINARY[rip]
	mov	rsi, r13
	mov	rdi, r15
	call	tsDataSwap@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rcx, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR TSDB_DATA_TYPE_BINARY[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	tsDataSwap@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	median, .-median
	.comm	TSDB_DATA_TYPE_BINARY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_vnodeTagMgmt.c_median.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	median, %function
median:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #12
	sub	r7, r3, r2
	ldr	r9, [sp, #48]
	add	r7, r2, r7, asr #1
	mov	r5, r2
	mov	fp, r1
	ldr	r0, [r0, r7, lsl #2]
	ldr	r1, [r4, r2, lsl #2]
	ldr	r8, [sp, #52]
	mov	r2, r9
	mov	r6, r3
	blx	r8
	add	r3, r4, r5, lsl #2
	cmp	r0, #1
	add	r10, r4, r7, lsl #2
	str	r3, [sp, #4]
	beq	.L9
.L2:
	mov	r2, r9
	ldr	r1, [r4, r6, lsl #2]
	ldr	r0, [r4, r7, lsl #2]
	blx	r8
	add	r3, r4, r6, lsl #2
	cmp	r0, #1
	str	r3, [sp, #4]
	beq	.L10
	mov	r2, r9
	ldr	r1, [r4, r6, lsl #2]
	ldr	r0, [r4, r5, lsl #2]
	blx	r8
	cmp	r0, #1
	beq	.L11
.L4:
	mov	r2, r9
	ldr	r0, [r4, r7, lsl #2]
	ldr	r1, [r4, r5, lsl #2]
	blx	r8
	cmp	r0, #0
	movgt	r0, #0
	bgt	.L5
	mov	r2, r9
	ldr	r1, [r4, r6, lsl #2]
	ldr	r0, [r4, r5, lsl #2]
	blx	r8
	cmp	r0, #0
	movgt	r0, #0
	movle	r0, #1
.L5:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	assert
.L10:
	ldr	r3, .L12
	add	r1, r4, r5, lsl #2
	ldr	r2, [r3]
	mov	r0, r10
	mov	r3, fp
	bl	tsDataSwap
	ldr	r2, .L12
	mov	r3, fp
	mov	r0, r10
	ldr	r2, [r2]
	add	r1, r4, r6, lsl #2
	bl	tsDataSwap
	b	.L4
.L9:
	ldr	r2, .L12
	mov	r3, fp
	mov	r0, r10
	ldr	r2, [r2]
	add	r1, r4, r5, lsl #2
	bl	tsDataSwap
	b	.L2
.L11:
	ldr	r2, .L12
	mov	r3, fp
	ldr	r2, [r2]
	add	r1, r4, r6, lsl #2
	add	r0, r4, r5, lsl #2
	bl	tsDataSwap
	b	.L4
.L13:
	.align	2
.L12:
	.word	TSDB_DATA_TYPE_BINARY
	.size	median, .-median
	.comm	TSDB_DATA_TYPE_BINARY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
