	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shn_probe
_shn_probe:                             ## @shn_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_AV_RB32
	xorl	%r12d, %r12d
	cmpl	$1634364263, %eax               ## imm = 0x616A6B67
	jne	LBB0_13
## %bb.1:
	movq	(%rbx), %rsi
	movl	16(%rsi), %r14d
	addq	$20, %rsi
	movl	8(%rbx), %edx
	movq	_AV_INPUT_BUFFER_PADDING_SIZE@GOTPCREL(%rip), %rax
	subl	(%rax), %edx
	addl	$-5, %edx
	leaq	-36(%rbp), %rdi
	callq	_init_get_bits8
	testq	%rax, %rax
	js	LBB0_13
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:
	leaq	-36(%rbp), %rdi
	movl	$2, %esi
	callq	_get_ur_golomb_shorten
	cmpl	$31, %eax
	ja	LBB0_13
## %bb.5:
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_get_ur_golomb_shorten
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_get_ur_golomb_shorten
	cmpl	$31, %eax
	ja	LBB0_13
## %bb.6:
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_get_ur_golomb_shorten
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_get_ur_golomb_shorten
	cmpl	$31, %eax
	ja	LBB0_13
## %bb.7:
	leaq	-36(%rbp), %rdi
	movl	%eax, %esi
	callq	_get_ur_golomb_shorten
	addl	$-65536, %eax                   ## imm = 0xFFFF0000
	jmp	LBB0_8
LBB0_3:
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_ur_golomb_shorten
	movq	%rax, %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_get_ur_golomb_shorten
	movq	%rax, %r15
	movl	$-65280, %eax                   ## imm = 0xFFFF0100
LBB0_8:
	cmpl	$5, %r14d
	ja	LBB0_13
## %bb.9:
	movl	$44, %ecx
	btl	%r14d, %ecx
	jae	LBB0_13
## %bb.10:
	addl	$-9, %r15d
	cmpl	$-8, %r15d
	jb	LBB0_13
## %bb.11:
	cmpl	$-65535, %eax                   ## imm = 0xFFFF0001
	jb	LBB0_13
## %bb.12:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	incl	%r12d
LBB0_13:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,4,2 ## @AV_INPUT_BUFFER_PADDING_SIZE
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_shn_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shn_probe
_shn_probe:                             ; @shn_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_AV_RB32
	mov	w8, #27495
	movk	w8, #24938, lsl #16
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x19]
	ldr	w20, [x8, #16]
	add	x1, x8, #20
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w8, w8, w9
	sub	w2, w8, #5
	add	x0, sp, #12
	bl	_init_get_bits8
	tbnz	x0, #63, LBB0_6
; %bb.2:
	add	x0, sp, #12
	cbz	w20, LBB0_8
; %bb.3:
	mov	w1, #2
	bl	_get_ur_golomb_shorten
	mov	x1, x0
	cmp	w1, #31
	b.hi	LBB0_6
; %bb.4:
	add	x0, sp, #12
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_get_ur_golomb_shorten
	mov	x19, x0
	add	x0, sp, #12
	mov	w1, #2
	bl	_get_ur_golomb_shorten
	mov	x1, x0
	cmp	w1, #31
	b.hi	LBB0_6
; %bb.5:
	add	x0, sp, #12
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_get_ur_golomb_shorten
	mov	x20, x0
	add	x0, sp, #12
	mov	w1, #2
	bl	_get_ur_golomb_shorten
	mov	x1, x0
	cmp	w1, #31
	b.ls	LBB0_14
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	mov	w1, #4
	bl	_get_ur_golomb_shorten
	mov	x19, x0
	add	x0, sp, #12
	mov	w1, #0
	bl	_get_ur_golomb_shorten
	mov	x20, x0
	mov	w8, #-65280
LBB0_9:
	mov	w0, #0
	cmp	w19, #5
	b.hi	LBB0_7
; %bb.10:
	mov	w9, #1
	lsl	w9, w9, w19
	mov	w10, #44
	tst	w9, w10
	b.eq	LBB0_7
; %bb.11:
	mov	w0, #0
	sub	w9, w20, #9
	cmn	w9, #8
	b.lo	LBB0_7
; %bb.12:
	mov	w9, #-65535
	cmp	w8, w9
	b.lo	LBB0_7
; %bb.13:
Lloh3:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w0, w8, #1
	b	LBB0_7
LBB0_14:
	add	x0, sp, #12
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_get_ur_golomb_shorten
	sub	w8, w0, #16, lsl #12            ; =65536
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,4,2 ; @AV_INPUT_BUFFER_PADDING_SIZE
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_shn_probe
.subsections_via_symbols
