	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function matroska_probe
_matroska_probe:                        ## @matroska_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_AV_RB32
	movq	%rax, %rcx
	movq	_EBML_ID_HEADER@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_45
## %bb.1:
	movq	(%rbx), %rcx
	movl	16(%rcx), %edx
	testb	$-128, %dl
	jne	LBB0_46
## %bb.2:
	xorl	%eax, %eax
	testb	$64, %dl
	jne	LBB0_3
## %bb.4:
	testb	$32, %dl
	jne	LBB0_5
## %bb.6:
	testb	$16, %dl
	jne	LBB0_7
## %bb.8:
	testb	$8, %dl
	jne	LBB0_9
## %bb.10:
	testb	$4, %dl
	jne	LBB0_11
## %bb.12:
	xorl	%r14d, %r14d
	testb	$2, %dl
	jne	LBB0_13
## %bb.14:
	testb	$1, %dl
	jne	LBB0_15
## %bb.16:
	movl	$-1, %r14d
	movl	$9, %r15d
	movb	$1, %dil
	jmp	LBB0_17
LBB0_46:
	andl	$127, %edx
	movl	$1, %r15d
	movl	%edx, %r14d
LBB0_32:
	leal	(,%r15,8), %ecx
	subl	%r15d, %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rax
	leal	1(%r14), %ecx
	movslq	%ecx, %rdx
	movl	8(%rbx), %ecx
	cmpq	%rdx, %rax
	jne	LBB0_34
## %bb.33:
	subl	%r15d, %ecx
	addl	$-4, %ecx
	movl	%ecx, %r14d
	jmp	LBB0_35
LBB0_34:
	leal	(%r15,%r14), %edx
	addl	$4, %edx
	movl	$0, %eax
	cmpl	%edx, %ecx
	jl	LBB0_45
LBB0_35:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	_matroska_doctypes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_40
## %bb.36:
	movslq	%r14d, %rax
	leal	4(%r15), %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addl	%r15d, %eax
	addl	$4, %eax
	cltq
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	leaq	16(,%rax,4), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	addq	$3, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_37 Depth=1
	incq	%r15
	movq	_matroska_doctypes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FF_ARRAY_ELEMS
	cltq
	cmpq	%rax, %r15
	jge	LBB0_40
LBB0_37:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_42 Depth 2
	movq	(%rbx), %rax
	movl	(%rax,%r15,4), %edi
	callq	_strlen
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	ja	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	%rax, %rbx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	subq	%rax, %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	cmpq	-72(%rbp), %r13                 ## 8-byte Folded Reload
	jb	LBB0_39
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_37 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	addq	%r14, %rdi
	movq	_matroska_doctypes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %esi
	movq	%rbx, %rdx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_42 Depth=2
	incq	%r12
	addq	$4, %r14
	cmpq	%r12, %r13
	ja	LBB0_42
	jmp	LBB0_39
LBB0_43:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	jmp	LBB0_44
LBB0_40:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
LBB0_44:
	movl	(%rax), %eax
	jmp	LBB0_45
LBB0_3:
	movl	$63, %r14d
	movl	$2, %r15d
	xorl	%edi, %edi
LBB0_17:
	xorl	%esi, %esi
	jmp	LBB0_18
LBB0_5:
	movl	$31, %r14d
	movl	$3, %r15d
	movb	$1, %sil
	xorl	%edi, %edi
LBB0_18:
	xorl	%r12d, %r12d
LBB0_19:
	xorl	%r8d, %r8d
LBB0_20:
	xorl	%r9d, %r9d
LBB0_21:
	xorl	%r10d, %r10d
LBB0_22:
	xorl	%r11d, %r11d
	testb	%dil, %dil
	je	LBB0_24
LBB0_45:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$15, %r14d
	movl	$4, %r15d
	movb	$1, %r12b
	xorl	%edi, %edi
	xorl	%esi, %esi
	jmp	LBB0_19
