	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FindNextCell
_FindNextCell:                          ## @FindNextCell
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movq	(%rdi), %rcx
	movslq	%esi, %rdx
	shlq	$4, %rdx
	movq	(%rcx,%rdx), %rax
	movq	_BLOCK_TYPE_ANGLE_BLOCK@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rax
	jne	LBB0_1
## %bb.2:
	movq	_BLOCK_MODE_LAST_CELL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leal	-1(%rsi), %ebx
	addq	%rdx, %rcx
	addq	$8, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	leaq	16(%rcx), %rdx
	cmpq	%rax, (%rcx)
	movq	%rdx, %rcx
	jne	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ebx, %edx
	callq	_hb_log
	jmp	LBB0_5
LBB0_1:
	movl	%esi, %ebx
LBB0_5:
	incl	%ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCK_TYPE_ANGLE_BLOCK,8,3     ## @BLOCK_TYPE_ANGLE_BLOCK
	.comm	_BLOCK_MODE_LAST_CELL,8,3       ## @BLOCK_MODE_LAST_CELL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvd: Skipping multi-angle cells %d-%d"

	.no_dead_strip	_FindNextCell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FindNextCell
_FindNextCell:                          ; @FindNextCell
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x9, [x0]
	sbfiz	x8, x1, #4, #32
	ldr	x8, [x9, x8]
Lloh0:
	adrp	x10, _BLOCK_TYPE_ANGLE_BLOCK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BLOCK_TYPE_ANGLE_BLOCK@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_4
; %bb.1:
	sxtw	x10, w1
Lloh3:
	adrp	x8, _BLOCK_MODE_LAST_CELL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLOCK_MODE_LAST_CELL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	w19, w1, #1
	add	x9, x9, x10, lsl #4
	add	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #16
	add	w19, w19, #1
	cmp	x10, x8
	b.ne	LBB0_2
; %bb.3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_hb_log
	b	LBB0_5
LBB0_4:
	mov	x19, x1
LBB0_5:
	add	w0, w19, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCK_TYPE_ANGLE_BLOCK,8,3     ; @BLOCK_TYPE_ANGLE_BLOCK
	.comm	_BLOCK_MODE_LAST_CELL,8,3       ; @BLOCK_MODE_LAST_CELL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvd: Skipping multi-angle cells %d-%d"

	.no_dead_strip	_FindNextCell
.subsections_via_symbols
