	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function leb
_leb:                                   ## @leb
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$0, (%rsi)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_avio_r8
	movl	%eax, %edx
	andl	$127, %edx
	cmpl	$4, %ebx
	jl	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$15, %edx
	ja	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	(,%rbx,8), %ecx
	subl	%ebx, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%edx, (%r14)
	incl	%ebx
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%r15)
	movl	(%r15), %ecx
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %ecx
	testb	$-128, %al
	jne	LBB0_1
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%edx, %edx
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	$8, %ebx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ecx
	andl	$128, %ecx
	je	LBB0_10
LBB0_6:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_7
LBB0_13:
	testl	%ecx, %ecx
	je	LBB0_14
LBB0_7:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_leb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function leb
_leb:                                   ; @leb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	mov	w21, #0
	str	wzr, [x1]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_avio_r8
	and	w8, w0, #0x7f
	cmp	w21, #4
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	b.ne	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, #15
	b.hi	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	lsl	w9, w21, #3
	sub	w9, w9, w21
	lsl	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	add	w21, w21, #1
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x20, #8]
	ldr	w8, [x20]
	cbnz	x9, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w8, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x21
	tbnz	w0, #7, LBB0_1
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w8, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w21, w21, #1
	cmp	w21, #8
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	tbz	w0, #7, LBB0_5
LBB0_11:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	b	LBB0_13
LBB0_12:
	cbz	w8, LBB0_14
LBB0_13:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_leb
.subsections_via_symbols
