	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_extra
_is_extra:                              ## @is_extra
	.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
	movl	20(%rdi), %r13d
	xorl	%eax, %eax
	andl	$31, %r13d
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r15
	leaq	24(%rdi), %rbx
	movslq	%esi, %r12
	incl	%r13d
	movl	$159, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r13d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_AV_RB16
	addl	$2, %eax
	cltq
	movq	%rbx, %rcx
	subq	%r15, %rcx
	sarq	$2, %rcx
	movq	%r12, %rdx
	subq	%rcx, %rdx
	cmpq	%rax, %rdx
	jl	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %ecx
	andl	%r14d, %ecx
	leaq	(%rbx,%rax,4), %rbx
	cmpl	$7, %ecx
	je	LBB0_2
	jmp	LBB0_11
LBB0_5:
	movl	(%rbx), %r13d
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.6:
	addq	$4, %rbx
	incl	%r13d
	movl	$159, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r13d
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_AV_RB16
	addl	$2, %eax
	cltq
	movq	%rbx, %rcx
	subq	%r15, %rcx
	sarq	$2, %rcx
	movq	%r12, %rdx
	subq	%rcx, %rdx
	cmpq	%rax, %rdx
	jl	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%rbx), %ecx
	andl	%r14d, %ecx
	leaq	(%rbx,%rax,4), %rbx
	cmpl	$8, %ecx
	je	LBB0_7
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$1, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_is_extra
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_extra
_is_extra:                              ; @is_extra
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w8, [x0, #20]
	ands	w8, w8, #0x1f
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x0
	add	x20, x0, #24
	sxtw	x21, w1
	add	w22, w8, #1
	mov	w23, #159
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	subs	w22, w22, #1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_AV_RB16
	add	w8, w0, #2
	sxtw	x8, w8
	sub	x9, x20, x19
	sub	x9, x21, x9, asr #2
	cmp	x9, x8
	b.lt	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x20, #8]
	and	w9, w9, w23
	add	x20, x20, x8, lsl #2
	cmp	w9, #7
	b.eq	LBB0_2
	b	LBB0_10
LBB0_5:
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.6:
	add	x20, x20, #4
	add	w22, w8, #1
	mov	w23, #159
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	subs	w22, w22, #1
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_AV_RB16
	add	w8, w0, #2
	sxtw	x8, w8
	sub	x9, x20, x19
	sub	x9, x21, x9, asr #2
	cmp	x9, x8
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x20, #8]
	and	w9, w9, w23
	add	x20, x20, x8, lsl #2
	cmp	w9, #8
	b.eq	LBB0_7
LBB0_10:
	mov	w0, #0
LBB0_11:
	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_12:
	mov	w0, #1
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_is_extra
.subsections_via_symbols
