	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poll_finished
_poll_finished:                         ## @poll_finished
	.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
	movq	_hil_dev@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpl	$64, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	4(%rax), %eax
	movl	%eax, %edx
	notl	%edx
	andl	$1, %edx
	movq	_hphilkeyb_keycode@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	$510, %eax                      ## imm = 0x1FE
	movl	(%rcx,%rax,2), %esi
	movl	16(%rbx), %edi
	callq	_input_report_key
LBB0_2:
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hil_dev,24,3                   ## @hil_dev
	.comm	_hphilkeyb_keycode,8,3          ## @hphilkeyb_keycode
	.no_dead_strip	_poll_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poll_finished
_poll_finished:                         ; @poll_finished
	.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
Lloh0:
	adrp	x19, _hil_dev@GOTPAGE
Lloh1:
	ldr	x19, [x19, _hil_dev@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w9, [x8]
	cmp	w9, #64
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x8, #4]
	mvn	w9, w8
Lloh2:
	adrp	x10, _hphilkeyb_keycode@GOTPAGE
Lloh3:
	ldr	x10, [x10, _hphilkeyb_keycode@GOTPAGEOFF]
	and	w2, w9, #0x1
Lloh4:
	ldr	x9, [x10]
	ubfx	x8, x8, #1, #8
	ldr	w1, [x9, x8, lsl #2]
	ldr	w0, [x19, #16]
	bl	_input_report_key
LBB0_2:
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_hil_dev,24,3                   ; @hil_dev
	.comm	_hphilkeyb_keycode,8,3          ; @hphilkeyb_keycode
	.no_dead_strip	_poll_finished
.subsections_via_symbols
