	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm831x_ts_pen_down_irq
_wm831x_ts_pen_down_irq:                ## @wm831x_ts_pen_down_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
	cmpl	$0, (%rsi)
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	24(%rsi), %r14
	movl	16(%rsi), %edi
	callq	_disable_irq_nosync
	xorl	%eax, %eax
	cmpq	$0, 8(%rbx)
	movq	_WM831X_TCH_Z_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmovnel	%edx, %eax
	movq	_WM831X_TOUCH_CONTROL_1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_WM831X_TCH_X_ENA@GOTPCREL(%rip), %rdi
	movq	_WM831X_TCH_Y_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdi), %ecx
	orl	%ecx, %edx
	orl	%eax, %ecx
	movq	%r14, %rdi
	callq	_wm831x_set_bits
	movq	_WM831X_INTERRUPT_STATUS_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM831X_TCHPD_EINT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ecx, %edx
	callq	_wm831x_set_bits
	movl	$1, (%rbx)
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_schedule_work
LBB0_2:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_WM831X_TCH_Z_ENA,4,2           ## @WM831X_TCH_Z_ENA
	.comm	_WM831X_TOUCH_CONTROL_1,4,2     ## @WM831X_TOUCH_CONTROL_1
	.comm	_WM831X_TCH_X_ENA,4,2           ## @WM831X_TCH_X_ENA
	.comm	_WM831X_TCH_Y_ENA,4,2           ## @WM831X_TCH_Y_ENA
	.comm	_WM831X_INTERRUPT_STATUS_1,4,2  ## @WM831X_INTERRUPT_STATUS_1
	.comm	_WM831X_TCHPD_EINT,4,2          ## @WM831X_TCHPD_EINT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IRQ PD->DATA\n"

	.no_dead_strip	_wm831x_ts_pen_down_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm831x_ts_pen_down_irq
_wm831x_ts_pen_down_irq:                ; @wm831x_ts_pen_down_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
	ldr	w8, [x1]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x20, [x1, #24]
	ldr	w0, [x1, #16]
	bl	_disable_irq_nosync
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _WM831X_TCH_Z_ENA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WM831X_TCH_Z_ENA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
Lloh3:
	adrp	x10, _WM831X_TOUCH_CONTROL_1@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WM831X_TOUCH_CONTROL_1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x10]
Lloh6:
	adrp	x10, _WM831X_TCH_X_ENA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WM831X_TCH_X_ENA@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _WM831X_TCH_Y_ENA@GOTPAGE
Lloh10:
	ldr	x11, [x11, _WM831X_TCH_Y_ENA@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w10, w11, w10
	orr	w2, w10, w9
	orr	w3, w10, w8
	mov	x0, x20
	bl	_wm831x_set_bits
Lloh12:
	adrp	x8, _WM831X_INTERRUPT_STATUS_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM831X_INTERRUPT_STATUS_1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _WM831X_TCHPD_EINT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WM831X_TCHPD_EINT@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x2
	bl	_wm831x_set_bits
	mov	w8, #1
	str	w8, [x19]
	ldr	w0, [x20]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	add	x0, x19, #4
	bl	_schedule_work
LBB0_2:
Lloh20:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_WM831X_TCH_Z_ENA,4,2           ; @WM831X_TCH_Z_ENA
	.comm	_WM831X_TOUCH_CONTROL_1,4,2     ; @WM831X_TOUCH_CONTROL_1
	.comm	_WM831X_TCH_X_ENA,4,2           ; @WM831X_TCH_X_ENA
	.comm	_WM831X_TCH_Y_ENA,4,2           ; @WM831X_TCH_Y_ENA
	.comm	_WM831X_INTERRUPT_STATUS_1,4,2  ; @WM831X_INTERRUPT_STATUS_1
	.comm	_WM831X_TCHPD_EINT,4,2          ; @WM831X_TCHPD_EINT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IRQ PD->DATA\n"

	.no_dead_strip	_wm831x_ts_pen_down_irq
.subsections_via_symbols
