	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atkbd_event
_atkbd_event:                           ## @atkbd_event
	.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
	movl	%esi, %ebx
	callq	_input_get_drvdata
	movl	$-1, %ecx
	cmpl	$0, 4(%rax)
	je	LBB0_7
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_2
## %bb.3:
	cmpl	$128, %ebx
	jne	LBB0_7
## %bb.4:
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	_ATKBD_REP_EVENT_BIT@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_2:
	movq	_ATKBD_LED_EVENT_BIT@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_atkbd_schedule_event_work
	xorl	%ecx, %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATKBD_LED_EVENT_BIT,4,2        ## @ATKBD_LED_EVENT_BIT
	.comm	_ATKBD_REP_EVENT_BIT,4,2        ## @ATKBD_REP_EVENT_BIT
	.no_dead_strip	_atkbd_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atkbd_event
_atkbd_event:                           ; @atkbd_event
	.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
	mov	x19, x1
	bl	_input_get_drvdata
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_5
; %bb.1:
	cmp	w19, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w19, #128
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x0]
	cbnz	w8, LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, _ATKBD_REP_EVENT_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATKBD_REP_EVENT_BIT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	w0, #-1
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x8, _ATKBD_LED_EVENT_BIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATKBD_LED_EVENT_BIT@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	bl	_atkbd_schedule_event_work
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ATKBD_LED_EVENT_BIT,4,2        ; @ATKBD_LED_EVENT_BIT
	.comm	_ATKBD_REP_EVENT_BIT,4,2        ; @ATKBD_REP_EVENT_BIT
	.no_dead_strip	_atkbd_event
.subsections_via_symbols
