	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eeti_ts_probe
_eeti_ts_probe:                         ## @eeti_ts_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	8(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	leaq	28(%rax), %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	callq	_devm_input_allocate_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_input_set_capability
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EETI_MAXVAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	movl	$255, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	%r15, %rdx
	addq	$24, %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_touchscreen_parse_properties
	movl	(%r12), %eax
	movl	%eax, 12(%r13)
	movq	_BUS_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	_eeti_ts_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	_eeti_ts_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	%r12, 16(%r15)
	movq	%r13, 8(%r15)
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movl	%eax, (%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_input_set_drvdata
	movl	(%r12), %r9d
	movl	4(%r12), %esi
	movq	_eeti_ts_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_10:
	movq	%r15, %rdi
	callq	_eeti_ts_stop
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_register_device          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to allocate driver data\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Failed to allocate input device.\n"

	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_EETI_MAXVAL,4,2                ## @EETI_MAXVAL
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_BUS_I2C,4,2                    ## @BUS_I2C
	.comm	_eeti_ts_open,4,2               ## @eeti_ts_open
	.comm	_eeti_ts_close,4,2              ## @eeti_ts_close
L_.str.2:                               ## @.str.2
	.asciz	"attn"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
	.comm	_eeti_ts_isr,4,2                ## @eeti_ts_isr
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.3:                               ## @.str.3
	.asciz	"Unable to request touchscreen IRQ: %d\n"

	.no_dead_strip	_eeti_ts_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eeti_ts_probe
_eeti_ts_probe:                         ; @eeti_ts_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	add	x19, x0, #8
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x0, x0, #28
	bl	_mutex_init
	mov	x0, x19
	bl	_devm_input_allocate_device
	cbz	x0, LBB0_5
; %bb.2:
	mov	x22, x0
Lloh3:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_input_set_capability
Lloh9:
	adrp	x8, _ABS_X@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x23, _EETI_MAXVAL@GOTPAGE
Lloh13:
	ldr	x23, [x23, _EETI_MAXVAL@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x22
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh14:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x22
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh17:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	w3, #255
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	add	x2, x20, #24
	mov	x0, x22
	mov	w1, #0
	bl	_touchscreen_parse_properties
	ldr	w8, [x21]
Lloh20:
	adrp	x9, _BUS_I2C@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BUS_I2C@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _eeti_ts_open@GOTPAGE
Lloh24:
	ldr	x10, [x10, _eeti_ts_open@GOTPAGEOFF]
	stp	w9, w8, [x22, #8]
Lloh25:
	ldr	w8, [x10]
Lloh26:
	adrp	x9, _eeti_ts_close@GOTPAGE
Lloh27:
	ldr	x9, [x9, _eeti_ts_close@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w9, w8, [x22]
	stp	x22, x21, [x20, #8]
Lloh29:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_optional
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_4:
Lloh34:
	adrp	x1, l_.str@PAGE
Lloh35:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_dev_err
Lloh38:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_set_clientdata
	mov	x0, x22
	mov	x1, x20
	bl	_input_set_drvdata
Lloh41:
	adrp	x8, _eeti_ts_isr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _eeti_ts_isr@GOTPAGEOFF]
Lloh43:
	ldr	w3, [x8]
Lloh44:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh46:
	ldr	w4, [x8]
	ldp	w5, w1, [x21]
	mov	x0, x19
	mov	x2, #0
	mov	x6, x20
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_10
; %bb.9:
	mov	x21, x0
	str	x21, [sp]
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_10:
	mov	x0, x20
	bl	_eeti_ts_stop
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_input_register_device
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to allocate driver data\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Failed to allocate input device.\n"

	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_EETI_MAXVAL,4,2                ; @EETI_MAXVAL
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_BUS_I2C,4,2                    ; @BUS_I2C
	.comm	_eeti_ts_open,4,2               ; @eeti_ts_open
	.comm	_eeti_ts_close,4,2              ; @eeti_ts_close
l_.str.2:                               ; @.str.2
	.asciz	"attn"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
	.comm	_eeti_ts_isr,4,2                ; @eeti_ts_isr
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.3:                               ; @.str.3
	.asciz	"Unable to request touchscreen IRQ: %d\n"

	.no_dead_strip	_eeti_ts_probe
.subsections_via_symbols
