	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function pm860x_touch_probe
LCPI0_0:
	.long	2                               ## 0x2
	.long	8                               ## 0x8
	.long	32                              ## 0x20
	.long	128                             ## 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pm860x_touch_probe:                    ## @pm860x_touch_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_dev_get_platdata
	movq	(%r14), %rcx
	movq	_CHIP_PM8607@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	movq	%rax, %r12
	sete	%sil
	movq	16(%r14,%rsi,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	js	LBB0_16
## %bb.1:
	movl	%eax, %r13d
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pm860x_touch_dt_init
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
## %bb.2:
	testq	%r12, %r12
	je	LBB0_17
## %bb.3:
	movq	_PM8607_GPADC_PREBIAS_MASK@GOTPCREL(%rip), %rax
	movq	_PM8607_GPADC_SLOT_CYCLE_MASK@GOTPCREL(%rip), %rcx
	movq	_PM8607_GPADC_OFF_SCALE_MASK@GOTPCREL(%rip), %rdx
	movdqu	(%r12), %xmm0
	pmulld	LCPI0_0(%rip), %xmm0
	movq	_PM8607_GPADC_SW_CAL_MASK@GOTPCREL(%rip), %rsi
	movd	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm1
	pinsrd	$2, (%rdx), %xmm1
	pinsrd	$3, (%rsi), %xmm1
	pand	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	por	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %edx
	testl	%edx, %edx
	je	LBB0_5
## %bb.4:
	movq	_PM8607_GPADC_MISC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pm860x_reg_write
	testl	%eax, %eax
	js	LBB0_18
LBB0_5:
	movl	16(%r12), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.6:
	movq	_PM8607_TSI_PREBIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pm860x_reg_write
	testl	%eax, %eax
	js	LBB0_18
LBB0_7:
	movq	_PM8607_PD_PREBIAS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	20(%r12), %eax
	movl	24(%r12), %edx
	shll	$5, %edx
	movq	_PM8607_PD_PRECHG_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	orl	%eax, %edx
	je	LBB0_9
## %bb.8:
	movq	_PM8607_PD_PREBIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pm860x_reg_write
	testl	%eax, %eax
	js	LBB0_18
LBB0_9:
	movl	28(%r12), %eax
	movl	%eax, -44(%rbp)
LBB0_10:
	movq	_PM8607_GPADC_MISC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PM8607_GPADC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_pm860x_set_bits
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.11:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.12:
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_devm_input_allocate_device
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_23
## %bb.13:
	leaq	L_.str.2(%rip), %rcx
	movq	%rcx, (%rax)
	leaq	L_.str.3(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	_BUS_I2C@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rax)
	movq	%r15, 40(%rax)
	movq	_pm860x_touch_open@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_pm860x_touch_close@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	%r14, 24(%r12)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%r12)
	movl	%r13d, (%r12)
	movl	-44(%rbp), %ecx
	movl	%ecx, 4(%r12)
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_input_set_drvdata
	movl	(%r12), %esi
	movq	_pm860x_touch_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, (%rsp)
	leaq	L_.str.4(%rip), %r9
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_24
## %bb.14:
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movl	20(%rax), %esi
	callq	___set_bit
	movq	_ABS_X@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	8(%r12), %rax
	movl	24(%rax), %esi
	callq	___set_bit
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movl	24(%rax), %esi
	callq	___set_bit
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movl	24(%rax), %esi
	callq	___set_bit
	movq	_EV_SYN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movl	20(%rax), %esi
	callq	___set_bit
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movl	20(%rax), %esi
	callq	___set_bit
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movl	16(%rax), %esi
	callq	___set_bit
	movq	8(%r12), %rdi
	movl	(%r15), %esi
	movq	_ACCURATE_BIT@GOTPCREL(%rip), %r13
	movb	(%r13), %cl
	movl	$1, %r15d
	movl	$1, %eax
	shll	%cl, %eax
	xorl	%edx, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	8(%r12), %rdi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	(%r13), %cl
	movl	$1, %eax
	shll	%cl, %eax
	xorl	%edx, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	8(%r12), %rdi
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	(%r13), %cl
	shll	%cl, %r15d
	xorl	%edx, %edx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	8(%r12), %rdi
	callq	_input_register_device
	testl	%eax, %eax
	jns	LBB0_21
## %bb.15:
	movl	%eax, %r15d
	movq	8(%r14), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_dev_err
	movl	%r15d, %ebx
	jmp	LBB0_21
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_17:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_23:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_24:
	movl	%eax, %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_PM8607,8,3                ## @CHIP_PM8607
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PM8607_GPADC_PREBIAS_MASK,4,2  ## @PM8607_GPADC_PREBIAS_MASK
	.comm	_PM8607_GPADC_SLOT_CYCLE_MASK,4,2 ## @PM8607_GPADC_SLOT_CYCLE_MASK
	.comm	_PM8607_GPADC_OFF_SCALE_MASK,4,2 ## @PM8607_GPADC_OFF_SCALE_MASK
	.comm	_PM8607_GPADC_SW_CAL_MASK,4,2   ## @PM8607_GPADC_SW_CAL_MASK
	.comm	_PM8607_GPADC_MISC1,4,2         ## @PM8607_GPADC_MISC1
	.comm	_PM8607_TSI_PREBIAS,4,2         ## @PM8607_TSI_PREBIAS
	.comm	_PM8607_PD_PREBIAS_MASK,4,2     ## @PM8607_PD_PREBIAS_MASK
	.comm	_PM8607_PD_PRECHG_MASK,4,2      ## @PM8607_PD_PRECHG_MASK
	.comm	_PM8607_PD_PREBIAS,4,2          ## @PM8607_PD_PREBIAS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to get platform data\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"88pm860x-touch"

