	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_ts_read_xy
_pcap_ts_read_xy:                       ## @pcap_ts_read_xy
	.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	%rdi, %rbx
	movl	(%rdi), %edx
	cmpl	$128, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_13
## %bb.2:
	movq	(%rsi), %rax
	movq	_PRESSURE_MIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_5
## %bb.3:
	movq	_PRESSURE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_5
## %bb.4:
	movq	%rax, 24(%rbx)
LBB0_5:
	movl	$128, (%rbx)
	addq	$16, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
LBB0_6:
	movq	(%rsi), %rax
	movq	%rax, 32(%rbx)
	movq	8(%rsi), %rdx
	movq	%rdx, 40(%rbx)
	movq	_X_AXIS_MIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jbe	LBB0_10
## %bb.7:
	movq	_X_AXIS_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jae	LBB0_10
## %bb.8:
	movq	_Y_AXIS_MIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_10
## %bb.9:
	movq	_Y_AXIS_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_10
## %bb.11:
	leaq	8(%rbx), %r14
	movq	8(%rbx), %rdi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_input_report_abs
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdi
	movq	32(%rbx), %rdx
	callq	_input_report_abs
	movq	8(%rbx), %rdi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_report_key
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdi
	movq	24(%rbx), %rdx
	callq	_input_report_abs
	movl	$129, (%rbx)
	addq	$16, %rbx
	movq	_SAMPLE_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	jmp	LBB0_12
LBB0_13:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_10:
	leaq	8(%rbx), %r14
	movq	8(%rbx), %rdi
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_abs
	movq	8(%rbx), %rdi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	_PCAP_ADC_TS_M_STANDBY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$16, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_12:
	callq	_schedule_delayed_work
	movq	(%r14), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PRESSURE_MIN,8,3               ## @PRESSURE_MIN
	.comm	_PRESSURE_MAX,8,3               ## @PRESSURE_MAX
	.comm	_X_AXIS_MIN,8,3                 ## @X_AXIS_MIN
	.comm	_X_AXIS_MAX,8,3                 ## @X_AXIS_MAX
	.comm	_Y_AXIS_MIN,8,3                 ## @Y_AXIS_MIN
	.comm	_Y_AXIS_MAX,8,3                 ## @Y_AXIS_MAX
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_PCAP_ADC_TS_M_STANDBY,4,2      ## @PCAP_ADC_TS_M_STANDBY
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_SAMPLE_DELAY,4,2               ## @SAMPLE_DELAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pcap_ts: Warning, unhandled read_state %d\n"

	.no_dead_strip	_pcap_ts_read_xy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_ts_read_xy
_pcap_ts_read_xy:                       ; @pcap_ts_read_xy
	.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, x0
	ldr	w2, [x0]
	cmp	w2, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_8
; %bb.2:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _PRESSURE_MIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PRESSURE_MIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _PRESSURE_MAX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PRESSURE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #2, hi
	b.hs	LBB0_4
; %bb.3:
	str	x8, [x19, #24]
LBB0_4:
	mov	w8, #128
	str	w8, [x19], #16
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_delayed_work
LBB0_5:
	ldr	x8, [x1]
	str	x8, [x19, #32]
	ldr	x2, [x1, #8]
	str	x2, [x19, #40]
Lloh6:
	adrp	x9, _X_AXIS_MIN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _X_AXIS_MIN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _X_AXIS_MAX@GOTPAGE
Lloh10:
	ldr	x10, [x10, _X_AXIS_MAX@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x2, x9
	ccmp	x2, x10, #2, hi
	b.hs	LBB0_7
; %bb.6:
Lloh12:
	adrp	x9, _Y_AXIS_MIN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _Y_AXIS_MIN@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _Y_AXIS_MAX@GOTPAGE
Lloh16:
	ldr	x10, [x10, _Y_AXIS_MAX@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #2, hi
	b.lo	LBB0_9
LBB0_7:
	mov	x20, x19
	ldr	x0, [x20, #8]!
Lloh18:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_input_report_abs
	ldr	x0, [x20]
Lloh21:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_input_report_key
Lloh24:
	adrp	x8, _PCAP_ADC_TS_M_STANDBY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PCAP_ADC_TS_M_STANDBY@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19]
	add	x0, x19, #16
	mov	w1, #0
	b	LBB0_10
LBB0_8:
	ldr	x0, [x19, #8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
LBB0_9:
	mov	x20, x19
	ldr	x0, [x20, #8]!
Lloh29:
	adrp	x8, _ABS_X@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_input_report_abs
	ldr	x0, [x20]
Lloh32:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	x2, [x19, #32]
	bl	_input_report_abs
	ldr	x0, [x20]
Lloh35:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_input_report_key
	ldr	x0, [x20]
Lloh38:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	x2, [x19, #24]
	bl	_input_report_abs
	mov	w8, #129
	str	w8, [x19], #16
Lloh41:
	adrp	x8, _SAMPLE_DELAY@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SAMPLE_DELAY@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
LBB0_10:
	bl	_schedule_delayed_work
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_PRESSURE_MIN,8,3               ; @PRESSURE_MIN
	.comm	_PRESSURE_MAX,8,3               ; @PRESSURE_MAX
	.comm	_X_AXIS_MIN,8,3                 ; @X_AXIS_MIN
	.comm	_X_AXIS_MAX,8,3                 ; @X_AXIS_MAX
	.comm	_Y_AXIS_MIN,8,3                 ; @Y_AXIS_MIN
	.comm	_Y_AXIS_MAX,8,3                 ; @Y_AXIS_MAX
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_PCAP_ADC_TS_M_STANDBY,4,2      ; @PCAP_ADC_TS_M_STANDBY
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_SAMPLE_DELAY,4,2               ; @SAMPLE_DELAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pcap_ts: Warning, unhandled read_state %d\n"

	.no_dead_strip	_pcap_ts_read_xy
.subsections_via_symbols
