	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cap11xx_i2c_probe
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
LCPI0_2:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
LCPI0_3:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cap11xx_i2c_probe:                     ## @cap11xx_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	(%rsi), %r15
	movq	_cap11xx_devices@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r15
	jae	LBB0_6
## %bb.1:
	movq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_7
## %bb.2:
	movq	(%rbx), %rax
	leaq	(%rax,%rax,2), %r12
	movl	(%r15,%r12,4), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.3:
	movq	_keycodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_struct_size
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_59
## %bb.4:
	movq	%rax, %r14
	movq	_cap11xx_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	16(%r14), %edi
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_CAP11XX_REG_PRODUCT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.12:
	movl	-44(%rbp), %edx
	movl	4(%r15,%r12,4), %ecx
	cmpl	%ecx, %edx
	jne	LBB0_20
## %bb.13:
	movl	16(%r14), %edi
	movq	_CAP11XX_REG_MANUFACTURER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.14:
	movl	-44(%rbp), %edx
	movq	_CAP11XX_MANUFACTURER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %edx
	jne	LBB0_23
## %bb.15:
	movl	16(%r14), %edi
	movq	_CAP11XX_REG_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_58
## %bb.16:
	movl	-72(%rbp), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_info
	movq	(%r13), %rbx
	leaq	L_.str.5(%rip), %rsi
	leaq	-68(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_u32
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	jne	LBB0_25
## %bb.17:
	movl	-68(%rbp), %edi
	callq	_is_power_of_2
	movl	-68(%rbp), %edx
	testq	%rax, %rax
	je	LBB0_24
## %bb.18:
	cmpl	$8, %edx
	jg	LBB0_24
## %bb.19:
	movl	%edx, %edi
	callq	_ilog2
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_25
LBB0_20:
	leaq	L_.str.2(%rip), %rsi
LBB0_21:
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_22:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_23:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_21
LBB0_24:
	leaq	L_.str.6(%rip), %rsi
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_25:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movl	16(%r14), %edi
	movq	_CAP11XX_REG_CONFIG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAP11XX_REG_CONFIG2_ALT_POL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
LBB0_27:
	leaq	(%r15,%r12,4), %r9
	movl	(%r9), %ecx
	movq	8(%r14), %rdx
	testl	%ecx, %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_46
## %bb.28:
	cmpl	$4, %ecx
	jb	LBB0_29
## %bb.30:
	movq	_KEY_A@GOTPCREL(%rip), %r8
	leaq	8(%r8), %rax
	cmpq	%rax, %rdx
	jae	LBB0_33
## %bb.31:
	leaq	(%rdx,%rcx,8), %rax
	cmpq	_KEY_A@GOTPCREL(%rip), %rax
	jbe	LBB0_33
LBB0_29:
	xorl	%eax, %eax
LBB0_40:
	movq	%rax, %r8
	notq	%r8
	addq	%rcx, %r8
	movq	%rcx, %rdi
	andq	$3, %rdi
	je	LBB0_43
## %bb.41:
	movq	_KEY_A@GOTPCREL(%rip), %rbx
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	addq	%rax, %rsi
	movq	%rsi, (%rdx,%rax,8)
	incq	%rax
	decq	%rdi
	jne	LBB0_42
LBB0_43:
	cmpq	$3, %r8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jb	LBB0_46
## %bb.44:
	movq	_KEY_A@GOTPCREL(%rip), %rsi
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rbx
	addq	%rax, %rbx
	movq	%rbx, (%rdx,%rax,8)
	movq	(%rsi), %rbx
	addq	%rax, %rbx
	incq	%rbx
	movq	%rbx, 8(%rdx,%rax,8)
	movq	(%rsi), %rbx
	leaq	2(%rax,%rbx), %rbx
	movq	%rbx, 16(%rdx,%rax,8)
	movq	(%rsi), %rbx
	addq	%rax, %rbx
	addq	$3, %rbx
	movq	%rbx, 24(%rdx,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	LBB0_45
	jmp	LBB0_46
LBB0_33:
	movl	%ecx, %eax
	andl	$-4, %eax
	leaq	-4(%rax), %rdi
	movq	%rdi, %rsi
	shrq	$2, %rsi
	incq	%rsi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.34:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,0,1]
	paddq	LCPI0_1(%rip), %xmm0
	pshufd	$68, %xmm0, %xmm2               ## xmm2 = xmm0[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%ebx, %ebx
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [4,4]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [8,8]
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm5
	paddq	%xmm0, %xmm5
	movdqa	%xmm2, %xmm6
	paddq	%xmm0, %xmm6
	movdqu	%xmm5, (%rdx,%rbx,8)
	movdqu	%xmm6, 16(%rdx,%rbx,8)
	movdqa	%xmm0, %xmm5
	paddq	%xmm3, %xmm5
	movdqa	%xmm1, %xmm6
	paddq	%xmm5, %xmm6
	paddq	%xmm2, %xmm5
	movdqu	%xmm6, 32(%rdx,%rbx,8)
	movdqu	%xmm5, 48(%rdx,%rbx,8)
	addq	$8, %rbx
	paddq	%xmm4, %xmm0
	addq	$-2, %rdi
	jne	LBB0_35
	jmp	LBB0_37
LBB0_36:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%ebx, %ebx
LBB0_37:
	testb	$1, %sil
	je	LBB0_39
## %bb.38:
	movq	(%r8), %xmm1                    ## xmm1 = mem[0],zero
	pshufd	$68, %xmm1, %xmm2               ## xmm2 = xmm1[0,1,0,1]
	paddq	%xmm0, %xmm2
	paddq	LCPI0_1(%rip), %xmm1
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	paddq	%xmm0, %xmm1
	movdqu	%xmm2, (%rdx,%rbx,8)
	movdqu	%xmm1, 16(%rdx,%rbx,8)
LBB0_39:
	cmpq	%rcx, %rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_40
LBB0_46:
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	leaq	L_.str.8(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_of_property_read_u32_array
	movl	16(%r14), %edi
	movq	_CAP11XX_REG_MAIN_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAP11XX_REG_MAIN_CONTROL_GAIN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CAP11XX_REG_MAIN_CONTROL_GAIN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	shll	%cl, %eax
	movl	%eax, %ecx
	callq	_regmap_update_bits
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.47:
	movl	16(%r14), %edi
	movq	_CAP11XX_REG_REPEAT_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.48:
	movq	%r13, %rdi
	callq	_devm_input_allocate_device
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_59
## %bb.49:
	leaq	L_.str.9(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_BUS_I2C@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rax)
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movq	(%r14), %rcx
	movq	56(%rcx), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.10(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:
	movq	_EV_REP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r14), %rax
	movq	56(%rax), %rsi
	callq	___set_bit
LBB0_51:
	leaq	(%r15,%r12,4), %rax
	addq	$4, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jle	LBB0_54
## %bb.52:
	xorl	%ebx, %ebx
LBB0_53:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	(%rcx,%rbx,8), %rdi
	movq	48(%rax), %rsi
	callq	___set_bit
	incq	%rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_53
LBB0_54:
	movq	_KEY_RESERVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movq	48(%rax), %rsi
	callq	___clear_bit
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	%rcx, 40(%rax)
	movl	$8, 8(%rax)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_CAP11XX_MANUFACTURER_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movl	-72(%rbp), %ecx
	movl	%ecx, 32(%rax)
	movq	_cap11xx_input_open@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_cap11xx_input_close@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movl	8(%r15,%r12,4), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_cap11xx_init_leds
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.55:
	movq	(%r14), %rdi
	movq	%r14, %rsi
	callq	_input_set_drvdata
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_cap11xx_set_sleep
	movq	(%r14), %rdi
	callq	_input_register_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.56:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	testl	%eax, %eax
	je	LBB0_60
## %bb.57:
	movl	%eax, %r15d
	movq	_cap11xx_thread_func@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_dev_name
	movq	%r14, (%rsp)
	movq	%r13, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_devm_request_threaded_irq
LBB0_58:
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_59:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_60:
	leaq	L_.str.11(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_cap11xx_devices,8,3            ## @cap11xx_devices
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid device ID %lu\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Invalid device configuration\n"

	.comm	_keycodes,4,2                   ## @keycodes
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_cap11xx_regmap_config,4,2      ## @cap11xx_regmap_config
	.comm	_CAP11XX_REG_PRODUCT_ID,4,2     ## @CAP11XX_REG_PRODUCT_ID
L_.str.2:                               ## @.str.2
	.asciz	"Product ID: Got 0x%02x, expected 0x%02x\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_CAP11XX_REG_MANUFACTURER_ID,4,2 ## @CAP11XX_REG_MANUFACTURER_ID
	.comm	_CAP11XX_MANUFACTURER_ID,4,2    ## @CAP11XX_MANUFACTURER_ID
L_.str.3:                               ## @.str.3
	.asciz	"Manufacturer ID: Got 0x%02x, expected 0x%02x\n"

	.comm	_CAP11XX_REG_REVISION,4,2       ## @CAP11XX_REG_REVISION
L_.str.4:                               ## @.str.4
	.asciz	"CAP11XX detected, revision 0x%02x\n"

L_.str.5:                               ## @.str.5
	.asciz	"microchip,sensor-gain"

L_.str.6:                               ## @.str.6
	.asciz	"Invalid sensor-gain value %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"microchip,irq-active-high"

	.comm	_CAP11XX_REG_CONFIG2,4,2        ## @CAP11XX_REG_CONFIG2
	.comm	_CAP11XX_REG_CONFIG2_ALT_POL,4,2 ## @CAP11XX_REG_CONFIG2_ALT_POL
	.comm	_KEY_A,8,3                      ## @KEY_A
L_.str.8:                               ## @.str.8
	.asciz	"linux,keycodes"

	.comm	_CAP11XX_REG_MAIN_CONTROL,4,2   ## @CAP11XX_REG_MAIN_CONTROL
	.comm	_CAP11XX_REG_MAIN_CONTROL_GAIN_MASK,4,2 ## @CAP11XX_REG_MAIN_CONTROL_GAIN_MASK
	.comm	_CAP11XX_REG_MAIN_CONTROL_GAIN_SHIFT,4,2 ## @CAP11XX_REG_MAIN_CONTROL_GAIN_SHIFT
	.comm	_CAP11XX_REG_REPEAT_RATE,4,2    ## @CAP11XX_REG_REPEAT_RATE
L_.str.9:                               ## @.str.9
	.asciz	"CAP11XX capacitive touch sensor"

	.comm	_BUS_I2C,4,2                    ## @BUS_I2C
	.comm	_EV_KEY,4,2                     ## @EV_KEY
L_.str.10:                              ## @.str.10
	.asciz	"autorepeat"

	.comm	_EV_REP,8,3                     ## @EV_REP
	.comm	_KEY_RESERVED,4,2               ## @KEY_RESERVED
	.comm	_cap11xx_input_open,4,2         ## @cap11xx_input_open
	.comm	_cap11xx_input_close,4,2        ## @cap11xx_input_close
L_.str.11:                              ## @.str.11
	.asciz	"Unable to parse or map IRQ\n"

	.comm	_cap11xx_thread_func,4,2        ## @cap11xx_thread_func
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.no_dead_strip	_cap11xx_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function cap11xx_i2c_probe
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cap11xx_i2c_probe:                     ; @cap11xx_i2c_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x1]
Lloh0:
	adrp	x21, _cap11xx_devices@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cap11xx_devices@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.hs	LBB0_6
; %bb.1:
	ldr	x23, [x21]
	cbz	x23, LBB0_7
; %bb.2:
	ldr	x24, [x20]
	mov	w8, #12
	madd	x25, x24, x8, x23
	ldr	w2, [x25]
	cbz	w2, LBB0_7
; %bb.3:
Lloh2:
	adrp	x8, _keycodes@GOTPAGE
Lloh3:
	ldr	x8, [x8, _keycodes@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_struct_size
	mov	x1, x0
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_devm_kzalloc
	cbz	x0, LBB0_49
; %bb.4:
	mov	x20, x0
Lloh8:
	adrp	x1, _cap11xx_regmap_config@GOTPAGE
Lloh9:
	ldr	x1, [x1, _cap11xx_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x20, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x20, #16]
	cbz	x8, LBB0_11
; %bb.5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_PTR_ERR
LBB0_6:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
Lloh16:
	adrp	x8, _CAP11XX_REG_PRODUCT_ID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CAP11XX_REG_PRODUCT_ID@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x2, sp, #28
	bl	_regmap_read
	cbnz	w0, LBB0_10
; %bb.12:
	ldr	w8, [sp, #28]
	mov	w9, #12
	madd	x26, x24, x9, x23
	ldr	w9, [x26, #4]!
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.13:
	ldr	w0, [x20, #16]
Lloh19:
	adrp	x8, _CAP11XX_REG_MANUFACTURER_ID@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CAP11XX_REG_MANUFACTURER_ID@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	add	x2, sp, #28
	bl	_regmap_read
	cbnz	w0, LBB0_10
; %bb.14:
	ldr	w8, [sp, #28]
Lloh22:
	adrp	x27, _CAP11XX_MANUFACTURER_ID@GOTPAGE
Lloh23:
	ldr	x27, [x27, _CAP11XX_MANUFACTURER_ID@GOTPAGEOFF]
	ldr	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.15:
	ldr	w0, [x20, #16]
Lloh24:
	adrp	x8, _CAP11XX_REG_REVISION@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CAP11XX_REG_REVISION@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_regmap_read
	tbnz	w0, #31, LBB0_10
; %bb.16:
	ldr	w2, [sp, #24]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	ldr	x21, [x19]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #20
	mov	x0, x21
	bl	_of_property_read_u32
	cbnz	w0, LBB0_24
; %bb.17:
	ldr	w0, [sp, #20]
	bl	_is_power_of_2
	mov	x8, x0
	ldr	w0, [sp, #20]
	cbz	x8, LBB0_23
; %bb.18:
	cmp	w0, #8
	b.gt	LBB0_23
; %bb.19:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ilog2
	mov	x22, x0
	b	LBB0_25
LBB0_20:
	stp	x8, x9, [sp]
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_21:
	mov	x0, x19
	bl	_dev_err
Lloh33:
	adrp	x8, _ENXIO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_9
LBB0_22:
	stp	x8, x9, [sp]
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_23:
	str	x0, [sp]
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_24:
	mov	w22, #0
LBB0_25:
Lloh39:
	adrp	x1, l_.str.7@PAGE
Lloh40:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_bool
	cbz	x0, LBB0_27
; %bb.26:
	ldr	w0, [x20, #16]
Lloh41:
	adrp	x8, _CAP11XX_REG_CONFIG2@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CAP11XX_REG_CONFIG2@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _CAP11XX_REG_CONFIG2_ALT_POL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CAP11XX_REG_CONFIG2_ALT_POL@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_regmap_update_bits
	cbnz	w0, LBB0_10
LBB0_27:
	ldr	w3, [x25]
	ldr	x2, [x20, #8]
	cmp	w3, #1
	b.lt	LBB0_37
; %bb.28:
Lloh47:
	adrp	x8, _KEY_A@GOTPAGE
Lloh48:
	ldr	x8, [x8, _KEY_A@GOTPAGEOFF]
	cmp	w3, #8
	b.hs	LBB0_30
; %bb.29:
	mov	x9, #0
	b	LBB0_36
LBB0_30:
	add	x9, x8, #8
	cmp	x2, x9
	b.hs	LBB0_33
; %bb.31:
	add	x9, x2, x3, lsl #3
	cmp	x9, x8
	b.ls	LBB0_33
; %bb.32:
	mov	x9, #0
	b	LBB0_36
LBB0_33:
	ldr	x9, [x8]
	dup.2d	v0, x9
	fmov	d3, x9
	mov	w9, #2
	fmov	d1, x9
	add.2d	v1, v3, v1
	dup.2d	v1, v1[0]
	and	x9, x3, #0xfffffff8
	mov	w10, #4
	fmov	d2, x10
	add.2d	v2, v3, v2
	dup.2d	v2, v2[0]
	mov	w10, #6
	fmov	d4, x10
	add.2d	v3, v3, v4
	dup.2d	v3, v3[0]
Lloh49:
	adrp	x10, lCPI0_0@PAGE
Lloh50:
	ldr	q4, [x10, lCPI0_0@PAGEOFF]
	add	x10, x2, #32
	mov	w11, #8
	dup.2d	v5, x11
	mov	x11, x9
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	add.2d	v6, v0, v4
	add.2d	v7, v1, v4
	add.2d	v16, v2, v4
	add.2d	v17, v3, v4
	stp	q6, q7, [x10, #-32]
	stp	q16, q17, [x10], #64
	add.2d	v4, v4, v5
	subs	x11, x11, #8
	b.ne	LBB0_34
; %bb.35:
	cmp	x9, x3
	b.eq	LBB0_37
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	add	x10, x9, x10
	str	x10, [x2, x9, lsl #3]
	add	x9, x9, #1
	cmp	x3, x9
	b.ne	LBB0_36
LBB0_37:
Lloh51:
	adrp	x1, l_.str.8@PAGE
Lloh52:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_of_property_read_u32_array
	ldr	w0, [x20, #16]
Lloh53:
	adrp	x8, _CAP11XX_REG_MAIN_CONTROL@GOTPAGE
Lloh54:
	ldr	x8, [x8, _CAP11XX_REG_MAIN_CONTROL@GOTPAGEOFF]
Lloh55:
	adrp	x9, _CAP11XX_REG_MAIN_CONTROL_GAIN_MASK@GOTPAGE
Lloh56:
	ldr	x9, [x9, _CAP11XX_REG_MAIN_CONTROL_GAIN_MASK@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	ldr	w2, [x9]
Lloh59:
	adrp	x8, _CAP11XX_REG_MAIN_CONTROL_GAIN_SHIFT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _CAP11XX_REG_MAIN_CONTROL_GAIN_SHIFT@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	lsl	w3, w22, w8
	bl	_regmap_update_bits
	cbnz	w0, LBB0_10
; %bb.38:
	ldr	w0, [x20, #16]
Lloh62:
	adrp	x8, _CAP11XX_REG_REPEAT_RATE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _CAP11XX_REG_REPEAT_RATE@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_regmap_write
	cbnz	w0, LBB0_10
; %bb.39:
	mov	x0, x19
	bl	_devm_input_allocate_device
	str	x0, [x20]
	cbz	x0, LBB0_49
; %bb.40:
Lloh65:
	adrp	x8, l_.str.9@PAGE
Lloh66:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh67:
	adrp	x9, _BUS_I2C@GOTPAGE
Lloh68:
	ldr	x9, [x9, _BUS_I2C@GOTPAGEOFF]
	str	x8, [x0]
Lloh69:
	ldr	w8, [x9]
	str	w8, [x0, #36]
Lloh70:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh71:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh72:
	ldr	w0, [x8]
	bl	_BIT_MASK
	ldr	x8, [x20]
	ldr	x8, [x8, #56]
	str	w0, [x8]
Lloh73:
	adrp	x1, l_.str.10@PAGE
Lloh74:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_bool
	cbz	x0, LBB0_42
; %bb.41:
Lloh75:
	adrp	x8, _EV_REP@GOTPAGE
Lloh76:
	ldr	x8, [x8, _EV_REP@GOTPAGEOFF]
Lloh77:
	ldr	x0, [x8]
	ldr	x8, [x20]
	ldr	x1, [x8, #56]
	bl	___set_bit
LBB0_42:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_45
; %bb.43:
	mov	x22, #0
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20]
	ldr	x0, [x8, x22, lsl #3]
	ldr	x1, [x9, #48]
	bl	___set_bit
	add	x22, x22, #1
	ldrsw	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_44
LBB0_45:
Lloh78:
	adrp	x8, _KEY_RESERVED@GOTPAGE
Lloh79:
	ldr	x8, [x8, _KEY_RESERVED@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x1, [x8, #48]
	bl	___clear_bit
	ldp	x9, x8, [x20]
	str	x8, [x9, #40]
	mov	w8, #8
	ldr	w10, [x25]
	stp	w8, w10, [x9, #8]
	ldr	w8, [x27]
	ldr	w10, [x26]
	stp	w8, w10, [x9, #24]
	ldr	w8, [sp, #24]
	str	w8, [x9, #32]
Lloh81:
	adrp	x8, _cap11xx_input_open@GOTPAGE
Lloh82:
	ldr	x8, [x8, _cap11xx_input_open@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x10, _cap11xx_input_close@GOTPAGE
Lloh85:
	ldr	x10, [x10, _cap11xx_input_close@GOTPAGEOFF]
Lloh86:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #16]
	mov	w8, #12
	mul	x8, x24, x8
	add	x8, x23, x8
	ldr	w2, [x8, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_cap11xx_init_leds
	cbnz	w0, LBB0_10
; %bb.46:
	ldr	x0, [x20]
	mov	x1, x20
	bl	_input_set_drvdata
	mov	x0, x20
	mov	w1, #1
	bl	_cap11xx_set_sleep
	ldr	x0, [x20]
	bl	_input_register_device
	cbnz	w0, LBB0_10
; %bb.47:
	mov	x0, x21
	mov	w1, #0
	bl	_irq_of_parse_and_map
	cbz	w0, LBB0_50
; %bb.48:
	mov	x21, x0
Lloh87:
	adrp	x8, _cap11xx_thread_func@GOTPAGE
Lloh88:
	ldr	x8, [x8, _cap11xx_thread_func@GOTPAGEOFF]
Lloh89:
	ldr	w22, [x8]
Lloh90:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh91:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh92:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x5, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	mov	x3, x22
	mov	x4, x23
	mov	x6, x20
	bl	_devm_request_threaded_irq
	b	LBB0_10
LBB0_49:
Lloh93:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_50:
Lloh95:
	adrp	x1, l_.str.11@PAGE
Lloh96:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdr	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh57
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpAdd	Lloh95, Lloh96
	.cfi_endproc
                                        ; -- End function
	.comm	_cap11xx_devices,8,3            ; @cap11xx_devices
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid device ID %lu\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Invalid device configuration\n"

	.comm	_keycodes,4,2                   ; @keycodes
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_cap11xx_regmap_config,4,2      ; @cap11xx_regmap_config
	.comm	_CAP11XX_REG_PRODUCT_ID,4,2     ; @CAP11XX_REG_PRODUCT_ID
l_.str.2:                               ; @.str.2
	.asciz	"Product ID: Got 0x%02x, expected 0x%02x\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_CAP11XX_REG_MANUFACTURER_ID,4,2 ; @CAP11XX_REG_MANUFACTURER_ID
	.comm	_CAP11XX_MANUFACTURER_ID,4,2    ; @CAP11XX_MANUFACTURER_ID
l_.str.3:                               ; @.str.3
	.asciz	"Manufacturer ID: Got 0x%02x, expected 0x%02x\n"

	.comm	_CAP11XX_REG_REVISION,4,2       ; @CAP11XX_REG_REVISION
l_.str.4:                               ; @.str.4
	.asciz	"CAP11XX detected, revision 0x%02x\n"

l_.str.5:                               ; @.str.5
	.asciz	"microchip,sensor-gain"

l_.str.6:                               ; @.str.6
	.asciz	"Invalid sensor-gain value %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"microchip,irq-active-high"

	.comm	_CAP11XX_REG_CONFIG2,4,2        ; @CAP11XX_REG_CONFIG2
	.comm	_CAP11XX_REG_CONFIG2_ALT_POL,4,2 ; @CAP11XX_REG_CONFIG2_ALT_POL
	.comm	_KEY_A,8,3                      ; @KEY_A
l_.str.8:                               ; @.str.8
	.asciz	"linux,keycodes"

	.comm	_CAP11XX_REG_MAIN_CONTROL,4,2   ; @CAP11XX_REG_MAIN_CONTROL
	.comm	_CAP11XX_REG_MAIN_CONTROL_GAIN_MASK,4,2 ; @CAP11XX_REG_MAIN_CONTROL_GAIN_MASK
	.comm	_CAP11XX_REG_MAIN_CONTROL_GAIN_SHIFT,4,2 ; @CAP11XX_REG_MAIN_CONTROL_GAIN_SHIFT
	.comm	_CAP11XX_REG_REPEAT_RATE,4,2    ; @CAP11XX_REG_REPEAT_RATE
l_.str.9:                               ; @.str.9
	.asciz	"CAP11XX capacitive touch sensor"

	.comm	_BUS_I2C,4,2                    ; @BUS_I2C
	.comm	_EV_KEY,4,2                     ; @EV_KEY
l_.str.10:                              ; @.str.10
	.asciz	"autorepeat"

	.comm	_EV_REP,8,3                     ; @EV_REP
	.comm	_KEY_RESERVED,4,2               ; @KEY_RESERVED
	.comm	_cap11xx_input_open,4,2         ; @cap11xx_input_open
	.comm	_cap11xx_input_close,4,2        ; @cap11xx_input_close
l_.str.11:                              ; @.str.11
	.asciz	"Unable to parse or map IRQ\n"

	.comm	_cap11xx_thread_func,4,2        ; @cap11xx_thread_func
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.no_dead_strip	_cap11xx_i2c_probe
.subsections_via_symbols
