	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8994_device_init
_wm8994_device_init:                    ## @wm8994_device_init
	.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	16(%rdi), %edi
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	16(%r14), %edi
	callq	_dev_get_platdata
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	%xmm0, 48(%r14)
	movups	%xmm1, 64(%r14)
	movq	32(%rax), %rax
	movq	%rax, 80(%r14)
LBB0_2:
	movq	%r14, %rdi
	callq	_wm8994_set_pdata_from_of
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_76
## %bb.3:
	movl	16(%r14), %edi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movl	16(%r14), %r15d
	movq	_wm8994_regulator_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	$0, (%rsp)
	movl	%r15d, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_mfd_add_devices
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	%eax, %ebx
	movl	16(%r14), %edi
	leaq	L_.str(%rip), %rsi
LBB0_5:
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_75
LBB0_6:
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_7
## %bb.8:
	cltq
	leaq	l_switch.table.wm8994_device_init(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, 4(%r14)
	movl	16(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_16
## %bb.11:
	cmpl	$130, %eax
	je	LBB0_19
## %bb.12:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.13:
	movq	_wm8958_main_supplies@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_22
## %bb.14:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	24(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_15
	jmp	LBB0_22
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_75
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_75
LBB0_16:
	movq	_wm8994_main_supplies@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_22
## %bb.17:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	24(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_18
	jmp	LBB0_22
LBB0_19:
	movq	_wm1811_main_supplies@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_22
## %bb.20:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	24(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_21
LBB0_22:
	movl	4(%r14), %esi
	movl	16(%r14), %edi
	movq	24(%r14), %rdx
	callq	_regulator_bulk_get
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %ebx
	movl	16(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_24:
	movl	4(%r14), %edi
	movq	24(%r14), %rsi
	callq	_regulator_bulk_enable
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	movl	%eax, %ebx
	movl	16(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_74
LBB0_26:
	movq	_WM8994_SOFTWARE_RESET@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_wm8994_reg_read
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_27
## %bb.28:
	cmpl	$35220, %ebx                    ## imm = 0x8994
	je	LBB0_33
## %bb.29:
	cmpl	$35160, %ebx                    ## imm = 0x8958
	je	LBB0_32
## %bb.30:
	cmpl	$6161, %ebx                     ## imm = 0x1811
	jne	LBB0_71
## %bb.31:
	movl	(%r14), %eax
	leaq	L_.str.4(%rip), %r15
	movl	$130, %ebx
	cmpl	$130, %eax
	jne	LBB0_34
	jmp	LBB0_35
LBB0_27:
	movl	16(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_73
LBB0_33:
	movl	(%r14), %eax
	leaq	L_.str.6(%rip), %r15
	movl	$128, %ebx
	cmpl	$128, %eax
	jne	LBB0_34
	jmp	LBB0_35
LBB0_32:
	movl	(%r14), %eax
	leaq	L_.str.7(%rip), %r15
	movl	$129, %ebx
	cmpl	$129, %eax
	je	LBB0_35
LBB0_34:
	movl	16(%r14), %edi
	movsbl	%al, %edx
	leaq	L_.str.5(%rip), %rsi
	callq	_dev_warn
LBB0_35:
	movl	%ebx, (%r14)
	movq	_WM8994_CHIP_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wm8994_reg_read
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_36
## %bb.38:
	movq	_WM8994_CHIP_REV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movl	%eax, 8(%r14)
	movq	_WM8994_CUST_ID_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%ebx, %edx
	movq	_WM8994_CUST_ID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %edx
	movl	%edx, 12(%r14)
	movl	(%r14), %ecx
	cmpl	$130, %ecx
	je	LBB0_47
## %bb.39:
	cmpl	$129, %ecx
	je	LBB0_45
## %bb.40:
	cmpl	$128, %ecx
	jne	LBB0_41
## %bb.42:
	cmpl	$1, %eax
	ja	LBB0_44
## %bb.43:
	movl	16(%r14), %edi
	addb	$65, %al
	movsbl	%al, %edx
	leaq	L_.str.10(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_41
LBB0_36:
	movl	16(%r14), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_37
LBB0_71:
	movl	16(%r14), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_72:
	movl	%r15d, %ebx
	jmp	LBB0_73
LBB0_47:
	cmpl	$2, %eax
	jb	LBB0_49
## %bb.48:
	incl	%eax
	movl	%eax, 8(%r14)
LBB0_49:
	movq	_wm1811_reva_patch@GOTPCREL(%rip), %rax
	jmp	LBB0_50
LBB0_45:
	testl	%eax, %eax
	je	LBB0_46
LBB0_41:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_51
LBB0_44:
	movq	_wm8994_revc_patch@GOTPCREL(%rip), %rax
	jmp	LBB0_50
LBB0_46:
	movq	_wm8958_reva_patch@GOTPCREL(%rip), %rax
LBB0_50:
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ebx
LBB0_51:
	movl	16(%r14), %edi
	movb	8(%r14), %al
	addb	$65, %al
	movl	12(%r14), %r8d
	movsbl	%al, %ecx
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdx
	callq	_dev_info
	movl	(%r14), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	jae	LBB0_52
## %bb.53:
	movl	%ebx, %r15d
	cltq
	leaq	l_switch.table.wm8994_device_init.16(%rip), %rcx
	movq	(%rcx,%rax,8), %rsi
	movl	44(%r14), %edi
	callq	_regmap_reinit_cache
	testl	%eax, %eax
	je	LBB0_55
## %bb.54:
	movl	%eax, %ebx
	movl	16(%r14), %edi
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_37
LBB0_52:
	movl	16(%r14), %edi
	leaq	L_.str.12(%rip), %rsi
	xorl	%ebx, %ebx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_73
LBB0_55:
	movl	(%r13), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wm8994_reg_read
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_wm8994_reg_write
	testl	%eax, %eax
	je	LBB0_57
## %bb.56:
	movl	%eax, %ebx
	movl	16(%r14), %edi
	leaq	L_.str.14(%rip), %rsi
LBB0_37:
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_73:
	movl	4(%r14), %edi
	movq	24(%r14), %rsi
	callq	_regulator_bulk_disable
LBB0_74:
	movl	4(%r14), %edi
	movq	24(%r14), %rsi
	callq	_regulator_bulk_free
LBB0_75:
	movl	16(%r14), %edi
	callq	_mfd_remove_devices
LBB0_76:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_57:
	testq	%r12, %r12
	je	LBB0_60
## %bb.58:
	movl	44(%r14), %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_regmap_register_patch
	testl	%eax, %eax
	je	LBB0_60
## %bb.59:
	movl	%eax, %ebx
	movl	16(%r14), %edi
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_37
LBB0_60:
	leaq	48(%r14), %r15
	movq	48(%r14), %rdi
	movq	76(%r14), %rax
	movq	%rax, 36(%r14)
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_65
## %bb.61:
	xorl	%ebx, %ebx
	movq	_WM8994_GPIO_1@GOTPCREL(%rip), %r12
	jmp	LBB0_62
LBB0_64:                                ##   in Loop: Header=BB0_62 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_65
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	(%rdi,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_64
## %bb.63:                              ##   in Loop: Header=BB0_62 Depth=1
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_wm8994_set_bits
	movq	48(%r14), %rdi
	jmp	LBB0_64
LBB0_65:
	movl	72(%r14), %eax
	movl	%eax, 32(%r14)
	xorl	%edi, %edi
	cmpq	$0, 64(%r14)
	movq	_WM8994_SPKMODE_PU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	cmovel	%edi, %esi
	cmpq	$0, 56(%r14)
	movq	_WM8994_CSNADDR_PD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	cmovel	%edi, %ecx
	orl	%esi, %ecx
	movq	_WM8994_PULL_CONTROL_2@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	_WM8994_LDO1ENA_PD@GOTPCREL(%rip), %rdi
	movq	_WM8994_LDO2ENA_PD@GOTPCREL(%rip), %rbx
	orl	%eax, %edx
	orl	(%rdi), %edx
	orl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_wm8994_set_bits
	movq	_WM8994_NUM_LDO_REGS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_68
## %bb.66:
	movq	_WM8994_LDO_1@GOTPCREL(%rip), %r12
	movq	_WM8994_LDO1_DISCH@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
LBB0_67:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_wm8994_ldo_in_use
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	testq	%rax, %rax
	movl	(%r13), %edx
	movl	%edx, %ecx
	movl	$0, %eax
	cmovel	%eax, %ecx
	movq	%r14, %rdi
	callq	_wm8994_set_bits
	incq	%rbx
	movq	_WM8994_NUM_LDO_REGS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_67
LBB0_68:
	movq	%r14, %rdi
	callq	_wm8994_irq_init
	movl	16(%r14), %r15d
	movq	_wm8994_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movq	$0, (%rsp)
	xorl	%ebx, %ebx
	movl	%r15d, %edi
	movl	$-1, %esi
	movq	%r12, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_mfd_add_devices
	movl	16(%r14), %edi
	testl	%eax, %eax
	je	LBB0_70
## %bb.69:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r14, %rdi
	callq	_wm8994_irq_exit
	jmp	LBB0_72
LBB0_70:
	callq	_pm_runtime_enable
	movl	16(%r14), %edi
	callq	_pm_runtime_idle
	jmp	LBB0_76
	.cfi_endproc
                                        ## -- End function
	.comm	_wm8994_regulator_devs,8,3      ## @wm8994_regulator_devs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to add children: %d\n"

	.comm	_wm1811_main_supplies,8,3       ## @wm1811_main_supplies
	.comm	_wm8994_main_supplies,8,3       ## @wm8994_main_supplies
	.comm	_wm8958_main_supplies,8,3       ## @wm8958_main_supplies
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Failed to get supplies: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to enable supplies: %d\n"

	.comm	_WM8994_SOFTWARE_RESET,4,2      ## @WM8994_SOFTWARE_RESET
L_.str.3:                               ## @.str.3
	.asciz	"Failed to read ID register\n"

L_.str.4:                               ## @.str.4
	.asciz	"WM1811"

L_.str.5:                               ## @.str.5
	.asciz	"Device registered as type %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"WM8994"

L_.str.7:                               ## @.str.7
	.asciz	"WM8958"

L_.str.8:                               ## @.str.8
	.asciz	"Device is not a WM8994, ID is %x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WM8994_CHIP_REVISION,4,2       ## @WM8994_CHIP_REVISION
L_.str.9:                               ## @.str.9
	.asciz	"Failed to read revision register: %d\n"

	.comm	_WM8994_CHIP_REV_MASK,4,2       ## @WM8994_CHIP_REV_MASK
	.comm	_WM8994_CUST_ID_MASK,4,2        ## @WM8994_CUST_ID_MASK
	.comm	_WM8994_CUST_ID_SHIFT,4,2       ## @WM8994_CUST_ID_SHIFT
L_.str.10:                              ## @.str.10
	.asciz	"revision %c not fully supported\n"

	.comm	_wm8994_revc_patch,8,3          ## @wm8994_revc_patch
	.comm	_wm8958_reva_patch,8,3          ## @wm8958_reva_patch
	.comm	_wm1811_reva_patch,8,3          ## @wm1811_reva_patch
L_.str.11:                              ## @.str.11
	.asciz	"%s revision %c CUST_ID %02x\n"

	.comm	_wm1811_regmap_config,4,2       ## @wm1811_regmap_config
	.comm	_wm8994_regmap_config,4,2       ## @wm8994_regmap_config
	.comm	_wm8958_regmap_config,4,2       ## @wm8958_regmap_config
L_.str.12:                              ## @.str.12
	.asciz	"Unknown device type %d\n"

L_.str.13:                              ## @.str.13
	.asciz	"Failed to reinit register cache: %d\n"

L_.str.14:                              ## @.str.14
	.asciz	"Failed to reset device: %d\n"

L_.str.15:                              ## @.str.15
	.asciz	"Failed to register patch: %d\n"

	.comm	_WM8994_GPIO_1,8,3              ## @WM8994_GPIO_1
	.comm	_WM8994_SPKMODE_PU,4,2          ## @WM8994_SPKMODE_PU
	.comm	_WM8994_CSNADDR_PD,4,2          ## @WM8994_CSNADDR_PD
	.comm	_WM8994_PULL_CONTROL_2,8,3      ## @WM8994_PULL_CONTROL_2
	.comm	_WM8994_LDO1ENA_PD,4,2          ## @WM8994_LDO1ENA_PD
	.comm	_WM8994_LDO2ENA_PD,4,2          ## @WM8994_LDO2ENA_PD
	.comm	_WM8994_NUM_LDO_REGS,4,2        ## @WM8994_NUM_LDO_REGS
	.comm	_WM8994_LDO_1,8,3               ## @WM8994_LDO_1
	.comm	_WM8994_LDO1_DISCH,4,2          ## @WM8994_LDO1_DISCH
	.comm	_wm8994_devs,8,3                ## @wm8994_devs
	.no_dead_strip	_wm8994_device_init
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.wm8994_device_init
l_switch.table.wm8994_device_init:
	.quad	_wm8994_main_supplies
	.quad	_wm8958_main_supplies
	.quad	_wm1811_main_supplies

	.p2align	3                               ## @switch.table.wm8994_device_init.16
l_switch.table.wm8994_device_init.16:
	.quad	_wm8994_regmap_config
	.quad	_wm8958_regmap_config
	.quad	_wm1811_regmap_config

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8994_device_init
_wm8994_device_init:                    ; @wm8994_device_init
	.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, #16]
	bl	_dev_get_platdata
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	bl	_dev_get_platdata
	ldr	x8, [x0, #32]
	ldp	q1, q0, [x0]
	stp	q1, q0, [x19, #48]
	str	x8, [x19, #80]
LBB0_2:
	mov	x0, x19
	bl	_wm8994_set_pdata_from_of
	mov	x20, x0
	cbnz	w0, LBB0_62
; %bb.3:
	ldr	w0, [x19, #16]
	mov	x1, x19
	bl	_dev_set_drvdata
	ldr	w20, [x19, #16]
Lloh0:
	adrp	x8, _wm8994_regulator_devs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wm8994_regulator_devs@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_mfd_add_devices
	cbz	w0, LBB0_5
; %bb.4:
	mov	x20, x0
	ldr	w0, [x19, #16]
	str	x20, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_61
LBB0_5:
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_13
; %bb.6:
Lloh5:
	adrp	x9, l_switch.table.wm8994_device_init@PAGE
Lloh6:
	add	x9, x9, l_switch.table.wm8994_device_init@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	mov	x1, x0
	str	w0, [x19, #4]
	ldr	w0, [x19, #16]
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_14
; %bb.7:
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_15
; %bb.8:
	cmp	w8, #130
	b.eq	LBB0_18
; %bb.9:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.10:
Lloh10:
	adrp	x20, _wm8958_main_supplies@GOTPAGE
Lloh11:
	ldr	x20, [x20, _wm8958_main_supplies@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.11:
	mov	x21, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x21, #3
	ldr	x8, [x8, x9]
	ldr	x10, [x19, #24]
	str	x8, [x10, x9]
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_12
	b	LBB0_21
LBB0_13:
	bl	_BUG
	mov	w20, #0
	b	LBB0_61
LBB0_14:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_61
LBB0_15:
Lloh15:
	adrp	x20, _wm8994_main_supplies@GOTPAGE
Lloh16:
	ldr	x20, [x20, _wm8994_main_supplies@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.16:
	mov	x21, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x21, #3
	ldr	x8, [x8, x9]
	ldr	x10, [x19, #24]
	str	x8, [x10, x9]
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_17
	b	LBB0_21
LBB0_18:
Lloh17:
	adrp	x20, _wm1811_main_supplies@GOTPAGE
Lloh18:
	ldr	x20, [x20, _wm1811_main_supplies@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.19:
	mov	x21, #0
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x21, #3
	ldr	x8, [x8, x9]
	ldr	x10, [x19, #24]
	str	x8, [x10, x9]
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_20
LBB0_21:
	ldr	w0, [x19, #16]
	ldr	w1, [x19, #4]
	ldr	x2, [x19, #24]
	bl	_regulator_bulk_get
	cbz	w0, LBB0_23
; %bb.22:
	mov	x20, x0
	ldr	w0, [x19, #16]
	str	x20, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	b	LBB0_61
LBB0_23:
	ldr	w0, [x19, #4]
	ldr	x1, [x19, #24]
	bl	_regulator_bulk_enable
	cbz	w0, LBB0_25
; %bb.24:
	mov	x20, x0
	ldr	w0, [x19, #16]
	str	x20, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	b	LBB0_60
LBB0_25:
Lloh23:
	adrp	x23, _WM8994_SOFTWARE_RESET@GOTPAGE
Lloh24:
	ldr	x23, [x23, _WM8994_SOFTWARE_RESET@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_wm8994_reg_read
	mov	x20, x0
	tbnz	w0, #31, LBB0_30
; %bb.26:
	mov	w8, #35220
	cmp	w20, w8
	b.eq	LBB0_31
; %bb.27:
	mov	w8, #35160
	cmp	w20, w8
	b.eq	LBB0_32
; %bb.28:
	mov	w8, #6161
	cmp	w20, w8
	b.ne	LBB0_41
; %bb.29:
	ldr	w8, [x19]
Lloh25:
	adrp	x20, l_.str.4@PAGE
Lloh26:
	add	x20, x20, l_.str.4@PAGEOFF
	mov	w21, #130
	cmp	w8, #130
	b.ne	LBB0_33
	b	LBB0_34
LBB0_30:
	ldr	w0, [x19, #16]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	b	LBB0_59
LBB0_31:
	ldr	w8, [x19]
Lloh29:
	adrp	x20, l_.str.6@PAGE
Lloh30:
	add	x20, x20, l_.str.6@PAGEOFF
	mov	w21, #128
	cmp	w8, #128
	b.ne	LBB0_33
	b	LBB0_34
LBB0_32:
	ldr	w8, [x19]
Lloh31:
	adrp	x20, l_.str.7@PAGE
Lloh32:
	add	x20, x20, l_.str.7@PAGEOFF
	mov	w21, #129
	cmp	w8, #129
	b.eq	LBB0_34
LBB0_33:
	ldr	w0, [x19, #16]
	sxtb	w2, w8
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_warn
LBB0_34:
	str	w21, [x19]
Lloh35:
	adrp	x8, _WM8994_CHIP_REVISION@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WM8994_CHIP_REVISION@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wm8994_reg_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_40
; %bb.35:
Lloh38:
	adrp	x8, _WM8994_CHIP_REV_MASK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WM8994_CHIP_REV_MASK@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh41:
	adrp	x9, _WM8994_CUST_ID_MASK@GOTPAGE
Lloh42:
	ldr	x9, [x9, _WM8994_CUST_ID_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	and	w9, w9, w21
Lloh44:
	adrp	x10, _WM8994_CUST_ID_SHIFT@GOTPAGE
Lloh45:
	ldr	x10, [x10, _WM8994_CUST_ID_SHIFT@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	lsr	w9, w9, w10
	stp	w8, w9, [x19, #8]
	ldr	w9, [x19]
	cmp	w9, #130
	b.eq	LBB0_42
; %bb.36:
	cmp	w9, #129
	b.eq	LBB0_45
; %bb.37:
	cmp	w9, #128
	b.ne	LBB0_46
; %bb.38:
	cmp	w8, #1
	b.hi	LBB0_47
; %bb.39:
	ldr	w0, [x19, #16]
	add	w8, w8, #65
	sxtb	w2, w8
Lloh47:
	adrp	x1, l_.str.10@PAGE
Lloh48:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_warn
	b	LBB0_46
LBB0_40:
	ldr	w0, [x19, #16]
	str	x21, [sp]
Lloh49:
	adrp	x1, l_.str.9@PAGE
Lloh50:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_err
	mov	x20, x21
	b	LBB0_59
LBB0_41:
	ldr	w0, [x19, #16]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh51:
	adrp	x1, l_.str.8@PAGE
Lloh52:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_54
LBB0_42:
	cmp	w8, #2
	b.lo	LBB0_44
; %bb.43:
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_44:
Lloh53:
	adrp	x8, _wm1811_reva_patch@GOTPAGE
Lloh54:
	ldr	x8, [x8, _wm1811_reva_patch@GOTPAGEOFF]
	b	LBB0_49
LBB0_45:
	cbz	w8, LBB0_48
LBB0_46:
	mov	x21, #0
	mov	w22, #0
	b	LBB0_50
LBB0_47:
Lloh55:
	adrp	x8, _wm8994_revc_patch@GOTPAGE
Lloh56:
	ldr	x8, [x8, _wm8994_revc_patch@GOTPAGEOFF]
	b	LBB0_49
LBB0_48:
Lloh57:
	adrp	x8, _wm8958_reva_patch@GOTPAGE
Lloh58:
	ldr	x8, [x8, _wm8958_reva_patch@GOTPAGEOFF]
LBB0_49:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x22, x0
LBB0_50:
	ldrb	w8, [x19, #8]
	add	w8, w8, #65
	ldp	w4, w0, [x19, #12]
Lloh59:
	adrp	x1, l_.str.11@PAGE
Lloh60:
	add	x1, x1, l_.str.11@PAGEOFF
	sxtb	w3, w8
	mov	x2, x20
	bl	_dev_info
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_53
; %bb.51:
Lloh61:
	adrp	x8, l_switch.table.wm8994_device_init.16@PAGE
Lloh62:
	add	x8, x8, l_switch.table.wm8994_device_init.16@PAGEOFF
	ldr	x1, [x8, w9, sxtw #3]
	ldr	w0, [x19, #44]
	bl	_regmap_reinit_cache
	cbz	w0, LBB0_55
; %bb.52:
	mov	x20, x0
	ldr	w0, [x19, #16]
	str	x20, [sp]
Lloh63:
	adrp	x1, l_.str.13@PAGE
Lloh64:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_57
LBB0_53:
	ldr	w0, [x19, #16]
	str	x8, [sp]
Lloh65:
	adrp	x1, l_.str.12@PAGE
Lloh66:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_54:
	bl	_dev_err
Lloh67:
	adrp	x8, _EINVAL@GOTPAGE
Lloh68:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_59
LBB0_55:
	ldr	w20, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_wm8994_reg_read
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_wm8994_reg_write
	cbz	w0, LBB0_63
; %bb.56:
	mov	x20, x0
	ldr	w0, [x19, #16]
	str	x20, [sp]
Lloh70:
	adrp	x1, l_.str.14@PAGE
Lloh71:
	add	x1, x1, l_.str.14@PAGEOFF
LBB0_57:
	bl	_dev_err
LBB0_58:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
LBB0_59:
	ldr	w0, [x19, #4]
	ldr	x1, [x19, #24]
	bl	_regulator_bulk_disable
LBB0_60:
	ldr	w0, [x19, #4]
	ldr	x1, [x19, #24]
	bl	_regulator_bulk_free
LBB0_61:
	ldr	w0, [x19, #16]
	bl	_mfd_remove_devices
LBB0_62:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_63:
	cbz	x21, LBB0_66
; %bb.64:
	ldr	w0, [x19, #44]
	mov	x1, x21
	mov	x2, x22
	bl	_regmap_register_patch
	cbz	w0, LBB0_66
; %bb.65:
	mov	x20, x0
	ldr	w0, [x19, #16]
	str	x20, [sp]
Lloh72:
	adrp	x1, l_.str.15@PAGE
Lloh73:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_57
LBB0_66:
	add	x20, x19, #48
	ldur	d0, [x19, #76]
	stur	d0, [x19, #36]
	ldr	x0, [x19, #48]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_71
; %bb.67:
	mov	x21, #0
Lloh74:
	adrp	x22, _WM8994_GPIO_1@GOTPAGE
Lloh75:
	ldr	x22, [x22, _WM8994_GPIO_1@GOTPAGEOFF]
	b	LBB0_69
LBB0_68:                                ;   in Loop: Header=BB0_69 Depth=1
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.ge	LBB0_71
LBB0_69:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	x3, [x0, x21, lsl #3]
	cbz	x3, LBB0_68
; %bb.70:                               ;   in Loop: Header=BB0_69 Depth=1
	ldr	x8, [x22]
	add	x1, x21, x8
	mov	x0, x19
	mov	w2, #65535
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_wm8994_set_bits
	ldr	x0, [x19, #48]
	b	LBB0_68
LBB0_71:
	ldr	w8, [x19, #72]
Lloh76:
	adrp	x9, _WM8994_SPKMODE_PU@GOTPAGE
Lloh77:
	ldr	x9, [x9, _WM8994_SPKMODE_PU@GOTPAGEOFF]
	str	w8, [x19, #32]
Lloh78:
	ldr	w8, [x9]
	ldp	x10, x9, [x19, #56]
	cmp	x9, #0
	csel	w9, wzr, w8, eq
Lloh79:
	adrp	x11, _WM8994_CSNADDR_PD@GOTPAGE
Lloh80:
	ldr	x11, [x11, _WM8994_CSNADDR_PD@GOTPAGEOFF]
Lloh81:
	ldr	w11, [x11]
	cmp	x10, #0
	csel	w10, wzr, w11, eq
	orr	w3, w10, w9
Lloh82:
	adrp	x9, _WM8994_PULL_CONTROL_2@GOTPAGE
Lloh83:
	ldr	x9, [x9, _WM8994_PULL_CONTROL_2@GOTPAGEOFF]
Lloh84:
	ldr	x1, [x9]
Lloh85:
	adrp	x9, _WM8994_LDO1ENA_PD@GOTPAGE
Lloh86:
	ldr	x9, [x9, _WM8994_LDO1ENA_PD@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
Lloh88:
	adrp	x10, _WM8994_LDO2ENA_PD@GOTPAGE
Lloh89:
	ldr	x10, [x10, _WM8994_LDO2ENA_PD@GOTPAGEOFF]
Lloh90:
	ldr	w10, [x10]
	orr	w8, w11, w8
	orr	w8, w8, w9
	orr	w2, w8, w10
	mov	x0, x19
	bl	_wm8994_set_bits
Lloh91:
	adrp	x22, _WM8994_NUM_LDO_REGS@GOTPAGE
Lloh92:
	ldr	x22, [x22, _WM8994_NUM_LDO_REGS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_74
; %bb.72:
	mov	x21, #0
Lloh93:
	adrp	x23, _WM8994_LDO_1@GOTPAGE
Lloh94:
	ldr	x23, [x23, _WM8994_LDO_1@GOTPAGEOFF]
Lloh95:
	adrp	x24, _WM8994_LDO1_DISCH@GOTPAGE
Lloh96:
	ldr	x24, [x24, _WM8994_LDO1_DISCH@GOTPAGEOFF]
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_wm8994_ldo_in_use
	ldr	x8, [x23]
	add	x1, x21, x8
	ldr	w2, [x24]
	cmp	x0, #0
	csel	w3, wzr, w2, eq
	mov	x0, x19
	bl	_wm8994_set_bits
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_73
LBB0_74:
	mov	x0, x19
	bl	_wm8994_irq_init
	ldr	w20, [x19, #16]
Lloh97:
	adrp	x8, _wm8994_devs@GOTPAGE
Lloh98:
	ldr	x8, [x8, _wm8994_devs@GOTPAGEOFF]
Lloh99:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x20
	mov	w1, #-1
	mov	x2, x21
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_mfd_add_devices
	mov	x20, x0
	ldr	w0, [x19, #16]
	cbz	w20, LBB0_76
; %bb.75:
	str	x20, [sp]
Lloh100:
	adrp	x1, l_.str@PAGE
Lloh101:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	x0, x19
	bl	_wm8994_irq_exit
	b	LBB0_58
LBB0_76:
	bl	_pm_runtime_enable
	ldr	w0, [x19, #16]
	bl	_pm_runtime_idle
	b	LBB0_62
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpAdd	Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.comm	_wm8994_regulator_devs,8,3      ; @wm8994_regulator_devs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to add children: %d\n"

	.comm	_wm1811_main_supplies,8,3       ; @wm1811_main_supplies
	.comm	_wm8994_main_supplies,8,3       ; @wm8994_main_supplies
	.comm	_wm8958_main_supplies,8,3       ; @wm8958_main_supplies
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Failed to get supplies: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to enable supplies: %d\n"

	.comm	_WM8994_SOFTWARE_RESET,4,2      ; @WM8994_SOFTWARE_RESET
l_.str.3:                               ; @.str.3
	.asciz	"Failed to read ID register\n"

l_.str.4:                               ; @.str.4
	.asciz	"WM1811"

l_.str.5:                               ; @.str.5
	.asciz	"Device registered as type %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"WM8994"

l_.str.7:                               ; @.str.7
	.asciz	"WM8958"

l_.str.8:                               ; @.str.8
	.asciz	"Device is not a WM8994, ID is %x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WM8994_CHIP_REVISION,4,2       ; @WM8994_CHIP_REVISION
l_.str.9:                               ; @.str.9
	.asciz	"Failed to read revision register: %d\n"

	.comm	_WM8994_CHIP_REV_MASK,4,2       ; @WM8994_CHIP_REV_MASK
	.comm	_WM8994_CUST_ID_MASK,4,2        ; @WM8994_CUST_ID_MASK
	.comm	_WM8994_CUST_ID_SHIFT,4,2       ; @WM8994_CUST_ID_SHIFT
l_.str.10:                              ; @.str.10
	.asciz	"revision %c not fully supported\n"

	.comm	_wm8994_revc_patch,8,3          ; @wm8994_revc_patch
	.comm	_wm8958_reva_patch,8,3          ; @wm8958_reva_patch
	.comm	_wm1811_reva_patch,8,3          ; @wm1811_reva_patch
l_.str.11:                              ; @.str.11
	.asciz	"%s revision %c CUST_ID %02x\n"

	.comm	_wm1811_regmap_config,4,2       ; @wm1811_regmap_config
	.comm	_wm8994_regmap_config,4,2       ; @wm8994_regmap_config
	.comm	_wm8958_regmap_config,4,2       ; @wm8958_regmap_config
l_.str.12:                              ; @.str.12
	.asciz	"Unknown device type %d\n"

l_.str.13:                              ; @.str.13
	.asciz	"Failed to reinit register cache: %d\n"

l_.str.14:                              ; @.str.14
	.asciz	"Failed to reset device: %d\n"

l_.str.15:                              ; @.str.15
	.asciz	"Failed to register patch: %d\n"

	.comm	_WM8994_GPIO_1,8,3              ; @WM8994_GPIO_1
	.comm	_WM8994_SPKMODE_PU,4,2          ; @WM8994_SPKMODE_PU
	.comm	_WM8994_CSNADDR_PD,4,2          ; @WM8994_CSNADDR_PD
	.comm	_WM8994_PULL_CONTROL_2,8,3      ; @WM8994_PULL_CONTROL_2
	.comm	_WM8994_LDO1ENA_PD,4,2          ; @WM8994_LDO1ENA_PD
	.comm	_WM8994_LDO2ENA_PD,4,2          ; @WM8994_LDO2ENA_PD
	.comm	_WM8994_NUM_LDO_REGS,4,2        ; @WM8994_NUM_LDO_REGS
	.comm	_WM8994_LDO_1,8,3               ; @WM8994_LDO_1
	.comm	_WM8994_LDO1_DISCH,4,2          ; @WM8994_LDO1_DISCH
	.comm	_wm8994_devs,8,3                ; @wm8994_devs
	.no_dead_strip	_wm8994_device_init
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.wm8994_device_init
l_switch.table.wm8994_device_init:
	.quad	_wm8994_main_supplies
	.quad	_wm8958_main_supplies
	.quad	_wm1811_main_supplies

	.p2align	3                               ; @switch.table.wm8994_device_init.16
l_switch.table.wm8994_device_init.16:
	.quad	_wm8994_regmap_config
	.quad	_wm8958_regmap_config
	.quad	_wm1811_regmap_config

.subsections_via_symbols