LBB0_9:
	movl	$7, %r14d
	movl	$5, %r15d
	movb	$1, %r8b
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_11:
	movl	$3, %r14d
	movl	$6, %r15d
	movb	$1, %r9b
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%r8d, %r8d
	jmp	LBB0_21
LBB0_13:
	movl	$1, %r14d
	movl	$7, %r15d
	movb	$1, %r10b
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	jmp	LBB0_22
LBB0_15:
	movl	$8, %r15d
	movb	$1, %r11b
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	testb	%dil, %dil
	jne	LBB0_45
LBB0_24:
	andl	%edx, %r14d
	shll	$8, %r14d
	orl	20(%rcx), %r14d
	testb	$64, %dl
	jne	LBB0_32
## %bb.25:
	shll	$8, %r14d
	orl	24(%rcx), %r14d
	testb	%sil, %sil
	jne	LBB0_32
## %bb.26:
	shll	$8, %r14d
	orl	28(%rcx), %r14d
	testb	%r12b, %r12b
	jne	LBB0_32
## %bb.27:
	shll	$8, %r14d
	orl	32(%rcx), %r14d
	testb	%r8b, %r8b
	jne	LBB0_32
## %bb.28:
	shll	$8, %r14d
	orl	36(%rcx), %r14d
	testb	%r9b, %r9b
	jne	LBB0_32
## %bb.29:
	shll	$8, %r14d
	orl	40(%rcx), %r14d
	testb	%r10b, %r10b
	jne	LBB0_32
## %bb.30:
	shll	$8, %r14d
	orl	44(%rcx), %r14d
	testb	%r11b, %r11b
	jne	LBB0_32
## %bb.31:
	shll	$8, %r14d
	orl	48(%rcx), %r14d
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_EBML_ID_HEADER,8,3             ## @EBML_ID_HEADER
	.comm	_matroska_doctypes,8,3          ## @matroska_doctypes
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_matroska_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function matroska_probe
_matroska_probe:                        ; @matroska_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x0, [x0]
	bl	_AV_RB32
Lloh0:
	adrp	x8, _EBML_ID_HEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBML_ID_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_32
