	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm831x_ts_probe
_wm831x_ts_probe:                       ## @wm831x_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, %r14
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movl	(%r14), %edi
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %r15
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_devm_input_allocate_device
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r12, 40(%r13)
	movq	%rbx, 32(%r13)
	movq	%r13, %rdi
	addq	$24, %rdi
	movq	_wm831x_pd_data_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_wm831x_irq
	movq	%rax, 8(%r13)
	testq	%r15, %r15
	je	LBB0_9
## %bb.7:
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, 8(%r13)
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_wm831x_irq
	movq	%rax, 16(%r13)
	testq	%r15, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_25
## %bb.10:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, 16(%r13)
LBB0_12:
	movl	(%r15), %eax
	movl	%eax, (%r13)
	cmpq	$0, 16(%r15)
	movq	_WM831X_TOUCH_CONTROL_2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_WM831X_TCH_5WIRE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	je	LBB0_17
## %bb.13:
	movl	%edx, %ecx
	callq	_wm831x_set_bits
	cmpl	$0, (%r15)
	je	LBB0_14
## %bb.15:
	xorl	%edi, %edi
	cmpq	$0, 16(%r15)
	setne	%dil
	jmp	LBB0_16
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_40
LBB0_25:
	movl	$1, (%r13)
	movq	_WM831X_TOUCH_CONTROL_2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_WM831X_TCH_5WIRE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_wm831x_set_bits
	movl	(%rbx), %esi
	movq	_WM831X_TCH_PDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_wm831x_set_bits
	movq	_WM831X_TOUCH_CONTROL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM831X_TCH_RATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$6, %ecx
	callq	_wm831x_set_bits
	jmp	LBB0_26
LBB0_17:
	xorl	%ecx, %ecx
	callq	_wm831x_set_bits
	jmp	LBB0_18
LBB0_14:
	xorl	%edi, %edi
LBB0_16:
	callq	_WARN_ON
	movl	$0, (%r13)
LBB0_18:
	movl	4(%r15), %edx
	testl	%edx, %edx
	je	LBB0_22
## %bb.19:
	cmpl	$200, %edx
	je	LBB0_22
## %bb.20:
	cmpl	$400, %edx                      ## imm = 0x190
	jne	LBB0_21
## %bb.23:
	movl	(%rbx), %esi
	movq	_WM831X_TCH_ISEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%ecx, %edx
	jmp	LBB0_24
LBB0_21:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_22:
	movl	(%rbx), %esi
	movq	_WM831X_TCH_ISEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
LBB0_24:
	callq	_wm831x_set_bits
	movl	(%rbx), %esi
	movq	_WM831X_TCH_PDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_wm831x_set_bits
	movq	_WM831X_TOUCH_CONTROL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM831X_TCH_RATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$6, %ecx
	callq	_wm831x_set_bits
	movl	8(%r15), %ecx
	testl	%ecx, %ecx
	jne	LBB0_27
LBB0_26:
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_27:
	movq	8(%r13), %rdi
	movq	_wm831x_ts_data_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %r12
	orl	(%r12), %ecx
	leaq	L_.str.3(%rip), %r8
	xorl	%esi, %esi
	movq	%r13, %r9
	callq	_request_threaded_irq
	movq	8(%r13), %rdx
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_40
LBB0_29:
	movq	%rdx, %rdi
	callq	_disable_irq
	testq	%r15, %r15
	je	LBB0_31
## %bb.30:
	movl	12(%r15), %ecx
	testl	%ecx, %ecx
	jne	LBB0_32
LBB0_31:
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_32:
	movq	16(%r13), %rdi
	movq	_wm831x_ts_pen_down_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r12), %ecx
	leaq	L_.str.5(%rip), %r8
	xorl	%esi, %esi
	movq	%r13, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_34
## %bb.33:
	movl	%eax, %ebx
	movl	16(%r13), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_39
