	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function da9052_ts_pendwn_irq
_da9052_ts_pendwn_irq:                  ## @da9052_ts_pendwn_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, 8(%rsi)
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movl	4(%rsi), %edi
	movq	_DA9052_IRQ_PENDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_da9052_disable_irq_nosync
	movl	4(%rbx), %edi
	movq	_DA9052_IRQ_TSIREADY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_da9052_enable_irq
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_da9052_ts_adc_toggle
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1374389535, %rax, %rsi         ## imm = 0x51EB851F
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$36, %rsi
	addl	%eax, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_schedule_delayed_work
LBB0_2:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DA9052_IRQ_PENDOWN,4,2         ## @DA9052_IRQ_PENDOWN
	.comm	_DA9052_IRQ_TSIREADY,4,2        ## @DA9052_IRQ_TSIREADY
	.comm	_HZ,4,2                         ## @HZ
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_da9052_ts_pendwn_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function da9052_ts_pendwn_irq
_da9052_ts_pendwn_irq:                  ; @da9052_ts_pendwn_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, #8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	w0, [x1, #4]
Lloh0:
	adrp	x8, _DA9052_IRQ_PENDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DA9052_IRQ_PENDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_da9052_disable_irq_nosync
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x8, _DA9052_IRQ_TSIREADY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DA9052_IRQ_TSIREADY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_da9052_enable_irq
	mov	x0, x19
	mov	w1, #1
	bl	_da9052_ts_adc_toggle
Lloh6:
	adrp	x8, _HZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w1, w8, w9
	mov	x0, x19
	bl	_schedule_delayed_work
LBB0_2:
Lloh9:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DA9052_IRQ_PENDOWN,4,2         ; @DA9052_IRQ_PENDOWN
	.comm	_DA9052_IRQ_TSIREADY,4,2        ; @DA9052_IRQ_TSIREADY
	.comm	_HZ,4,2                         ; @HZ
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_da9052_ts_pendwn_irq
.subsections_via_symbols
