	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function et8ek8_reglist_find_mode_ival
_et8ek8_reglist_find_mode_ival:         ## @et8ek8_reglist_find_mode_ival
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rdx), %edi
	callq	_TIMEPERFRAME_AVG_FPS
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_et8ek8_reglist_first
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	addq	$8, %rbx
	movq	_ET8EK8_REGLIST_MODE@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	addq	$8, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax), %rcx
	cmpq	8(%r12), %rcx
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rax), %rcx
	cmpq	16(%r12), %rcx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%rax), %edi
	callq	_TIMEPERFRAME_AVG_FPS
	cmpl	%r14d, %eax
	jne	LBB0_8
## %bb.7:
	movq	-8(%rbx), %r15
	jmp	LBB0_9
LBB0_1:
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ET8EK8_REGLIST_MODE,8,3        ## @ET8EK8_REGLIST_MODE
	.no_dead_strip	_et8ek8_reglist_find_mode_ival
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function et8ek8_reglist_find_mode_ival
_et8ek8_reglist_find_mode_ival:         ; @et8ek8_reglist_find_mode_ival
	.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	x21, x0
	ldr	w0, [x2]
	bl	_TIMEPERFRAME_AVG_FPS
	mov	x20, x0
	mov	x0, x21
	bl	_et8ek8_reglist_first
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.1:
	add	x21, x0, #8
Lloh0:
	adrp	x22, _ET8EK8_REGLIST_MODE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ET8EK8_REGLIST_MODE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21], #8
	cbz	x8, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x8, #8]
	ldr	x10, [x19, #8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x8, #16]
	ldr	x10, [x19, #16]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x8, #24]
	bl	_TIMEPERFRAME_AVG_FPS
	cmp	w0, w20
	b.ne	LBB0_2
; %bb.7:
	ldur	x0, [x21, #-8]
	b	LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ET8EK8_REGLIST_MODE,8,3        ; @ET8EK8_REGLIST_MODE
	.no_dead_strip	_et8ek8_reglist_find_mode_ival
.subsections_via_symbols
