	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebml_read_length
_ebml_read_length:                      ## @ebml_read_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	$8, %edx
	movq	%rbx, %rcx
	movl	$1, %r8d
	callq	_ebml_read_num
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movslq	(%rbx), %rdx
	incq	%rdx
	leal	(,%rax,8), %ecx
	subl	%eax, %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_3
## %bb.2:
	movq	_EBML_UNKNOWN_LENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBML_UNKNOWN_LENGTH,4,2        ## @EBML_UNKNOWN_LENGTH
	.no_dead_strip	_ebml_read_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebml_read_length
_ebml_read_length:                      ; @ebml_read_length
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	w2, #8
	mov	x3, x19
	mov	w4, #1
	bl	_ebml_read_num
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	ldrsw	x8, [x19]
	add	x8, x8, #1
	lsl	w9, w0, #3
	sub	w9, w9, w0
	mov	w10, #1
	lsl	x9, x10, x9
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _EBML_UNKNOWN_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBML_UNKNOWN_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EBML_UNKNOWN_LENGTH,4,2        ; @EBML_UNKNOWN_LENGTH
	.no_dead_strip	_ebml_read_length
.subsections_via_symbols