LBB0_34:
	leaq	L_.str.7(%rip), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
	leaq	L_.str.8(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_wm831x_ts_input_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_wm831x_ts_input_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	28(%rbx), %esi
	callq	___set_bit
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	28(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%rbx), %esi
	callq	___set_bit
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$4095, %ecx                     ## imm = 0xFFF
	movl	$5, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$4095, %ecx                     ## imm = 0xFFF
	movl	$5, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	cmpl	$0, (%r13)
	je	LBB0_36
## %bb.35:
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$4095, %ecx                     ## imm = 0xFFF
	movl	$5, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
LBB0_36:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_input_set_drvdata
	movq	%r14, 16(%rbx)
	movq	%rbx, %rdi
	callq	_input_register_device
	testl	%eax, %eax
	je	LBB0_37
## %bb.38:
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	movq	%r13, %rsi
	callq	_free_irq
LBB0_39:
	movq	8(%r13), %rdi
	movq	%r13, %rsi
	callq	_free_irq
LBB0_40:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_platform_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_wm831x_pd_data_work,4,2        ## @wm831x_pd_data_work
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TCHDATA"

L_.str.1:                               ## @.str.1
	.asciz	"TCHPD"

	.comm	_WM831X_TOUCH_CONTROL_2,4,2     ## @WM831X_TOUCH_CONTROL_2
	.comm	_WM831X_TCH_5WIRE,4,2           ## @WM831X_TCH_5WIRE
L_.str.2:                               ## @.str.2
	.asciz	"Unsupported ISEL setting: %d\n"

	.comm	_WM831X_TCH_ISEL,4,2            ## @WM831X_TCH_ISEL
	.comm	_WM831X_TCH_PDONLY,4,2          ## @WM831X_TCH_PDONLY
	.comm	_WM831X_TOUCH_CONTROL_1,4,2     ## @WM831X_TOUCH_CONTROL_1
	.comm	_WM831X_TCH_RATE_MASK,4,2       ## @WM831X_TCH_RATE_MASK
	.comm	_IRQF_TRIGGER_HIGH,4,2          ## @IRQF_TRIGGER_HIGH
	.comm	_wm831x_ts_data_irq,4,2         ## @wm831x_ts_data_irq
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.3:                               ## @.str.3
	.asciz	"Touchscreen data"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to request data IRQ %d: %d\n"

	.comm	_wm831x_ts_pen_down_irq,4,2     ## @wm831x_ts_pen_down_irq
L_.str.5:                               ## @.str.5
	.asciz	"Touchscreen pen down"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to request pen down IRQ %d: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"WM831x touchscreen"

L_.str.8:                               ## @.str.8
	.asciz	"wm831x"

	.comm	_wm831x_ts_input_open,4,2       ## @wm831x_ts_input_open
	.comm	_wm831x_ts_input_close,4,2      ## @wm831x_ts_input_close
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.no_dead_strip	_wm831x_ts_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm831x_ts_probe
_wm831x_ts_probe:                       ; @wm831x_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	x19, x0
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x22, x0
	ldr	w0, [x19]
	bl	_dev_get_platdata
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x23, [x0]
	b	LBB0_3
LBB0_2:
	mov	x23, #0
LBB0_3:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	mov	x20, x0
	mov	x0, x19
	bl	_devm_input_allocate_device
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_37
LBB0_5:
	mov	x21, x0
	stp	x0, x22, [x20, #32]
	add	x0, x20, #24
Lloh6:
	adrp	x8, _wm831x_pd_data_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wm831x_pd_data_work@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	mov	x1, x0
	mov	x0, x22
	bl	_wm831x_irq
	str	x0, [x20, #8]
	cbz	x23, LBB0_8
; %bb.6:
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_8
; %bb.7:
	str	x8, [x20, #8]
LBB0_8:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	mov	x1, x0
	mov	x0, x22
	bl	_wm831x_irq
	str	x0, [x20, #16]
	cbz	x23, LBB0_14
; %bb.9:
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_11
; %bb.10:
	str	x8, [x20, #16]
LBB0_11:
	ldr	w8, [x23]
	str	w8, [x20]
	ldr	x8, [x23, #16]
Lloh13:
	adrp	x24, _WM831X_TOUCH_CONTROL_2@GOTPAGE
Lloh14:
	ldr	x24, [x24, _WM831X_TOUCH_CONTROL_2@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh15:
	adrp	x9, _WM831X_TCH_5WIRE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WM831X_TCH_5WIRE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x9]
	mov	x0, x22
	cbz	x8, LBB0_15
; %bb.12:
	mov	x3, x2
	bl	_wm831x_set_bits
	ldr	w8, [x23]
	cbz	w8, LBB0_16
; %bb.13:
	ldr	x8, [x23, #16]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_17
LBB0_14:
	mov	w8, #1
	str	w8, [x20]
Lloh18:
	adrp	x24, _WM831X_TOUCH_CONTROL_2@GOTPAGE
Lloh19:
	ldr	x24, [x24, _WM831X_TOUCH_CONTROL_2@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh20:
	adrp	x8, _WM831X_TCH_5WIRE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WM831X_TCH_5WIRE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #0
	bl	_wm831x_set_bits
	ldr	w1, [x24]
Lloh23:
	adrp	x8, _WM831X_TCH_PDONLY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WM831X_TCH_PDONLY@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #0
	bl	_wm831x_set_bits
Lloh26:
	adrp	x8, _WM831X_TOUCH_CONTROL_1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WM831X_TOUCH_CONTROL_1@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _WM831X_TCH_RATE_MASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WM831X_TCH_RATE_MASK@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #6
	bl	_wm831x_set_bits
	b	LBB0_24
LBB0_15:
	mov	w3, #0
	bl	_wm831x_set_bits
	ldr	w2, [x23, #4]
	cbnz	w2, LBB0_18
	b	LBB0_22
LBB0_16:
	mov	w0, #0
LBB0_17:
	bl	_WARN_ON
	str	wzr, [x20]
	ldr	w2, [x23, #4]
	cbz	w2, LBB0_22
LBB0_18:
	cmp	w2, #200
	b.eq	LBB0_22
; %bb.19:
	cmp	w2, #400
	b.ne	LBB0_21
; %bb.20:
	ldr	w1, [x24]
Lloh32:
	adrp	x8, _WM831X_TCH_ISEL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _WM831X_TCH_ISEL@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x3, x2
	b	LBB0_23
LBB0_21:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_22:
	ldr	w1, [x24]
Lloh37:
	adrp	x8, _WM831X_TCH_ISEL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _WM831X_TCH_ISEL@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #0
LBB0_23:
	bl	_wm831x_set_bits
	ldr	w1, [x24]
Lloh40:
	adrp	x8, _WM831X_TCH_PDONLY@GOTPAGE
Lloh41:
	ldr	x8, [x8, _WM831X_TCH_PDONLY@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #0
	bl	_wm831x_set_bits
Lloh43:
	adrp	x8, _WM831X_TOUCH_CONTROL_1@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WM831X_TOUCH_CONTROL_1@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
Lloh46:
	adrp	x8, _WM831X_TCH_RATE_MASK@GOTPAGE
Lloh47:
	ldr	x8, [x8, _WM831X_TCH_RATE_MASK@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #6
	bl	_wm831x_set_bits
	ldr	w8, [x23, #8]
	cbnz	w8, LBB0_25
LBB0_24:
Lloh49:
	adrp	x8, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
LBB0_25:
Lloh52:
	adrp	x9, _wm831x_ts_data_irq@GOTPAGE
Lloh53:
	ldr	x9, [x9, _wm831x_ts_data_irq@GOTPAGEOFF]
	ldr	x0, [x20, #8]
Lloh54:
	ldr	w2, [x9]
Lloh55:
	adrp	x24, _IRQF_ONESHOT@GOTPAGE
Lloh56:
	ldr	x24, [x24, _IRQF_ONESHOT@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w3, w9, w8
Lloh57:
	adrp	x4, l_.str.3@PAGE
Lloh58:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x1, #0
	mov	x5, x20
	bl	_request_threaded_irq
	ldr	x2, [x20, #8]
	cbz	w0, LBB0_27
; %bb.26:
	mov	x22, x0
	str	x22, [sp]
Lloh59:
	adrp	x1, l_.str.4@PAGE
Lloh60:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_err
	b	LBB0_37
LBB0_27:
	mov	x0, x2
	bl	_disable_irq
	cbz	x23, LBB0_29
; %bb.28:
	ldr	w8, [x23, #12]
	cbnz	w8, LBB0_30
LBB0_29:
Lloh61:
	adrp	x8, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh62:
	ldr	x8, [x8, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
LBB0_30:
	ldr	x0, [x20, #16]
Lloh64:
	adrp	x9, _wm831x_ts_pen_down_irq@GOTPAGE
Lloh65:
	ldr	x9, [x9, _wm831x_ts_pen_down_irq@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x9]
	ldr	w9, [x24]
	orr	w3, w9, w8
Lloh67:
	adrp	x4, l_.str.5@PAGE
Lloh68:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x1, #0
	mov	x5, x20
	bl	_request_threaded_irq
	cbz	w0, LBB0_32
; %bb.31:
	mov	x22, x0
	ldr	w2, [x20, #16]
	str	x22, [sp]
Lloh69:
	adrp	x1, l_.str.6@PAGE
Lloh70:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_36
LBB0_32:
Lloh71:
	adrp	x8, l_.str.7@PAGE
Lloh72:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh73:
	adrp	x9, l_.str.8@PAGE
Lloh74:
	add	x9, x9, l_.str.8@PAGEOFF
	stp	x8, x9, [x21]
Lloh75:
	adrp	x8, _wm831x_ts_input_open@GOTPAGE
Lloh76:
	ldr	x8, [x8, _wm831x_ts_input_open@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _wm831x_ts_input_close@GOTPAGE
Lloh79:
	ldr	x9, [x9, _wm831x_ts_input_close@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #32]
Lloh81:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh82:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	ldr	w1, [x21, #28]
	bl	___set_bit
Lloh84:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh85:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	ldr	w1, [x21, #28]
	bl	___set_bit
Lloh87:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh88:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
	ldr	w1, [x21, #24]
	bl	___set_bit
Lloh90:
	adrp	x8, _ABS_X@GOTPAGE
Lloh91:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #4095
	mov	w4, #5
	mov	w5, #0
	bl	_input_set_abs_params
Lloh93:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #4095
	mov	w4, #5
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	w8, [x20]
	cbz	w8, LBB0_34
; %bb.33:
Lloh96:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh97:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #4095
	mov	w4, #5
	mov	w5, #0
	bl	_input_set_abs_params
LBB0_34:
	mov	x0, x21
	mov	x1, x20
	bl	_input_set_drvdata
	str	x19, [x21, #16]
	mov	x0, x21
	bl	_input_register_device
	mov	x22, x0
	cbz	w0, LBB0_38
; %bb.35:
	ldr	x0, [x20, #16]
	mov	x1, x20
	bl	_free_irq
LBB0_36:
	ldr	x0, [x20, #8]
	mov	x1, x20
	bl	_free_irq
LBB0_37:
	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
	ret
LBB0_38:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	b	LBB0_37
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_wm831x_pd_data_work,4,2        ; @wm831x_pd_data_work
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TCHDATA"

l_.str.1:                               ; @.str.1
	.asciz	"TCHPD"

	.comm	_WM831X_TOUCH_CONTROL_2,4,2     ; @WM831X_TOUCH_CONTROL_2
	.comm	_WM831X_TCH_5WIRE,4,2           ; @WM831X_TCH_5WIRE
l_.str.2:                               ; @.str.2
	.asciz	"Unsupported ISEL setting: %d\n"

	.comm	_WM831X_TCH_ISEL,4,2            ; @WM831X_TCH_ISEL
	.comm	_WM831X_TCH_PDONLY,4,2          ; @WM831X_TCH_PDONLY
	.comm	_WM831X_TOUCH_CONTROL_1,4,2     ; @WM831X_TOUCH_CONTROL_1
	.comm	_WM831X_TCH_RATE_MASK,4,2       ; @WM831X_TCH_RATE_MASK
	.comm	_IRQF_TRIGGER_HIGH,4,2          ; @IRQF_TRIGGER_HIGH
	.comm	_wm831x_ts_data_irq,4,2         ; @wm831x_ts_data_irq
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.3:                               ; @.str.3
	.asciz	"Touchscreen data"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to request data IRQ %d: %d\n"

	.comm	_wm831x_ts_pen_down_irq,4,2     ; @wm831x_ts_pen_down_irq
l_.str.5:                               ; @.str.5
	.asciz	"Touchscreen pen down"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to request pen down IRQ %d: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"WM831x touchscreen"

l_.str.8:                               ; @.str.8
	.asciz	"wm831x"

	.comm	_wm831x_ts_input_open,4,2       ; @wm831x_ts_input_open
	.comm	_wm831x_ts_input_close,4,2      ; @wm831x_ts_input_close
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.no_dead_strip	_wm831x_ts_probe
.subsections_via_symbols
