	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bxtwc_probe
_bxtwc_probe:                           ## @bxtwc_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
	callq	_ACPI_HANDLE
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %rcx
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_acpi_evaluate_integer
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_2:
	movq	-40(%rbp), %rdx
	movq	_BROXTON_PMIC_WC_HRV@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_9
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %r15
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_12
## %bb.5:
	movl	%ebx, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dev_set_drvdata
	movq	%r14, 40(%r15)
	movq	_bxtwc_regmap_config@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_devm_regmap_init
	movl	%eax, 4(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	4(%r15), %esi
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movl	%esi, %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
LBB0_7:
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_11:
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_14:
	movl	(%r15), %edx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %r12
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%r12), %ecx
	leaq	12(%r15), %rax
	movq	%rax, (%rsp)
	movq	_bxtwc_regmap_irq_chip@GOTPCREL(%rip), %r9
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_devm_regmap_add_irq_chip
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_30
LBB0_16:
	movl	12(%r15), %esi
	movq	_BXTWC_PWRBTN_LVL1_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	leaq	32(%r15), %r9
	movq	_bxtwc_regmap_irq_chip_pwrbtn@GOTPCREL(%rip), %r8
	movq	%r15, %rdi
	callq	_bxtwc_add_chained_irq_chip
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_30
LBB0_18:
	movl	12(%r15), %esi
	movq	_BXTWC_TMU_LVL1_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	leaq	28(%r15), %r9
	movq	_bxtwc_regmap_irq_chip_tmu@GOTPCREL(%rip), %r8
	movq	%r15, %rdi
	callq	_bxtwc_add_chained_irq_chip
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_30
LBB0_20:
	movl	12(%r15), %esi
	movq	_BXTWC_BCU_LVL1_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	leaq	24(%r15), %r9
	movq	_bxtwc_regmap_irq_chip_bcu@GOTPCREL(%rip), %r8
	movq	%r15, %rdi
	callq	_bxtwc_add_chained_irq_chip
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_30
LBB0_22:
	movl	12(%r15), %esi
	movq	_BXTWC_ADC_LVL1_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	leaq	20(%r15), %r9
	movq	_bxtwc_regmap_irq_chip_adc@GOTPCREL(%rip), %r8
	movq	%r15, %rdi
	callq	_bxtwc_add_chained_irq_chip
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_30
LBB0_24:
	movl	12(%r15), %esi
	movq	_BXTWC_CHGR_LVL1_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	leaq	16(%r15), %r9
	movq	_bxtwc_regmap_irq_chip_chgr@GOTPCREL(%rip), %r8
	movq	%r15, %rdi
	callq	_bxtwc_add_chained_irq_chip
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_30
LBB0_26:
	movl	12(%r15), %esi
	movq	_BXTWC_CRIT_LVL1_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r15, %r9
	addq	$8, %r9
	movq	_bxtwc_regmap_irq_chip_crit@GOTPCREL(%rip), %r8
	movq	%r15, %rdi
	callq	_bxtwc_add_chained_irq_chip
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	movl	%eax, %ebx
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_30
LBB0_28:
	movq	_PLATFORM_DEVID_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_bxt_wc_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	$0, (%rsp)
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_devm_mfd_add_devices
	testl	%eax, %eax
	je	LBB0_31
## %bb.29:
	movl	%eax, %ebx
	leaq	L_.str.11(%rip), %rsi
LBB0_30:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_12
LBB0_31:
	movq	_bxtwc_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_33
## %bb.32:
	movl	%eax, %ebx
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_7
LBB0_33:
	movl	4(%r15), %edi
	movq	_BXTWC_MIRQLVL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BXTWC_MIRQLVL1_MCHGR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_HRV"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to get PMIC hardware revision\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_BROXTON_PMIC_WC_HRV,8,3        ## @BROXTON_PMIC_WC_HRV
L_.str.2:                               ## @.str.2
	.asciz	"Invalid PMIC hardware revision: %llu\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bxtwc_regmap_config,4,2        ## @bxtwc_regmap_config
L_.str.3:                               ## @.str.3
	.asciz	"Failed to initialise regmap: %d\n"

	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_bxtwc_regmap_irq_chip,4,2      ## @bxtwc_regmap_irq_chip
L_.str.4:                               ## @.str.4
	.asciz	"Failed to add IRQ chip\n"

	.comm	_BXTWC_PWRBTN_LVL1_IRQ,4,2      ## @BXTWC_PWRBTN_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_pwrbtn,4,2 ## @bxtwc_regmap_irq_chip_pwrbtn
