	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebml_parse_nest
_ebml_parse_nest:                       ## @ebml_parse_nest
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.1:
	cmpq	$0, 40(%r15)
	je	LBB0_12
## %bb.2:
	leaq	LJTI0_0(%rip), %r12
	movq	%r15, %rbx
	jmp	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%rbx), %eax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	32(%rbx), %rcx
	movl	%eax, (%r13,%rcx)
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 88(%rbx)
	leaq	48(%rbx), %rbx
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movslq	32(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_av_strdup
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%r13,%rcx,4)
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_17
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	20(%rbx), %eax
	jmp	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	movslq	32(%rbx), %rax
	movsd	%xmm0, (%r13,%rax)
	jmp	LBB0_11
LBB0_12:
	movq	8(%r14), %rcx
	movslq	(%r14), %rax
	cmpl	$0, -4(%rcx,%rax,4)
	je	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_ebml_parse
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movq	_LEVEL_ENDED@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	cmovnel	%eax, %ecx
	jmp	LBB0_16
LBB0_13:
	decq	%rax
	movl	%eax, (%r14)
	xorl	%ecx, %ecx
LBB0_16:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_LEVEL_ENDED,4,2                ## @LEVEL_ENDED
	.no_dead_strip	_ebml_parse_nest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebml_parse_nest
_ebml_parse_nest:                       ; @ebml_parse_nest
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x2, LBB0_13
; %bb.1:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_12
; %bb.2:
Lloh0:
	adrp	x22, lJTI0_0@PAGE
Lloh1:
	add	x22, x22, lJTI0_0@PAGEOFF
	mov	x23, x21
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x23, #24]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x9, [x23, #32]
	str	w8, [x20, x9]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23, #88]
	add	x23, x23, #48
	cbz	x8, LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x23, #16]
	cbz	w0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x23, #32]
	lsl	x24, x8, #2
	bl	_av_strdup
	str	x0, [x20, x24]
	cbnz	x0, LBB0_5
	b	LBB0_17
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x23, #20]
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	d0, [x23, #8]
	ldrsw	x8, [x23, #32]
	str	d0, [x20, x8]
	b	LBB0_5
LBB0_12:
	ldr	x9, [x19, #8]
	ldrsw	x8, [x19]
	sub	x8, x8, #1
	ldr	w9, [x9, x8, lsl #2]
	cbz	w9, LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ebml_parse
	cbz	w0, LBB0_13
; %bb.14:
Lloh2:
	adrp	x8, _LEVEL_ENDED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LEVEL_ENDED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w0, wzr, w0, eq
	b	LBB0_16
LBB0_15:
	mov	w0, #0
	str	w8, [x19]
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_LEVEL_ENDED,4,2                ; @LEVEL_ENDED
	.no_dead_strip	_ebml_parse_nest
.subsections_via_symbols
