	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad7879_irq
_ad7879_irq:                            ## @ad7879_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	8(%rsi), %edx
	movl	12(%rsi), %edi
	movq	_AD7879_REG_XPLUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_AD7879_NR_SENSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_regmap_bulk_read
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %ecx
	callq	_dev_err_ratelimited
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_ad7879_report
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_TS_PEN_UP_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_mod_timer
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD7879_REG_XPLUS,4,2           ## @AD7879_REG_XPLUS
	.comm	_AD7879_NR_SENSE,4,2            ## @AD7879_NR_SENSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to read %#02x: %d\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_TS_PEN_UP_TIMEOUT,8,3          ## @TS_PEN_UP_TIMEOUT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ad7879_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad7879_irq
_ad7879_irq:                            ; @ad7879_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
Lloh0:
	adrp	x20, _AD7879_REG_XPLUS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AD7879_REG_XPLUS@GOTPAGEOFF]
	ldr	w1, [x20]
	ldp	w2, w0, [x19, #8]
Lloh2:
	adrp	x8, _AD7879_NR_SENSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AD7879_NR_SENSE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	bl	_regmap_bulk_read
	cbz	w0, LBB0_2
; %bb.1:
	mov	x3, x0
	ldr	w0, [x19, #4]
	ldr	w2, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err_ratelimited
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_ad7879_report
	cbnz	w0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _jiffies@GOTPAGE
Lloh8:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _TS_PEN_UP_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TS_PEN_UP_TIMEOUT@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_mod_timer
LBB0_4:
Lloh13:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AD7879_REG_XPLUS,4,2           ; @AD7879_REG_XPLUS
	.comm	_AD7879_NR_SENSE,4,2            ; @AD7879_NR_SENSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to read %#02x: %d\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_TS_PEN_UP_TIMEOUT,8,3          ; @TS_PEN_UP_TIMEOUT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ad7879_irq
.subsections_via_symbols