L_.str.5:                               ## @.str.5
	.asciz	"Failed to add PWRBTN IRQ chip\n"

	.comm	_BXTWC_TMU_LVL1_IRQ,4,2         ## @BXTWC_TMU_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_tmu,4,2  ## @bxtwc_regmap_irq_chip_tmu
L_.str.6:                               ## @.str.6
	.asciz	"Failed to add TMU IRQ chip\n"

	.comm	_BXTWC_BCU_LVL1_IRQ,4,2         ## @BXTWC_BCU_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_bcu,4,2  ## @bxtwc_regmap_irq_chip_bcu
L_.str.7:                               ## @.str.7
	.asciz	"Failed to add BUC IRQ chip\n"

	.comm	_BXTWC_ADC_LVL1_IRQ,4,2         ## @BXTWC_ADC_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_adc,4,2  ## @bxtwc_regmap_irq_chip_adc
L_.str.8:                               ## @.str.8
	.asciz	"Failed to add ADC IRQ chip\n"

	.comm	_BXTWC_CHGR_LVL1_IRQ,4,2        ## @BXTWC_CHGR_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_chgr,4,2 ## @bxtwc_regmap_irq_chip_chgr
L_.str.9:                               ## @.str.9
	.asciz	"Failed to add CHGR IRQ chip\n"

	.comm	_BXTWC_CRIT_LVL1_IRQ,4,2        ## @BXTWC_CRIT_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_crit,4,2 ## @bxtwc_regmap_irq_chip_crit
L_.str.10:                              ## @.str.10
	.asciz	"Failed to add CRIT IRQ chip\n"

	.comm	_PLATFORM_DEVID_NONE,4,2        ## @PLATFORM_DEVID_NONE
	.comm	_bxt_wc_dev,4,2                 ## @bxt_wc_dev
L_.str.11:                              ## @.str.11
	.asciz	"Failed to add devices\n"

	.comm	_bxtwc_group,4,2                ## @bxtwc_group
L_.str.12:                              ## @.str.12
	.asciz	"Failed to create sysfs group %d\n"

	.comm	_BXTWC_MIRQLVL1,4,2             ## @BXTWC_MIRQLVL1
	.comm	_BXTWC_MIRQLVL1_MCHGR,4,2       ## @BXTWC_MIRQLVL1_MCHGR
	.no_dead_strip	_bxtwc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bxtwc_probe
