	.file	"extr_mss12.c_decode_pivot.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decode_pivot, @function
decode_pivot:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	lea	rsi, 4[rdi]
	mov	rdi, rbx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	[QWORD PTR [rbx]]
	mov	rsi, r13
	mov	rdi, rbx
	mov	r12d, eax
	call	[QWORD PTR [rbx]]
	add	eax, 1
	cmp	eax, 2
	jle	.L2
	cmp	ebp, 4
	jle	.L5
	lea	esi, 1[rbp]
	mov	rdi, rbx
	sar	esi
	sub	esi, 2
	call	[QWORD PTR 8[rbx]]
	add	eax, 3
.L2:
	cmp	eax, ebp
	jnb	.L5
	sub	ebp, eax
	test	r12d, r12d
	cmovne	eax, ebp
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	decode_pivot, .-decode_pivot
	.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_mss12.c_decode_pivot.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_pivot, %function
decode_pivot:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r6, r0
	ldr	r3, [r1]
	add	r1, r0, #4
	mov	r0, r4
	mov	r5, r2
	blx	r3
	mov	r2, r0
	mov	r1, r6
	mov	r0, r4
	ldr	r3, [r4]
	mov	r6, r2
	blx	r3
	add	r0, r0, #1
	cmp	r0, #2
	ble	.L2
	cmp	r5, #4
	ble	.L5
	add	r1, r5, #1
	asr	r1, r1, #1
	mov	r0, r4
	ldr	r3, [r4, #4]
	sub	r1, r1, #2
	blx	r3
	add	r0, r0, #3
.L2:
	cmp	r0, r5
	bcs	.L5
	cmp	r6, #0
	subne	r0, r5, r0
	pop	{r4, r5, r6, pc}
.L5:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
	.size	decode_pivot, .-decode_pivot
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
