	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcf50633_input_irq
_pcf50633_input_irq:                    ## @pcf50633_input_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	4(%rsi), %edi
	movq	_PCF50633_REG_OOCSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pcf50633_reg_read
	movq	_PCF50633_OOCSTAT_ONKEY@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_PCF50633_IRQ_ONKEYF@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_2
## %bb.1:
	movl	$1, %edx
	testl	%eax, %eax
	je	LBB0_4
LBB0_2:
	movq	_PCF50633_IRQ_ONKEYR@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_5
## %bb.3:
	xorl	%edx, %edx
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	movl	(%rbx), %edi
	movq	_KEY_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_input_report_key
LBB0_5:
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCF50633_REG_OOCSTAT,4,2       ## @PCF50633_REG_OOCSTAT
	.comm	_PCF50633_OOCSTAT_ONKEY,4,2     ## @PCF50633_OOCSTAT_ONKEY
	.comm	_PCF50633_IRQ_ONKEYF,4,2        ## @PCF50633_IRQ_ONKEYF
	.comm	_KEY_POWER,4,2                  ## @KEY_POWER
	.comm	_PCF50633_IRQ_ONKEYR,4,2        ## @PCF50633_IRQ_ONKEYR
	.no_dead_strip	_pcf50633_input_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcf50633_input_irq
_pcf50633_input_irq:                    ; @pcf50633_input_irq
	.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
	mov	x20, x0
	ldr	w0, [x1, #4]
Lloh0:
	adrp	x8, _PCF50633_REG_OOCSTAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCF50633_REG_OOCSTAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pcf50633_reg_read
Lloh3:
	adrp	x8, _PCF50633_OOCSTAT_ONKEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCF50633_OOCSTAT_ONKEY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _PCF50633_IRQ_ONKEYF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCF50633_IRQ_ONKEYF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w9, w20
	ccmp	w8, #0, #0, eq
	b.eq	LBB0_3
; %bb.1:
Lloh9:
	adrp	x9, _PCF50633_IRQ_ONKEYR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PCF50633_IRQ_ONKEYR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w9, w20
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_5
; %bb.2:
	mov	w2, #0
	b	LBB0_4
LBB0_3:
	mov	w2, #1
LBB0_4:
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _KEY_POWER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KEY_POWER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_input_report_key
LBB0_5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PCF50633_REG_OOCSTAT,4,2       ; @PCF50633_REG_OOCSTAT
	.comm	_PCF50633_OOCSTAT_ONKEY,4,2     ; @PCF50633_OOCSTAT_ONKEY
	.comm	_PCF50633_IRQ_ONKEYF,4,2        ; @PCF50633_IRQ_ONKEYF
	.comm	_KEY_POWER,4,2                  ; @KEY_POWER
	.comm	_PCF50633_IRQ_ONKEYR,4,2        ; @PCF50633_IRQ_ONKEYR
	.no_dead_strip	_pcf50633_input_irq
.subsections_via_symbols