_bxtwc_probe:                           ; @bxtwc_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
	bl	_ACPI_HANDLE
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x2, #0
	bl	_acpi_evaluate_integer
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldr	x8, [sp, #8]
Lloh4:
	adrp	x9, _BROXTON_PMIC_WC_HRV@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BROXTON_PMIC_WC_HRV@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_11
; %bb.4:
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x21, x0
	tbnz	w0, #31, LBB0_10
; %bb.5:
	str	w21, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	str	x19, [x20, #40]
Lloh10:
	adrp	x3, _bxtwc_regmap_config@GOTPAGE
Lloh11:
	ldr	x3, [x3, _bxtwc_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x20
	bl	_devm_regmap_init
	str	w0, [x20, #4]
	bl	_IS_ERR
	ldr	w1, [x20, #4]
	cbz	x0, LBB0_12
; %bb.6:
	mov	x0, x1
	bl	_PTR_ERR
	mov	x21, x0
	str	x21, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_28
LBB0_7:
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	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_11:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
	mov	x6, x20
	ldr	w2, [x6], #12
Lloh20:
	adrp	x22, _IRQF_ONESHOT@GOTPAGE
Lloh21:
	ldr	x22, [x22, _IRQF_ONESHOT@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh22:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh25:
	adrp	x5, _bxtwc_regmap_irq_chip@GOTPAGE
Lloh26:
	ldr	x5, [x5, _bxtwc_regmap_irq_chip@GOTPAGEOFF]
	mov	x0, x19
	mov	w4, #0
	bl	_devm_regmap_add_irq_chip
	cbz	w0, LBB0_14
; %bb.13:
	mov	x21, x0
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_28
LBB0_14:
	ldr	w1, [x20, #12]
Lloh29:
	adrp	x8, _BXTWC_PWRBTN_LVL1_IRQ@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BXTWC_PWRBTN_LVL1_IRQ@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	ldr	w3, [x22]
	add	x5, x20, #32
Lloh32:
	adrp	x4, _bxtwc_regmap_irq_chip_pwrbtn@GOTPAGE
Lloh33:
	ldr	x4, [x4, _bxtwc_regmap_irq_chip_pwrbtn@GOTPAGEOFF]
	mov	x0, x20
	bl	_bxtwc_add_chained_irq_chip
	cbz	w0, LBB0_16
; %bb.15:
	mov	x21, x0
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_28
LBB0_16:
	ldr	w1, [x20, #12]
Lloh36:
	adrp	x8, _BXTWC_TMU_LVL1_IRQ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BXTWC_TMU_LVL1_IRQ@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	ldr	w3, [x22]
	add	x5, x20, #28
Lloh39:
	adrp	x4, _bxtwc_regmap_irq_chip_tmu@GOTPAGE
Lloh40:
	ldr	x4, [x4, _bxtwc_regmap_irq_chip_tmu@GOTPAGEOFF]
	mov	x0, x20
	bl	_bxtwc_add_chained_irq_chip
	cbz	w0, LBB0_18
; %bb.17:
	mov	x21, x0
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_28
LBB0_18:
	ldr	w1, [x20, #12]
Lloh43:
	adrp	x8, _BXTWC_BCU_LVL1_IRQ@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BXTWC_BCU_LVL1_IRQ@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	ldr	w3, [x22]
	add	x5, x20, #24
Lloh46:
	adrp	x4, _bxtwc_regmap_irq_chip_bcu@GOTPAGE
Lloh47:
	ldr	x4, [x4, _bxtwc_regmap_irq_chip_bcu@GOTPAGEOFF]
	mov	x0, x20
	bl	_bxtwc_add_chained_irq_chip
	cbz	w0, LBB0_20
; %bb.19:
	mov	x21, x0
Lloh48:
	adrp	x1, l_.str.7@PAGE
Lloh49:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_28
LBB0_20:
	ldr	w1, [x20, #12]
Lloh50:
	adrp	x8, _BXTWC_ADC_LVL1_IRQ@GOTPAGE
Lloh51:
	ldr	x8, [x8, _BXTWC_ADC_LVL1_IRQ@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	ldr	w3, [x22]
	add	x5, x20, #20
Lloh53:
	adrp	x4, _bxtwc_regmap_irq_chip_adc@GOTPAGE
Lloh54:
	ldr	x4, [x4, _bxtwc_regmap_irq_chip_adc@GOTPAGEOFF]
	mov	x0, x20
	bl	_bxtwc_add_chained_irq_chip
	cbz	w0, LBB0_22
; %bb.21:
	mov	x21, x0
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_28
LBB0_22:
	ldr	w1, [x20, #12]
Lloh57:
	adrp	x8, _BXTWC_CHGR_LVL1_IRQ@GOTPAGE
Lloh58:
	ldr	x8, [x8, _BXTWC_CHGR_LVL1_IRQ@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	ldr	w3, [x22]
	add	x5, x20, #16
Lloh60:
	adrp	x4, _bxtwc_regmap_irq_chip_chgr@GOTPAGE
Lloh61:
	ldr	x4, [x4, _bxtwc_regmap_irq_chip_chgr@GOTPAGEOFF]
	mov	x0, x20
	bl	_bxtwc_add_chained_irq_chip
	cbz	w0, LBB0_24
; %bb.23:
	mov	x21, x0
Lloh62:
	adrp	x1, l_.str.9@PAGE
Lloh63:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_28
LBB0_24:
	ldr	w1, [x20, #12]
Lloh64:
	adrp	x8, _BXTWC_CRIT_LVL1_IRQ@GOTPAGE
Lloh65:
	ldr	x8, [x8, _BXTWC_CRIT_LVL1_IRQ@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
	ldr	w3, [x22]
	add	x5, x20, #8
Lloh67:
	adrp	x4, _bxtwc_regmap_irq_chip_crit@GOTPAGE
Lloh68:
	ldr	x4, [x4, _bxtwc_regmap_irq_chip_crit@GOTPAGEOFF]
	mov	x0, x20
	bl	_bxtwc_add_chained_irq_chip
	cbz	w0, LBB0_26
; %bb.25:
	mov	x21, x0
Lloh69:
	adrp	x1, l_.str.10@PAGE
Lloh70:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_28
LBB0_26:
Lloh71:
	adrp	x8, _PLATFORM_DEVID_NONE@GOTPAGE
Lloh72:
	ldr	x8, [x8, _PLATFORM_DEVID_NONE@GOTPAGEOFF]
Lloh73:
	ldr	w21, [x8]
Lloh74:
	adrp	x8, _bxt_wc_dev@GOTPAGE
Lloh75:
	ldr	x8, [x8, _bxt_wc_dev@GOTPAGEOFF]
Lloh76:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_devm_mfd_add_devices
	cbz	w0, LBB0_29
; %bb.27:
	mov	x21, x0
Lloh77:
	adrp	x1, l_.str.11@PAGE
Lloh78:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_28:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_29:
Lloh79:
	adrp	x1, _bxtwc_group@GOTPAGE
Lloh80:
	ldr	x1, [x1, _bxtwc_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbz	w0, LBB0_31
; %bb.30:
	str	x21, [sp]
Lloh81:
	adrp	x1, l_.str.12@PAGE
Lloh82:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_10
LBB0_31:
	ldr	w0, [x20, #4]
Lloh83:
	adrp	x8, _BXTWC_MIRQLVL1@GOTPAGE
Lloh84:
	ldr	x8, [x8, _BXTWC_MIRQLVL1@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
Lloh86:
	adrp	x8, _BXTWC_MIRQLVL1_MCHGR@GOTPAGE
Lloh87:
	ldr	x8, [x8, _BXTWC_MIRQLVL1_MCHGR@GOTPAGEOFF]
Lloh88:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_regmap_update_bits
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_HRV"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to get PMIC hardware revision\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_BROXTON_PMIC_WC_HRV,8,3        ; @BROXTON_PMIC_WC_HRV
l_.str.2:                               ; @.str.2
	.asciz	"Invalid PMIC hardware revision: %llu\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bxtwc_regmap_config,4,2        ; @bxtwc_regmap_config
l_.str.3:                               ; @.str.3
	.asciz	"Failed to initialise regmap: %d\n"

	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_bxtwc_regmap_irq_chip,4,2      ; @bxtwc_regmap_irq_chip
l_.str.4:                               ; @.str.4
	.asciz	"Failed to add IRQ chip\n"

	.comm	_BXTWC_PWRBTN_LVL1_IRQ,4,2      ; @BXTWC_PWRBTN_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_pwrbtn,4,2 ; @bxtwc_regmap_irq_chip_pwrbtn
l_.str.5:                               ; @.str.5
	.asciz	"Failed to add PWRBTN IRQ chip\n"

	.comm	_BXTWC_TMU_LVL1_IRQ,4,2         ; @BXTWC_TMU_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_tmu,4,2  ; @bxtwc_regmap_irq_chip_tmu
l_.str.6:                               ; @.str.6
	.asciz	"Failed to add TMU IRQ chip\n"

	.comm	_BXTWC_BCU_LVL1_IRQ,4,2         ; @BXTWC_BCU_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_bcu,4,2  ; @bxtwc_regmap_irq_chip_bcu
l_.str.7:                               ; @.str.7
	.asciz	"Failed to add BUC IRQ chip\n"

	.comm	_BXTWC_ADC_LVL1_IRQ,4,2         ; @BXTWC_ADC_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_adc,4,2  ; @bxtwc_regmap_irq_chip_adc
l_.str.8:                               ; @.str.8
	.asciz	"Failed to add ADC IRQ chip\n"

	.comm	_BXTWC_CHGR_LVL1_IRQ,4,2        ; @BXTWC_CHGR_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_chgr,4,2 ; @bxtwc_regmap_irq_chip_chgr
l_.str.9:                               ; @.str.9
	.asciz	"Failed to add CHGR IRQ chip\n"

	.comm	_BXTWC_CRIT_LVL1_IRQ,4,2        ; @BXTWC_CRIT_LVL1_IRQ
	.comm	_bxtwc_regmap_irq_chip_crit,4,2 ; @bxtwc_regmap_irq_chip_crit
l_.str.10:                              ; @.str.10
	.asciz	"Failed to add CRIT IRQ chip\n"

	.comm	_PLATFORM_DEVID_NONE,4,2        ; @PLATFORM_DEVID_NONE
	.comm	_bxt_wc_dev,4,2                 ; @bxt_wc_dev
l_.str.11:                              ; @.str.11
	.asciz	"Failed to add devices\n"

	.comm	_bxtwc_group,4,2                ; @bxtwc_group
l_.str.12:                              ; @.str.12
	.asciz	"Failed to create sysfs group %d\n"

	.comm	_BXTWC_MIRQLVL1,4,2             ; @BXTWC_MIRQLVL1
	.comm	_BXTWC_MIRQLVL1_MCHGR,4,2       ; @BXTWC_MIRQLVL1_MCHGR
	.no_dead_strip	_bxtwc_probe
.subsections_via_symbols