; %bb.1:
	ldr	x8, [x19]
	ldr	w9, [x8, #16]
	tbnz	w9, #7, LBB0_10
; %bb.2:
	tbnz	w9, #6, LBB0_24
; %bb.3:
	tbnz	w9, #5, LBB0_25
; %bb.4:
	tbnz	w9, #4, LBB0_26
; %bb.5:
	tbnz	w9, #3, LBB0_27
; %bb.6:
	tbnz	w9, #2, LBB0_28
; %bb.7:
	tbnz	w9, #1, LBB0_29
; %bb.8:
	tbnz	w9, #0, LBB0_30
; %bb.9:
	mov	w15, #0
	mov	w14, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w17, #-1
	mov	w20, #9
	mov	w16, #1
	b	LBB0_31
LBB0_10:
	and	w21, w9, #0x7f
	mov	w20, #1
LBB0_11:
	add	w9, w21, #1
	lsl	w8, w20, #3
	sub	w8, w8, w20
	mov	w10, #1
	lsl	x10, x10, x8
	ldr	w8, [x19, #8]
	cmp	x10, w9, sxtw
	b.ne	LBB0_13
; %bb.12:
	sub	w8, w8, w20
	sub	w21, w8, #4
	b	LBB0_14
LBB0_13:
	add	w9, w20, w21
	add	w9, w9, #4
	cmp	w8, w9
	b.lt	LBB0_32
LBB0_14:
Lloh3:
	adrp	x22, _matroska_doctypes@GOTPAGE
Lloh4:
	ldr	x22, [x22, _matroska_doctypes@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.15:
	mov	x23, #0
	sxtw	x24, w21
	add	w25, w20, #4
	add	w8, w21, w25
	sxtw	x10, w8
	mov	w8, w20
	add	x9, x8, #3
	stp	x9, x10, [sp]                   ; 16-byte Folded Spill
	lsl	x8, x8, #2
	add	x21, x8, #16
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_FF_ARRAY_ELEMS
	cmp	x23, w0, sxtw
	b.ge	LBB0_22
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x8, [x22]
	ldr	w0, [x8, x23, lsl #2]
	bl	_strlen
	cmp	x0, x24
	b.hi	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x20, x0
	ldp	x26, x8, [sp]                   ; 16-byte Folded Reload
	sub	x28, x8, x0
	cmp	x28, x25
	mov	x27, x21
	b.lo	LBB0_16
LBB0_19:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19]
	add	x0, x8, x27
	ldr	x8, [x22]
	ldr	w1, [x8, x23, lsl #2]
	mov	x2, x20
	bl	_memcmp
	cbz	w0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x26, x26, #1
	add	x27, x27, #4
	cmp	x28, x26
	b.hi	LBB0_19
	b	LBB0_16
LBB0_21:
Lloh5:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh7:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	b	LBB0_33
LBB0_24:
	mov	w16, #0
	mov	w15, #0
	mov	w14, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w17, #63
	mov	w20, #2
	b	LBB0_31
LBB0_25:
	mov	w16, #0
	mov	w14, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w17, #31
	mov	w20, #3
	mov	w15, #1
	b	LBB0_31
LBB0_26:
	mov	w16, #0
	mov	w15, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w17, #15
	mov	w20, #4
	mov	w14, #1
	b	LBB0_31
LBB0_27:
	mov	w16, #0
	mov	w15, #0
	mov	w14, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w17, #7
	mov	w20, #5
	mov	w13, #1
	b	LBB0_31
LBB0_28:
	mov	w16, #0
	mov	w15, #0
	mov	w14, #0
	mov	w13, #0
	mov	w11, #0
	mov	w10, #0
	mov	w17, #3
	mov	w20, #6
	mov	w12, #1
	b	LBB0_31
LBB0_29:
	mov	w16, #0
	mov	w15, #0
	mov	w14, #0
	mov	w13, #0
	mov	w12, #0
	mov	w10, #0
	mov	w11, #1
	mov	w20, #7
	mov	w17, #1
	b	LBB0_31
LBB0_30:
	mov	w16, #0
	mov	w15, #0
	mov	w14, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w17, #0
	mov	w20, #8
	mov	w10, #1
LBB0_31:
	tbz	w16, #0, LBB0_34
LBB0_32:
	mov	w0, #0
LBB0_33:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_34:
	and	w16, w17, w9
	ldr	w17, [x8, #20]
	orr	w21, w17, w16, lsl #8
	tbnz	w9, #6, LBB0_11
; %bb.35:
	ldr	w9, [x8, #24]
	orr	w21, w9, w21, lsl #8
	tbnz	w15, #0, LBB0_11
; %bb.36:
	ldr	w9, [x8, #28]
	orr	w21, w9, w21, lsl #8
	tbnz	w14, #0, LBB0_11
; %bb.37:
	ldr	w9, [x8, #32]
	orr	w21, w9, w21, lsl #8
	tbnz	w13, #0, LBB0_11
; %bb.38:
	ldr	w9, [x8, #36]
	orr	w21, w9, w21, lsl #8
	tbnz	w12, #0, LBB0_11
; %bb.39:
	ldr	w9, [x8, #40]
	orr	w21, w9, w21, lsl #8
	tbnz	w11, #0, LBB0_11
; %bb.40:
	ldr	w9, [x8, #44]
	orr	w21, w9, w21, lsl #8
	tbnz	w10, #0, LBB0_11
; %bb.41:
	ldr	w8, [x8, #48]
	orr	w21, w8, w21, lsl #8
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EBML_ID_HEADER,8,3             ; @EBML_ID_HEADER
	.comm	_matroska_doctypes,8,3          ; @matroska_doctypes
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_matroska_probe
.subsections_via_symbols
