	.file	"extr_shortendec.c_shn_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	shn_probe, @function
shn_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	AV_RB32@PLT
	cmp	eax, 1634364263
	je	.L2
.L4:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rbx]
	mov	edx, DWORD PTR 8[rbx]
	lea	r12, 4[rsp]
	mov	rdi, r12
	mov	ebp, DWORD PTR 16[rsi]
	sub	edx, 5
	add	rsi, 20
	sub	edx, DWORD PTR AV_INPUT_BUFFER_PADDING_SIZE[rip]
	call	init_get_bits8@PLT
	test	rax, rax
	js	.L4
	test	ebp, ebp
	jne	.L5
	mov	esi, 4
	mov	rdi, r12
	call	get_ur_golomb_shorten@PLT
	xor	esi, esi
	mov	rdi, r12
	mov	ebp, eax
	call	get_ur_golomb_shorten@PLT
	mov	edx, 256
	mov	ebx, eax
.L6:
	lea	eax, -2[rbp]
	cmp	eax, 1
	jbe	.L9
	cmp	ebp, 5
	jne	.L4
.L9:
	lea	eax, -1[rbx]
	cmp	eax, 7
	ja	.L4
	sub	edx, 1
	cmp	edx, 65534
	ja	.L4
	mov	eax, DWORD PTR AVPROBE_SCORE_EXTENSION[rip]
	add	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, 2
	mov	rdi, r12
	call	get_ur_golomb_shorten@PLT
	cmp	eax, 31
	ja	.L4
	mov	esi, eax
	mov	rdi, r12
	call	get_ur_golomb_shorten@PLT
	mov	esi, 2
	mov	rdi, r12
	mov	rbp, rax
	call	get_ur_golomb_shorten@PLT
	cmp	eax, 31
	ja	.L4
	mov	esi, eax
	mov	rdi, r12
	call	get_ur_golomb_shorten@PLT
	mov	esi, 2
	mov	rdi, r12
	mov	rbx, rax
	call	get_ur_golomb_shorten@PLT
	cmp	eax, 31
	ja	.L4
	mov	esi, eax
	mov	rdi, r12
	call	get_ur_golomb_shorten@PLT
	mov	edx, eax
	jmp	.L6
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	shn_probe, .-shn_probe
	.comm	AV_INPUT_BUFFER_PADDING_SIZE,4,4
	.comm	AVPROBE_SCORE_EXTENSION,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_shortendec.c_shn_probe.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shn_probe, %function
shn_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L11
	sub	sp, sp, #12
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	AV_RB32
	ldr	r3, .L11+4
	cmp	r0, r3
	beq	.L2
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r2, .L11+8
	ldr	r3, [r4, #4]
	ldr	ip, [r4]
	ldr	r2, [r2]
	sub	r3, r3, #5
	mov	r0, sp
	sub	r2, r3, r2
	add	r1, ip, #20
	ldr	r5, [ip, #16]
	bl	init_get_bits8
	cmp	r0, #0
	blt	.L4
	cmp	r5, #0
	bne	.L5
	mov	r1, #4
	mov	r0, sp
	bl	get_ur_golomb_shorten
	mov	r1, r5
	mov	r4, r0
	mov	r0, sp
	bl	get_ur_golomb_shorten
	mov	r3, #256
.L6:
	sub	r2, r4, #2
	cmp	r4, #5
	cmpne	r2, #1
	bhi	.L4
	sub	r0, r0, #1
	cmp	r0, #7
	bhi	.L4
	ldr	r2, .L11+12
	sub	r3, r3, #1
	cmp	r3, r2
	bhi	.L4
	ldr	r3, .L11+16
	ldr	r0, [r3]
	add	r0, r0, #1
	b	.L1
.L5:
	mov	r1, #2
	mov	r0, sp
	bl	get_ur_golomb_shorten
	cmp	r0, #31
	bhi	.L4
	mov	r1, r0
	mov	r0, sp
	bl	get_ur_golomb_shorten
	mov	r1, #2
	mov	r4, r0
	mov	r0, sp
	bl	get_ur_golomb_shorten
	cmp	r0, #31
	bhi	.L4
	mov	r1, r0
	mov	r0, sp
	bl	get_ur_golomb_shorten
	mov	r1, #2
	mov	r5, r0
	mov	r0, sp
	bl	get_ur_golomb_shorten
	cmp	r0, #31
	bhi	.L4
	mov	r1, r0
	mov	r0, sp
	bl	get_ur_golomb_shorten
	mov	r3, r0
	mov	r0, r5
	b	.L6
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	1634364263
	.word	AV_INPUT_BUFFER_PADDING_SIZE
	.word	65534
	.word	AVPROBE_SCORE_EXTENSION
	.size	shn_probe, .-shn_probe
	.comm	AV_INPUT_BUFFER_PADDING_SIZE,4,4
	.comm	AVPROBE_SCORE_EXTENSION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
