	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wm8350_device_init             ## -- Begin function wm8350_device_init
	.p2align	4, 0x90
_wm8350_device_init:                    ## @wm8350_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	28(%rdi), %edi
	movq	%r12, %rsi
	callq	_dev_set_drvdata
	movl	64(%r12), %edi
	movq	_WM8350_RESET_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_1
## %bb.3:
	movl	64(%r12), %edi
	movq	_WM8350_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_4
LBB0_1:
	movl	%eax, %ebx
	movl	28(%r12), %edi
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_44:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	64(%r12), %edi
	movq	_WM8350_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movl	28(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_6:
	movl	-60(%rbp), %edx
	cmpl	$24899, %edx                    ## imm = 0x6143
	jne	LBB0_7
## %bb.8:
	movl	-56(%rbp), %r13d
	movq	_WM8350_CONF_STS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r13d, %edx
	shrl	$10, %edx
	movq	_WM8350_CUST_ID_MASK@GOTPCREL(%rip), %rax
	movq	_WM8350_CHIP_REV_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r13d, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r9d
	shrl	$12, %r9d
	movl	28(%r12), %edi
	movl	-44(%rbp), %r8d
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %ecx
	andl	%eax, %ecx
	xorl	%ebx, %ebx
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	callq	_dev_info
	andl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_10
## %bb.9:
	movl	28(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_33
LBB0_7:
	movl	28(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_34
LBB0_10:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_28
## %bb.11:
	cmpl	$1, %eax
	je	LBB0_23
## %bb.12:
	testl	%eax, %eax
	jne	LBB0_35
## %bb.13:
	movq	_WM8350_DCDC_6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	movq	_WM8350_ISINK_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_22
## %bb.14:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_21:
	movl	28(%r12), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_30
LBB0_28:
	movq	_WM8350_DCDC_6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	movq	_WM8350_ISINK_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movl	28(%r12), %edi
	cmpl	$4095, %edx                     ## imm = 0xFFF
	ja	LBB0_31
## %bb.29:
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_30
LBB0_23:
	movq	_WM8350_DCDC_4@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	movq	_WM8350_ISINK_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	cmpl	$1, %ecx
	je	LBB0_26
## %bb.24:
	testl	%ecx, %ecx
	jne	LBB0_27
## %bb.25:
	movl	28(%r12), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_30
LBB0_35:
	movl	28(%r12), %edi
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_32
LBB0_31:
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_32
LBB0_26:
	movl	28(%r12), %edi
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_30
LBB0_27:
	movl	28(%r12), %edi
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_32
LBB0_22:
	movl	28(%r12), %edi
	leaq	L_.str.9(%rip), %rsi
LBB0_32:
	xorl	%ebx, %ebx
LBB0_33:
	xorl	%eax, %eax
	callq	_dev_err
LBB0_34:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_44
LBB0_20:
	movl	28(%r12), %edi
	leaq	L_.str.7(%rip), %rsi
LBB0_30:
	xorl	%eax, %eax
	callq	_dev_info
	movl	$1, 8(%r12)
	jmp	LBB0_17
LBB0_19:
	movl	28(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_16
LBB0_15:
	movl	28(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_16:
	xorl	%eax, %eax
	callq	_dev_info
LBB0_17:
	leaq	44(%r12), %rdi
	callq	_mutex_init
	leaq	40(%r12), %rdi
	callq	_init_completion
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_wm8350_irq_init
	testl	%eax, %eax
	js	LBB0_18
## %bb.36:
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_39
## %bb.37:
	movq	_WM8350_IRQ_AUXADC_DATARDY@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_wm8350_auxadc_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.16(%rip), %r8
	xorl	%esi, %esi
	movq	%r12, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	jns	LBB0_39
## %bb.38:
	movl	28(%r12), %edi
	leaq	L_.str.17(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
LBB0_39:
	testq	%r14, %r14
	je	LBB0_43
## %bb.40:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_43
## %bb.41:
	movq	%r12, %rdi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_43
## %bb.42:
	movl	%eax, %ebx
	movl	28(%r12), %edi
	leaq	L_.str.18(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	callq	_wm8350_irq_exit
	jmp	LBB0_44
LBB0_43:
	movq	_WM8350_SYSTEM_INTERRUPTS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_wm8350_reg_write
	leaq	24(%r12), %rdx
	leaq	L_.str.19(%rip), %rsi
	movq	%r12, %rdi
	callq	_wm8350_client_dev_register
	leaq	20(%r12), %rdx
	leaq	L_.str.20(%rip), %rsi
	movq	%r12, %rdi
	callq	_wm8350_client_dev_register
	leaq	16(%r12), %rdx
	leaq	L_.str.21(%rip), %rsi
	movq	%r12, %rdi
	callq	_wm8350_client_dev_register
	leaq	12(%r12), %rdx
	leaq	L_.str.22(%rip), %rsi
	movq	%r12, %rdi
	callq	_wm8350_client_dev_register
	leaq	4(%r12), %rdx
	leaq	L_.str.23(%rip), %rsi
	movq	%r12, %rdi
	callq	_wm8350_client_dev_register
	leaq	L_.str.24(%rip), %rsi
	movq	%r12, %rdi
	movq	%r12, %rdx
	callq	_wm8350_client_dev_register
	jmp	LBB0_44
LBB0_18:
	movl	%eax, %ebx
	jmp	LBB0_44
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_20
	.long	L0_0_set_19
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_WM8350_RESET_ID,4,2            ## @WM8350_RESET_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read ID: %d\n"

	.comm	_WM8350_ID,4,2                  ## @WM8350_ID
	.comm	_WM8350_REVISION,4,2            ## @WM8350_REVISION
L_.str.1:                               ## @.str.1
	.asciz	"Failed to read revision: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Device with ID %x is not a WM8350\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_WM8350_CONF_STS_MASK,4,2       ## @WM8350_CONF_STS_MASK
	.comm	_WM8350_CUST_ID_MASK,4,2        ## @WM8350_CUST_ID_MASK
	.comm	_WM8350_CHIP_REV_MASK,4,2       ## @WM8350_CHIP_REV_MASK
L_.str.3:                               ## @.str.3
	.asciz	"CONF_STS %d, CUST_ID %d, MASK_REV %d, CHIP_REV %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unsupported CUST_ID\n"

	.comm	_WM8350_DCDC_6,8,3              ## @WM8350_DCDC_6
	.comm	_WM8350_ISINK_B,8,3             ## @WM8350_ISINK_B
L_.str.5:                               ## @.str.5
	.asciz	"WM8350 Rev E\n"

L_.str.6:                               ## @.str.6
	.asciz	"WM8350 Rev F\n"

L_.str.7:                               ## @.str.7
	.asciz	"WM8350 Rev G\n"

L_.str.8:                               ## @.str.8
	.asciz	"WM8350 Rev H\n"

L_.str.9:                               ## @.str.9
	.asciz	"Unknown WM8350 CHIP_REV\n"

	.comm	_WM8350_DCDC_4,8,3              ## @WM8350_DCDC_4
	.comm	_WM8350_ISINK_A,8,3             ## @WM8350_ISINK_A
L_.str.10:                              ## @.str.10
	.asciz	"WM8351 Rev A\n"

L_.str.11:                              ## @.str.11
	.asciz	"WM8351 Rev B\n"

L_.str.12:                              ## @.str.12
	.asciz	"Unknown WM8351 CHIP_REV\n"

L_.str.13:                              ## @.str.13
	.asciz	"WM8352 Rev A\n"

L_.str.14:                              ## @.str.14
	.asciz	"Unknown WM8352 CHIP_REV\n"

L_.str.15:                              ## @.str.15
	.asciz	"Unknown MASK_REV\n"

	.comm	_WM8350_IRQ_AUXADC_DATARDY,8,3  ## @WM8350_IRQ_AUXADC_DATARDY
	.comm	_wm8350_auxadc_irq,4,2          ## @wm8350_auxadc_irq
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.16:                              ## @.str.16
	.asciz	"auxadc"

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

L_.str.18:                              ## @.str.18
	.asciz	"Platform init() failed: %d\n"

	.comm	_WM8350_SYSTEM_INTERRUPTS_MASK,4,2 ## @WM8350_SYSTEM_INTERRUPTS_MASK
L_.str.19:                              ## @.str.19
	.asciz	"wm8350-codec"

L_.str.20:                              ## @.str.20
	.asciz	"wm8350-gpio"

L_.str.21:                              ## @.str.21
	.asciz	"wm8350-hwmon"

L_.str.22:                              ## @.str.22
	.asciz	"wm8350-power"

L_.str.23:                              ## @.str.23
	.asciz	"wm8350-rtc"

L_.str.24:                              ## @.str.24
	.asciz	"wm8350-wdt"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wm8350_device_init             ; -- Begin function wm8350_device_init
	.p2align	2
_wm8350_device_init:                    ; @wm8350_device_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #28]
	mov	x1, x19
	bl	_dev_set_drvdata
	ldr	w0, [x19, #64]
Lloh0:
	adrp	x8, _WM8350_RESET_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM8350_RESET_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #44
	bl	_regmap_read
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w0, [x19, #28]
	str	x22, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_2:
	ldr	w0, [x19, #64]
Lloh5:
	adrp	x8, _WM8350_ID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WM8350_ID@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #40
	bl	_regmap_read
	cbz	w0, LBB0_4
; %bb.3:
	mov	x22, x0
	ldr	w0, [x19, #28]
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	w0, [x19, #64]
Lloh10:
	adrp	x8, _WM8350_REVISION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WM8350_REVISION@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #36
	bl	_regmap_read
	cbz	w0, LBB0_8
; %bb.5:
	mov	x22, x0
	ldr	w0, [x19, #28]
	str	x22, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	ldr	w8, [sp, #44]
	mov	w9, #24899
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.9:
	ldr	w8, [sp, #40]
Lloh15:
	adrp	x9, _WM8350_CONF_STS_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WM8350_CONF_STS_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w9, w9, w8
	lsr	w9, w9, #10
Lloh18:
	adrp	x10, _WM8350_CUST_ID_MASK@GOTPAGE
Lloh19:
	ldr	x10, [x10, _WM8350_CUST_ID_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _WM8350_CHIP_REV_MASK@GOTPAGE
Lloh22:
	ldr	x11, [x11, _WM8350_CHIP_REV_MASK@GOTPAGEOFF]
	and	w24, w10, w8
Lloh23:
	ldr	w10, [x11]
	and	w23, w10, w8
	lsr	w22, w23, #12
	ldr	w0, [x19, #28]
	ldr	w8, [sp, #36]
	stp	x8, x22, [sp, #16]
	stp	x9, x24, [sp]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_info
	cbz	w24, LBB0_13
; %bb.10:
	ldr	w0, [x19, #28]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldr	w0, [x19, #28]
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_12:
	bl	_dev_err
Lloh30:
	adrp	x8, _ENODEV@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_7
LBB0_13:
	ldr	w8, [sp, #36]
	cmp	w8, #2
	b.eq	LBB0_19
; %bb.14:
	cmp	w8, #1
	b.eq	LBB0_21
; %bb.15:
	cbnz	w8, LBB0_24
; %bb.16:
Lloh33:
	adrp	x8, _WM8350_DCDC_6@GOTPAGE
Lloh34:
	ldr	x8, [x8, _WM8350_DCDC_6@GOTPAGEOFF]
Lloh35:
	adrp	x9, _WM8350_ISINK_B@GOTPAGE
Lloh36:
	ldr	x9, [x9, _WM8350_ISINK_B@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
Lloh38:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #48]
	sub	w8, w22, #128
	cmp	w8, #3
	b.hi	LBB0_28
; %bb.17:
Lloh39:
	adrp	x9, lJTI0_0@PAGE
Lloh40:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
	ldr	w0, [x19, #28]
Lloh41:
	adrp	x1, l_.str.8@PAGE
Lloh42:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_30
LBB0_19:
Lloh43:
	adrp	x8, _WM8350_DCDC_6@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WM8350_DCDC_6@GOTPAGEOFF]
Lloh45:
	adrp	x9, _WM8350_ISINK_B@GOTPAGE
Lloh46:
	ldr	x9, [x9, _WM8350_ISINK_B@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
Lloh48:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #48]
	ldr	w0, [x19, #28]
	cmp	w23, #4095
	b.hi	LBB0_25
; %bb.20:
Lloh49:
	adrp	x1, l_.str.13@PAGE
Lloh50:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_30
LBB0_21:
Lloh51:
	adrp	x8, _WM8350_DCDC_4@GOTPAGE
Lloh52:
	ldr	x8, [x8, _WM8350_DCDC_4@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
Lloh54:
	adrp	x9, _WM8350_ISINK_A@GOTPAGE
Lloh55:
	ldr	x9, [x9, _WM8350_ISINK_A@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #48]
	cmp	w22, #1
	b.eq	LBB0_26
; %bb.22:
	cbnz	w22, LBB0_27
; %bb.23:
	ldr	w0, [x19, #28]
Lloh57:
	adrp	x1, l_.str.10@PAGE
Lloh58:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_30
LBB0_24:
	ldr	w0, [x19, #28]
Lloh59:
	adrp	x1, l_.str.15@PAGE
Lloh60:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_12
LBB0_25:
Lloh61:
	adrp	x1, l_.str.14@PAGE
Lloh62:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_12
LBB0_26:
	ldr	w0, [x19, #28]
Lloh63:
	adrp	x1, l_.str.11@PAGE
Lloh64:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_30
LBB0_27:
	ldr	w0, [x19, #28]
Lloh65:
	adrp	x1, l_.str.12@PAGE
Lloh66:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_12
LBB0_28:
	ldr	w0, [x19, #28]
Lloh67:
	adrp	x1, l_.str.9@PAGE
Lloh68:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_12
LBB0_29:
	ldr	w0, [x19, #28]
Lloh69:
	adrp	x1, l_.str.7@PAGE
Lloh70:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_30:
	bl	_dev_info
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_34
LBB0_31:
	ldr	w0, [x19, #28]
Lloh71:
	adrp	x1, l_.str.6@PAGE
Lloh72:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_33
LBB0_32:
	ldr	w0, [x19, #28]
Lloh73:
	adrp	x1, l_.str.5@PAGE
Lloh74:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_33:
	bl	_dev_info
LBB0_34:
	add	x0, x19, #44
	bl	_mutex_init
	add	x0, x19, #40
	bl	_init_completion
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_wm8350_irq_init
	tbnz	w0, #31, LBB0_43
; %bb.35:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_38
; %bb.36:
Lloh75:
	adrp	x9, _WM8350_IRQ_AUXADC_DATARDY@GOTPAGE
Lloh76:
	ldr	x9, [x9, _WM8350_IRQ_AUXADC_DATARDY@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	add	x0, x9, x8
Lloh78:
	adrp	x8, _wm8350_auxadc_irq@GOTPAGE
Lloh79:
	ldr	x8, [x8, _wm8350_auxadc_irq@GOTPAGEOFF]
Lloh80:
	ldr	w2, [x8]
Lloh81:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh82:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh83:
	ldr	w3, [x8]
Lloh84:
	adrp	x4, l_.str.16@PAGE
Lloh85:
	add	x4, x4, l_.str.16@PAGEOFF
	mov	x1, #0
	mov	x5, x19
	bl	_request_threaded_irq
	tbz	w0, #31, LBB0_38
; %bb.37:
	mov	x2, x0
	ldr	w0, [x19, #28]
Lloh86:
	adrp	x1, l_.str.17@PAGE
Lloh87:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_dev_warn
LBB0_38:
	cbz	x20, LBB0_42
; %bb.39:
	ldr	x8, [x20]
	cbz	x8, LBB0_42
; %bb.40:
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_42
; %bb.41:
	mov	x22, x0
	ldr	w0, [x19, #28]
	str	x22, [sp]
Lloh88:
	adrp	x1, l_.str.18@PAGE
Lloh89:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_dev_err
	mov	x0, x19
	bl	_wm8350_irq_exit
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_7
LBB0_42:
Lloh90:
	adrp	x8, _WM8350_SYSTEM_INTERRUPTS_MASK@GOTPAGE
Lloh91:
	ldr	x8, [x8, _WM8350_SYSTEM_INTERRUPTS_MASK@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_wm8350_reg_write
	add	x2, x19, #24
Lloh93:
	adrp	x1, l_.str.19@PAGE
Lloh94:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x19
	bl	_wm8350_client_dev_register
	add	x2, x19, #20
Lloh95:
	adrp	x1, l_.str.20@PAGE
Lloh96:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	bl	_wm8350_client_dev_register
	add	x2, x19, #16
Lloh97:
	adrp	x1, l_.str.21@PAGE
Lloh98:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x19
	bl	_wm8350_client_dev_register
	add	x2, x19, #12
Lloh99:
	adrp	x1, l_.str.22@PAGE
Lloh100:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x19
	bl	_wm8350_client_dev_register
	add	x2, x19, #4
Lloh101:
	adrp	x1, l_.str.23@PAGE
Lloh102:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x19
	bl	_wm8350_client_dev_register
Lloh103:
	adrp	x1, l_.str.24@PAGE
Lloh104:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_wm8350_client_dev_register
	mov	w22, #0
	b	LBB0_7
LBB0_43:
	mov	x22, x0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh47
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_29-LBB0_18)>>2
	.byte	(LBB0_31-LBB0_18)>>2
	.byte	(LBB0_32-LBB0_18)>>2
                                        ; -- End function
	.comm	_WM8350_RESET_ID,4,2            ; @WM8350_RESET_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read ID: %d\n"

	.comm	_WM8350_ID,4,2                  ; @WM8350_ID
	.comm	_WM8350_REVISION,4,2            ; @WM8350_REVISION
l_.str.1:                               ; @.str.1
	.asciz	"Failed to read revision: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Device with ID %x is not a WM8350\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_WM8350_CONF_STS_MASK,4,2       ; @WM8350_CONF_STS_MASK
	.comm	_WM8350_CUST_ID_MASK,4,2        ; @WM8350_CUST_ID_MASK
	.comm	_WM8350_CHIP_REV_MASK,4,2       ; @WM8350_CHIP_REV_MASK
l_.str.3:                               ; @.str.3
	.asciz	"CONF_STS %d, CUST_ID %d, MASK_REV %d, CHIP_REV %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unsupported CUST_ID\n"

	.comm	_WM8350_DCDC_6,8,3              ; @WM8350_DCDC_6
	.comm	_WM8350_ISINK_B,8,3             ; @WM8350_ISINK_B
l_.str.5:                               ; @.str.5
	.asciz	"WM8350 Rev E\n"

l_.str.6:                               ; @.str.6
	.asciz	"WM8350 Rev F\n"

l_.str.7:                               ; @.str.7
	.asciz	"WM8350 Rev G\n"

l_.str.8:                               ; @.str.8
	.asciz	"WM8350 Rev H\n"

l_.str.9:                               ; @.str.9
	.asciz	"Unknown WM8350 CHIP_REV\n"

	.comm	_WM8350_DCDC_4,8,3              ; @WM8350_DCDC_4
	.comm	_WM8350_ISINK_A,8,3             ; @WM8350_ISINK_A
l_.str.10:                              ; @.str.10
	.asciz	"WM8351 Rev A\n"

l_.str.11:                              ; @.str.11
	.asciz	"WM8351 Rev B\n"

l_.str.12:                              ; @.str.12
	.asciz	"Unknown WM8351 CHIP_REV\n"

l_.str.13:                              ; @.str.13
	.asciz	"WM8352 Rev A\n"

l_.str.14:                              ; @.str.14
	.asciz	"Unknown WM8352 CHIP_REV\n"

l_.str.15:                              ; @.str.15
	.asciz	"Unknown MASK_REV\n"

	.comm	_WM8350_IRQ_AUXADC_DATARDY,8,3  ; @WM8350_IRQ_AUXADC_DATARDY
	.comm	_wm8350_auxadc_irq,4,2          ; @wm8350_auxadc_irq
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.16:                              ; @.str.16
	.asciz	"auxadc"

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

l_.str.18:                              ; @.str.18
	.asciz	"Platform init() failed: %d\n"

	.comm	_WM8350_SYSTEM_INTERRUPTS_MASK,4,2 ; @WM8350_SYSTEM_INTERRUPTS_MASK
l_.str.19:                              ; @.str.19
	.asciz	"wm8350-codec"

l_.str.20:                              ; @.str.20
	.asciz	"wm8350-gpio"

l_.str.21:                              ; @.str.21
	.asciz	"wm8350-hwmon"

l_.str.22:                              ; @.str.22
	.asciz	"wm8350-power"

l_.str.23:                              ; @.str.23
	.asciz	"wm8350-rtc"

l_.str.24:                              ; @.str.24
	.asciz	"wm8350-wdt"

.subsections_via_symbols
