	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adp5589_report_switches
_adp5589_report_switches:               ## @adp5589_report_switches
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	movl	%esi, %r8d
	movq	8(%rdi), %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, (%rsi,%rax,8)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_2
LBB0_4:
	popq	%rbp
	retq
LBB0_5:
	movl	16(%rdi), %edi
	movl	4(%rsi,%rax,8), %esi
	movq	_KEY_EV_PRESSED@GOTPCREL(%rip), %rax
	andl	(%rax), %r8d
	movl	%r8d, %edx
	popq	%rbp
	jmp	_input_report_switch            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_EV_PRESSED,4,2             ## @KEY_EV_PRESSED
	.no_dead_strip	_adp5589_report_switches
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adp5589_report_switches
_adp5589_report_switches:               ; @adp5589_report_switches
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x9, [x0, #8]
	add	x9, x9, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w2
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x10, _KEY_EV_PRESSED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _KEY_EV_PRESSED@GOTPAGEOFF]
	ldr	w8, [x9]
Lloh2:
	ldr	w9, [x10]
	and	w2, w9, w1
	mov	x1, x8
	b	_input_report_switch
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_EV_PRESSED,4,2             ; @KEY_EV_PRESSED
	.no_dead_strip	_adp5589_report_switches
.subsections_via_symbols
