	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elants_i2c_probe
_elants_i2c_probe:                      ## @elants_i2c_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	16(%rdi), %edi
	movq	_I2C_FUNC_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	leaq	68(%rax), %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	addq	$64, %rdi
	callq	_init_completion
	movq	%r14, 56(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 48(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	48(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_40
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_39
LBB0_1:
	movq	_DEVICE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_21:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_40
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_40
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 40(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	40(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_40
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
LBB0_39:
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_40:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 32(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	movq	32(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_40
## %bb.12:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_15
## %bb.13:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_14
LBB0_15:
	movl	$1, (%r15)
LBB0_16:
	movq	%r15, %rdi
	callq	_elants_i2c_power_on
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_40
## %bb.17:
	movq	_elants_i2c_power_off@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devm_add_action
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r15, %rdi
	callq	_elants_i2c_power_off
	jmp	LBB0_40
LBB0_19:
	movl	12(%r14), %esi
	movl	16(%r14), %edi
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_I2C_SMBUS_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-40(%rbp), %rax
	movq	%rax, (%rsp)
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_i2c_smbus_xfer
	testq	%rax, %rax
	js	LBB0_20
## %bb.22:
	movq	%r15, %rdi
	callq	_elants_i2c_initialize
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_39
LBB0_14:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_39
LBB0_20:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_21
LBB0_24:
	movq	%r14, %rdi
	callq	_devm_input_allocate_device
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	leaq	L_.str.11(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_BUS_I2C@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	12(%rax), %esi
	callq	___set_bit
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rax
	movl	8(%rax), %esi
	callq	___set_bit
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rax
	movl	8(%rax), %esi
	callq	___set_bit
	movq	16(%r15), %rdi
	movq	_ABS_X@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	4(%r15), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	16(%r15), %rdi
	movq	_ABS_Y@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	8(%r15), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	16(%r15), %rdi
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	$255, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	16(%r15), %rdi
	movl	(%r12), %esi
	movl	28(%r15), %edx
	callq	_input_abs_set_res
	movq	16(%r15), %rdi
	movl	(%rbx), %esi
	movl	24(%r15), %edx
	callq	_input_abs_set_res
	movq	16(%r15), %rdi
	movq	_MAX_CONTACT_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INPUT_MT_DIRECT@GOTPCREL(%rip), %rax
	movq	_INPUT_MT_DROP_UNUSED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_input_mt_init_slots
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	movl	%eax, %ebx
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_39
LBB0_25:
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_40
LBB0_28:
	movq	16(%r15), %rdi
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	4(%r15), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	16(%r15), %rdi
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	8(%r15), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	16(%r15), %rdi
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	$255, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	16(%r15), %rdi
	movq	_ABS_MT_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	$255, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	16(%r15), %rdi
	movl	(%r12), %esi
	movl	28(%r15), %edx
	callq	_input_abs_set_res
	movq	16(%r15), %rdi
	movl	(%rbx), %esi
	movl	24(%r15), %edx
	callq	_input_abs_set_res
	movq	16(%r15), %rdi
	callq	_input_register_device
	testl	%eax, %eax
	je	LBB0_30
## %bb.29:
	movl	%eax, %ebx
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_39
LBB0_30:
	movl	8(%r14), %edi
	callq	_irq_get_trigger_type
	testq	%rax, %rax
	jne	LBB0_32
## %bb.31:
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_32:
	movl	4(%r14), %r9d
	movl	8(%r14), %esi
	movq	_elants_i2c_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rax
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%rax, %r8
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_34
## %bb.33:
	movl	%eax, %ebx
	leaq	L_.str.14(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_40
LBB0_34:
	cmpl	$0, (%r14)
	jne	LBB0_36
## %bb.35:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_device_init_wakeup
LBB0_36:
	movq	_elants_attribute_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_device_add_group
	testl	%eax, %eax
	je	LBB0_37
## %bb.38:
	movl	%eax, %ebx
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_39
LBB0_37:
	xorl	%ebx, %ebx
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_I2C,4,2               ## @I2C_FUNC_I2C
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: i2c check functionality error\n"

	.comm	_DEVICE_NAME,4,2                ## @DEVICE_NAME
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"vcc33"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.2:                               ## @.str.2
	.asciz	"Failed to get 'vcc33' regulator: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"vccio"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to get 'vccio' regulator: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ENOSYS,4,2                     ## @ENOSYS
L_.str.6:                               ## @.str.6
	.asciz	"failed to get reset gpio: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"failed to install power off action: %d\n"

	.comm	_I2C_SMBUS_READ,4,2             ## @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BYTE,4,2             ## @I2C_SMBUS_BYTE
L_.str.8:                               ## @.str.8
	.asciz	"nothing at this address\n"

L_.str.9:                               ## @.str.9
	.asciz	"failed to initialize: %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to allocate input device\n"

L_.str.11:                              ## @.str.11
	.asciz	"Elan Touchscreen"

	.comm	_BUS_I2C,4,2                    ## @BUS_I2C
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_MAX_CONTACT_NUM,4,2            ## @MAX_CONTACT_NUM
	.comm	_INPUT_MT_DIRECT,4,2            ## @INPUT_MT_DIRECT
	.comm	_INPUT_MT_DROP_UNUSED,4,2       ## @INPUT_MT_DROP_UNUSED
L_.str.12:                              ## @.str.12
	.asciz	"failed to initialize MT slots: %d\n"

	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_PRESSURE,4,2            ## @ABS_MT_PRESSURE
L_.str.13:                              ## @.str.13
	.asciz	"unable to register input device: %d\n"

	.comm	_IRQF_TRIGGER_FALLING,8,3       ## @IRQF_TRIGGER_FALLING
	.comm	_elants_i2c_irq,4,2             ## @elants_i2c_irq
	.comm	_IRQF_ONESHOT,8,3               ## @IRQF_ONESHOT
L_.str.14:                              ## @.str.14
	.asciz	"Failed to register interrupt\n"

	.comm	_elants_attribute_group,4,2     ## @elants_attribute_group
L_.str.15:                              ## @.str.15
	.asciz	"failed to create sysfs attributes: %d\n"

	.no_dead_strip	_elants_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elants_i2c_probe
_elants_i2c_probe:                      ; @elants_i2c_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x8, _I2C_FUNC_I2C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_I2C@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_30
; %bb.2:
	mov	x20, x0
	add	x0, x0, #68
	bl	_mutex_init
	add	x0, x20, #64
	bl	_init_completion
	str	x19, [x20, #56]
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	x0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x0, [x20, #48]
	bl	_PTR_ERR
	mov	x21, x0
Lloh8:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_32
; %bb.4:
	str	x21, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_5:
Lloh13:
	adrp	x8, _DEVICE_NAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DEVICE_NAME@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_dev_err
Lloh18:
	adrp	x8, _ENXIO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_31
LBB0_7:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	x0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.8:
	ldr	x0, [x20, #40]
	bl	_PTR_ERR
	mov	x21, x0
Lloh22:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_32
; %bb.9:
	mov	x8, x21
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_32
LBB0_11:
Lloh27:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.12:
	ldr	x0, [x20, #32]
	bl	_PTR_ERR
	mov	x21, x0
Lloh32:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_32
; %bb.13:
Lloh35:
	adrp	x8, _ENOENT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmn	w21, w8
	b.eq	LBB0_15
; %bb.14:
Lloh38:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmn	w21, w8
	b.ne	LBB0_24
LBB0_15:
	mov	w8, #1
	str	w8, [x20]
LBB0_16:
	mov	x0, x20
	bl	_elants_i2c_power_on
	mov	x21, x0
	cbnz	w0, LBB0_32
; %bb.17:
Lloh41:
	adrp	x1, _elants_i2c_power_off@GOTPAGE
Lloh42:
	ldr	x1, [x1, _elants_i2c_power_off@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_add_action
	cbz	w0, LBB0_19
; %bb.18:
	mov	x21, x0
	str	x21, [sp]
Lloh43:
	adrp	x1, l_.str.7@PAGE
Lloh44:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	bl	_elants_i2c_power_off
	b	LBB0_23
LBB0_19:
	ldp	w1, w0, [x19, #12]
Lloh45:
	adrp	x8, _I2C_SMBUS_READ@GOTPAGE
Lloh46:
	ldr	x8, [x8, _I2C_SMBUS_READ@GOTPAGEOFF]
Lloh47:
	ldr	w3, [x8]
Lloh48:
	adrp	x8, _I2C_SMBUS_BYTE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _I2C_SMBUS_BYTE@GOTPAGEOFF]
Lloh50:
	ldr	w5, [x8]
	add	x6, sp, #8
	mov	w2, #0
	mov	w4, #0
	bl	_i2c_smbus_xfer
	tbnz	x0, #63, LBB0_25
; %bb.20:
	mov	x0, x20
	bl	_elants_i2c_initialize
	cbz	w0, LBB0_26
; %bb.21:
	mov	x21, x0
	str	x21, [sp]
Lloh51:
	adrp	x1, l_.str.9@PAGE
Lloh52:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_22:
	mov	x0, x19
	bl	_dev_err
LBB0_23:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_32
LBB0_24:
	mov	x8, x21
	str	x8, [sp]
Lloh53:
	adrp	x1, l_.str.6@PAGE
Lloh54:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_10
LBB0_25:
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_6
LBB0_26:
	mov	x0, x19
	bl	_devm_input_allocate_device
	str	x0, [x20, #16]
	cbz	x0, LBB0_29
; %bb.27:
Lloh57:
	adrp	x8, l_.str.11@PAGE
Lloh58:
	add	x8, x8, l_.str.11@PAGEOFF
	str	x8, [x0]
Lloh59:
	adrp	x8, _BUS_I2C@GOTPAGE
Lloh60:
	ldr	x8, [x8, _BUS_I2C@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	str	w8, [x0, #16]
Lloh62:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh63:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	ldr	w1, [x0, #12]
	mov	x0, x8
	bl	___set_bit
Lloh65:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh66:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	ldr	x8, [x20, #16]
	ldr	w1, [x8, #8]
	bl	___set_bit
Lloh68:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh69:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	ldr	x8, [x20, #16]
	ldr	w1, [x8, #8]
	bl	___set_bit
	ldr	x0, [x20, #16]
Lloh71:
	adrp	x21, _ABS_X@GOTPAGE
Lloh72:
	ldr	x21, [x21, _ABS_X@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w3, [x20, #4]
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20, #16]
Lloh73:
	adrp	x22, _ABS_Y@GOTPAGE
Lloh74:
	ldr	x22, [x22, _ABS_Y@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w3, [x20, #8]
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20, #16]
Lloh75:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #255
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20, #16]
	ldr	w1, [x21]
	ldr	w2, [x20, #28]
	bl	_input_abs_set_res
	ldr	x0, [x20, #16]
	ldr	w1, [x22]
	ldr	w2, [x20, #24]
	bl	_input_abs_set_res
	ldr	x0, [x20, #16]
Lloh78:
	adrp	x8, _MAX_CONTACT_NUM@GOTPAGE
Lloh79:
	ldr	x8, [x8, _MAX_CONTACT_NUM@GOTPAGEOFF]
Lloh80:
	adrp	x9, _INPUT_MT_DIRECT@GOTPAGE
Lloh81:
	ldr	x9, [x9, _INPUT_MT_DIRECT@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
Lloh83:
	ldr	w8, [x9]
Lloh84:
	adrp	x9, _INPUT_MT_DROP_UNUSED@GOTPAGE
Lloh85:
	ldr	x9, [x9, _INPUT_MT_DROP_UNUSED@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_input_mt_init_slots
	cbz	w0, LBB0_33
; %bb.28:
	mov	x21, x0
	str	x21, [sp]
Lloh87:
	adrp	x1, l_.str.12@PAGE
Lloh88:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_22
LBB0_29:
Lloh89:
	adrp	x1, l_.str.10@PAGE
Lloh90:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_30:
Lloh91:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh92:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_31:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_32:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_33:
	ldr	x0, [x20, #16]
Lloh93:
	adrp	x21, _ABS_MT_POSITION_X@GOTPAGE
Lloh94:
	ldr	x21, [x21, _ABS_MT_POSITION_X@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w3, [x20, #4]
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20, #16]
Lloh95:
	adrp	x22, _ABS_MT_POSITION_Y@GOTPAGE
Lloh96:
	ldr	x22, [x22, _ABS_MT_POSITION_Y@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w3, [x20, #8]
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20, #16]
Lloh97:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh98:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh99:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #255
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20, #16]
Lloh100:
	adrp	x8, _ABS_MT_PRESSURE@GOTPAGE
Lloh101:
	ldr	x8, [x8, _ABS_MT_PRESSURE@GOTPAGEOFF]
Lloh102:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #255
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20, #16]
	ldr	w1, [x21]
	ldr	w2, [x20, #28]
	bl	_input_abs_set_res
	ldr	x0, [x20, #16]
	ldr	w1, [x22]
	ldr	w2, [x20, #24]
	bl	_input_abs_set_res
	ldr	x0, [x20, #16]
	bl	_input_register_device
	cbz	w0, LBB0_35
; %bb.34:
	mov	x21, x0
	str	x21, [sp]
Lloh103:
	adrp	x1, l_.str.13@PAGE
Lloh104:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_22
LBB0_35:
	ldr	w0, [x19, #8]
	bl	_irq_get_trigger_type
Lloh105:
	adrp	x8, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh106:
	ldr	x8, [x8, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh107:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x8, x8, x0, eq
Lloh108:
	adrp	x9, _elants_i2c_irq@GOTPAGE
Lloh109:
	ldr	x9, [x9, _elants_i2c_irq@GOTPAGEOFF]
Lloh110:
	ldr	w3, [x9]
Lloh111:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh112:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh113:
	ldr	x9, [x9]
	orr	x4, x9, x8
	ldp	w5, w1, [x19, #4]
	mov	x0, x19
	mov	x2, #0
	mov	x6, x20
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_37
; %bb.36:
	mov	x21, x0
Lloh114:
	adrp	x1, l_.str.14@PAGE
Lloh115:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_10
LBB0_37:
	ldr	w8, [x19]
	cbnz	w8, LBB0_39
; %bb.38:
	mov	x0, x19
	mov	w1, #1
	bl	_device_init_wakeup
LBB0_39:
Lloh116:
	adrp	x1, _elants_attribute_group@GOTPAGE
Lloh117:
	ldr	x1, [x1, _elants_attribute_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_device_add_group
	mov	x21, x0
	cbz	w0, LBB0_32
; %bb.40:
	str	x21, [sp]
Lloh118:
	adrp	x1, l_.str.15@PAGE
Lloh119:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh82
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpAdd	Lloh118, Lloh119
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_I2C,4,2               ; @I2C_FUNC_I2C
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: i2c check functionality error\n"

	.comm	_DEVICE_NAME,4,2                ; @DEVICE_NAME
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"vcc33"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.2:                               ; @.str.2
	.asciz	"Failed to get 'vcc33' regulator: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"vccio"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to get 'vccio' regulator: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ENOSYS,4,2                     ; @ENOSYS
l_.str.6:                               ; @.str.6
	.asciz	"failed to get reset gpio: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"failed to install power off action: %d\n"

	.comm	_I2C_SMBUS_READ,4,2             ; @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BYTE,4,2             ; @I2C_SMBUS_BYTE
l_.str.8:                               ; @.str.8
	.asciz	"nothing at this address\n"

l_.str.9:                               ; @.str.9
	.asciz	"failed to initialize: %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to allocate input device\n"

l_.str.11:                              ; @.str.11
	.asciz	"Elan Touchscreen"

	.comm	_BUS_I2C,4,2                    ; @BUS_I2C
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_MAX_CONTACT_NUM,4,2            ; @MAX_CONTACT_NUM
	.comm	_INPUT_MT_DIRECT,4,2            ; @INPUT_MT_DIRECT
	.comm	_INPUT_MT_DROP_UNUSED,4,2       ; @INPUT_MT_DROP_UNUSED
l_.str.12:                              ; @.str.12
	.asciz	"failed to initialize MT slots: %d\n"

	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_PRESSURE,4,2            ; @ABS_MT_PRESSURE
l_.str.13:                              ; @.str.13
	.asciz	"unable to register input device: %d\n"

	.comm	_IRQF_TRIGGER_FALLING,8,3       ; @IRQF_TRIGGER_FALLING
	.comm	_elants_i2c_irq,4,2             ; @elants_i2c_irq
	.comm	_IRQF_ONESHOT,8,3               ; @IRQF_ONESHOT
l_.str.14:                              ; @.str.14
	.asciz	"Failed to register interrupt\n"

	.comm	_elants_attribute_group,4,2     ; @elants_attribute_group
l_.str.15:                              ; @.str.15
	.asciz	"failed to create sysfs attributes: %d\n"

	.no_dead_strip	_elants_i2c_probe
.subsections_via_symbols