L_.str.3:                               ## @.str.3
	.asciz	"88pm860x/input0"

	.comm	_BUS_I2C,4,2                    ## @BUS_I2C
	.comm	_pm860x_touch_open,4,2          ## @pm860x_touch_open
	.comm	_pm860x_touch_close,4,2         ## @pm860x_touch_close
	.comm	_pm860x_touch_handler,4,2       ## @pm860x_touch_handler
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.4:                               ## @.str.4
	.asciz	"touch"

	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_EV_SYN,4,2                     ## @EV_SYN
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ACCURATE_BIT,4,2               ## @ACCURATE_BIT
L_.str.5:                               ## @.str.5
	.asciz	"Failed to register touch!\n"

	.no_dead_strip	_pm860x_touch_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm860x_touch_probe
_pm860x_touch_probe:                    ; @pm860x_touch_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	x20, x0
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x19, x0
	mov	x0, x20
	bl	_dev_get_platdata
	mov	x21, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CHIP_PM8607@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHIP_PM8607@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w10, #16
	mov	w11, #24
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	x22, [x19, x8]
	str	wzr, [sp, #12]
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	tbnz	w0, #31, LBB0_17
; %bb.1:
	mov	x23, x0
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_pm860x_touch_dt_init
	cbz	x0, LBB0_10
; %bb.2:
	cbz	x21, LBB0_16
; %bb.3:
Lloh3:
	adrp	x8, _PM8607_GPADC_PREBIAS_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PM8607_GPADC_PREBIAS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w9, w10, [x21]
	and	w8, w8, w9, lsl #1
Lloh6:
	adrp	x9, _PM8607_GPADC_SLOT_CYCLE_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PM8607_GPADC_SLOT_CYCLE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w9, w9, w10, lsl #3
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _PM8607_GPADC_OFF_SCALE_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PM8607_GPADC_OFF_SCALE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldp	w10, w11, [x21, #8]
	and	w9, w9, w10, lsl #5
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _PM8607_GPADC_SW_CAL_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PM8607_GPADC_SW_CAL_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w9, w9, w11, lsl #7
	orr	w2, w8, w9
	cbz	w2, LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _PM8607_GPADC_MISC1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PM8607_GPADC_MISC1@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_pm860x_reg_write
	tbnz	w0, #31, LBB0_17
LBB0_5:
	ldr	w2, [x21, #16]
	cbz	w2, LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _PM8607_TSI_PREBIAS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PM8607_TSI_PREBIAS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_pm860x_reg_write
	tbnz	w0, #31, LBB0_17
LBB0_7:
Lloh21:
	adrp	x8, _PM8607_PD_PREBIAS_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PM8607_PD_PREBIAS_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldp	w9, w10, [x21, #20]
	and	w8, w8, w9
Lloh24:
	adrp	x9, _PM8607_PD_PRECHG_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PM8607_PD_PRECHG_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w9, w9, w10, lsl #5
	orr	w2, w9, w8
	cbz	w2, LBB0_9
; %bb.8:
Lloh27:
	adrp	x8, _PM8607_PD_PREBIAS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PM8607_PD_PREBIAS@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_pm860x_reg_write
	tbnz	w0, #31, LBB0_17
LBB0_9:
	ldr	w8, [x21, #28]
	str	w8, [sp, #12]
LBB0_10:
Lloh30:
	adrp	x8, _PM8607_GPADC_MISC1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PM8607_GPADC_MISC1@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _PM8607_GPADC_EN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PM8607_GPADC_EN@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x3, x2
	bl	_pm860x_set_bits
	cbnz	w0, LBB0_19
; %bb.11:
Lloh36:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_21
; %bb.12:
	mov	x21, x0
	mov	x0, x20
	bl	_devm_input_allocate_device
	str	x0, [x21, #8]
	cbz	x0, LBB0_20
; %bb.13:
Lloh39:
	adrp	x8, l_.str.2@PAGE
Lloh40:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh41:
	adrp	x9, l_.str.3@PAGE
Lloh42:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x8, x9, [x0]
Lloh43:
	adrp	x8, _BUS_I2C@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BUS_I2C@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	str	w8, [x0, #48]
Lloh46:
	adrp	x8, _pm860x_touch_open@GOTPAGE
Lloh47:
	ldr	x8, [x8, _pm860x_touch_open@GOTPAGEOFF]
	str	x20, [x0, #40]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _pm860x_touch_close@GOTPAGE
Lloh50:
	ldr	x9, [x9, _pm860x_touch_close@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #28]
	stp	x22, x19, [x21, #16]
	str	w23, [x21]
	ldr	w8, [sp, #12]
	str	w8, [x21, #4]
	mov	x1, x21
	bl	_input_set_drvdata
	ldr	w1, [x21]
Lloh52:
	adrp	x8, _pm860x_touch_handler@GOTPAGE
Lloh53:
	ldr	x8, [x8, _pm860x_touch_handler@GOTPAGEOFF]
Lloh54:
	ldr	w3, [x8]
Lloh55:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh57:
	ldr	w4, [x8]
Lloh58:
	adrp	x5, l_.str.4@PAGE
Lloh59:
	add	x5, x5, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_19
; %bb.14:
Lloh60:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh61:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #20]
	bl	___set_bit
Lloh63:
	adrp	x23, _ABS_X@GOTPAGE
Lloh64:
	ldr	x23, [x23, _ABS_X@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #24]
	bl	___set_bit
Lloh65:
	adrp	x22, _ABS_Y@GOTPAGE
Lloh66:
	ldr	x22, [x22, _ABS_Y@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #24]
	bl	___set_bit
Lloh67:
	adrp	x20, _ABS_PRESSURE@GOTPAGE
Lloh68:
	ldr	x20, [x20, _ABS_PRESSURE@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #24]
	bl	___set_bit
Lloh69:
	adrp	x8, _EV_SYN@GOTPAGE
Lloh70:
	ldr	x8, [x8, _EV_SYN@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #20]
	bl	___set_bit
Lloh72:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh73:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #20]
	bl	___set_bit
Lloh75:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh76:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #16]
	bl	___set_bit
	ldr	x0, [x21, #8]
	ldr	w1, [x23]
Lloh78:
	adrp	x23, _ACCURATE_BIT@GOTPAGE
Lloh79:
	ldr	x23, [x23, _ACCURATE_BIT@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	w24, #1
	lsl	w3, w24, w8
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x21, #8]
	ldr	w1, [x22]
	ldr	w8, [x23]
	lsl	w3, w24, w8
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x21, #8]
	ldr	w1, [x20]
	ldr	w8, [x23]
	lsl	w3, w24, w8
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x21, #8]
	bl	_input_register_device
	mov	x20, x0
	mov	w0, #0
	tbz	w20, #31, LBB0_19
; %bb.15:
	ldr	x0, [x19, #8]
Lloh80:
	adrp	x1, l_.str.5@PAGE
Lloh81:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
	mov	x0, x20
	b	LBB0_19
LBB0_16:
Lloh82:
	adrp	x1, l_.str@PAGE
Lloh83:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_17:
Lloh84:
	adrp	x8, _EINVAL@GOTPAGE
Lloh85:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_19:
	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_20:
Lloh86:
	adrp	x1, l_.str.1@PAGE
Lloh87:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_21:
Lloh88:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh88, Lloh89
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_PM8607,8,3                ; @CHIP_PM8607
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PM8607_GPADC_PREBIAS_MASK,4,2  ; @PM8607_GPADC_PREBIAS_MASK
	.comm	_PM8607_GPADC_SLOT_CYCLE_MASK,4,2 ; @PM8607_GPADC_SLOT_CYCLE_MASK
	.comm	_PM8607_GPADC_OFF_SCALE_MASK,4,2 ; @PM8607_GPADC_OFF_SCALE_MASK
	.comm	_PM8607_GPADC_SW_CAL_MASK,4,2   ; @PM8607_GPADC_SW_CAL_MASK
	.comm	_PM8607_GPADC_MISC1,4,2         ; @PM8607_GPADC_MISC1
	.comm	_PM8607_TSI_PREBIAS,4,2         ; @PM8607_TSI_PREBIAS
	.comm	_PM8607_PD_PREBIAS_MASK,4,2     ; @PM8607_PD_PREBIAS_MASK
	.comm	_PM8607_PD_PRECHG_MASK,4,2      ; @PM8607_PD_PRECHG_MASK
	.comm	_PM8607_PD_PREBIAS,4,2          ; @PM8607_PD_PREBIAS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to get platform data\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"88pm860x-touch"

l_.str.3:                               ; @.str.3
	.asciz	"88pm860x/input0"

	.comm	_BUS_I2C,4,2                    ; @BUS_I2C
	.comm	_pm860x_touch_open,4,2          ; @pm860x_touch_open
	.comm	_pm860x_touch_close,4,2         ; @pm860x_touch_close
	.comm	_pm860x_touch_handler,4,2       ; @pm860x_touch_handler
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.4:                               ; @.str.4
	.asciz	"touch"

	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_EV_SYN,4,2                     ; @EV_SYN
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ACCURATE_BIT,4,2               ; @ACCURATE_BIT
l_.str.5:                               ; @.str.5
	.asciz	"Failed to register touch!\n"

	.no_dead_strip	_pm860x_touch_probe
.subsections_via_symbols
