	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imon_panel_key_lookup
_imon_panel_key_lookup:                 ## @imon_panel_key_lookup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_KEY_RESERVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %rcx
	movq	(%rcx), %r8
	movl	(%r8), %ecx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.1:
	orl	$65518, %esi                    ## imm = 0xFFEE
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, %ecx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r8,%rdx,8), %ecx
	incq	%rdx
	testl	%ecx, %ecx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movl	%edx, %eax
	movl	4(%r8,%rax,8), %eax
LBB0_5:
	movl	$0, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_RESERVED,4,2               ## @KEY_RESERVED
	.no_dead_strip	_imon_panel_key_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imon_panel_key_lookup
_imon_panel_key_lookup:                 ; @imon_panel_key_lookup
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _KEY_RESERVED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_RESERVED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
	ldr	w13, [x9]
	cbz	w13, LBB0_5
; %bb.1:
	mov	x10, #0
	mov	w11, #65518
	orr	w11, w1, w11
	add	x12, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w13, w11
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	ldr	w13, [x12], #8
	cbnz	w13, LBB0_2
	b	LBB0_5
LBB0_4:
	add	x8, x9, w10, uxtw #3
	ldr	w8, [x8, #4]
LBB0_5:
	str	wzr, [x0]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_RESERVED,4,2               ; @KEY_RESERVED
	.no_dead_strip	_imon_panel_key_lookup
.subsections_via_symbols
