	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twl_probe
_twl_probe:                             ## @twl_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, %r14
	movq	%rdi, %r12
	callq	_dev_get_platdata
	movq	%rax, %rbx
	movq	(%r12), %r15
	testq	%r15, %r15
	jne	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_twl_priv@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	je	LBB0_7
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_5:
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%edx, %edi
	movl	$-1, %esi
	callq	_platform_device_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rax, %r13
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_platform_device_add
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_platform_device_put
	jmp	LBB0_6
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	movl	24(%r12), %edi
	movq	_I2C_FUNC_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testq	%rax, %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.12:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_devm_kzalloc
	movq	_twl_priv@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ENOMEM@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_26
## %bb.13:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	_TWL6030_CLASS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_17
## %bb.14:
	movq	_TWL6030_CLASS_ID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 24(%rax)
	movq	_twl6030_map@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 16(%rax)
	movq	_TWL6032_SUBCLASS@GOTPCREL(%rip), %rsi
	movq	_twl6030_regmap_config@GOTPCREL(%rip), %rax
	testl	%ecx, (%rsi)
	je	LBB0_18
## %bb.15:
	movq	_TWL6032_BASEADD_CHARGER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_TWL_MODULE_MAIN_CHARGE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%ecx, (%rdx,%rsi,4)
	jmp	LBB0_18
LBB0_16:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_EIO@GOTPCREL(%rip), %r14
	jmp	LBB0_26
LBB0_17:
	movq	_TWL4030_CLASS_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_twl4030_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
	movq	_twl4030_regmap_config@GOTPCREL(%rip), %rax
LBB0_18:
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_twl_get_num_slaves
	movl	%eax, %r13d
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	$16, %edx
	callq	_devm_kcalloc
	movq	%rax, %rbx
	movq	_twl_priv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, 8(%rax)
	testq	%rbx, %rbx
	je	LBB0_26
## %bb.19:
	testl	%r13d, %r13d
	je	LBB0_28
## %bb.20:
	movl	%r13d, %eax
	decq	%rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$2, %r14d
	xorl	%r13d, %r13d
	testq	%r13, %r13
	je	LBB0_22
LBB0_21:
	movl	24(%r12), %edi
	movq	16(%r12), %rsi
	addq	%r13, %rsi
	callq	_i2c_new_dummy_device
	movq	%rax, (%rbx,%r14,4)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_23
	jmp	LBB0_37
LBB0_22:
	movq	%r12, 8(%rbx)
LBB0_23:
	movq	(%rbx,%r14,4), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_devm_regmap_init_i2c
	movq	%rax, -8(%rbx,%r14,4)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_30
## %bb.24:
	movq	_twl_priv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r13, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_28
## %bb.25:
	movq	8(%rax), %rbx
	addq	$4, -80(%rbp)                   ## 8-byte Folded Spill
	addq	$4, %r14
	incq	%r13
	testq	%r13, %r13
	jne	LBB0_21
	jmp	LBB0_22
LBB0_26:
	movl	(%r14), %eax
	movl	%eax, %r14d
	negl	%r14d
	testl	%eax, %eax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_6
LBB0_27:
	movq	%r13, %rdi
	callq	_platform_device_unregister
	jmp	LBB0_6
LBB0_28:
	movl	$1, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:
	movq	8(%rax), %rsi
	jmp	LBB0_32
LBB0_30:
	movq	-8(%rbx,%r14,4), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_47
LBB0_31:
	xorl	%esi, %esi
LBB0_32:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_clocks_init
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_twl_class_is_4030
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	xorl	%eax, %eax
	callq	_twl_read_idcode_register
	shrl	$31, %eax
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edi
	callq	_WARN
LBB0_34:
	cmpq	$0, 8(%r12)
	je	LBB0_40
## %bb.35:
	xorl	%eax, %eax
	callq	_twl_class_is_4030
	testq	%rax, %rax
	je	LBB0_38
## %bb.36:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	callq	_twl4030_init_chip_irq
	movq	8(%r12), %rsi
	movq	%r12, %rdi
	callq	_twl4030_init_irq
	jmp	LBB0_39
LBB0_37:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	(%rbx,%r14,4), %rdi
	callq	_PTR_ERR
	jmp	LBB0_46
LBB0_38:
	movq	8(%r12), %rsi
	movq	%r12, %rdi
	callq	_twl6030_init_irq
LBB0_39:
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_51
LBB0_40:
	xorl	%eax, %eax
	callq	_twl_class_is_4030
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:
	movq	_TWL4030_MODULE_INTBR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_GPPUPDCTR1@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-44(%rbp), %rsi
	callq	_twl_i2c_read_u8
	movq	_SR_I2C_SDA_CTRL_PU@GOTPCREL(%rip), %rax
	movq	_SR_I2C_SCL_CTRL_PU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_I2C_SDA_CTRL_PU@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_I2C_SCL_CTRL_PU@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	notl	%esi
	andl	-44(%rbp), %esi
	movl	%esi, -44(%rbp)
	movq	_TWL4030_MODULE_INTBR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	callq	_twl_i2c_write_u8
	movq	_TWL_MODULE_PM_RECEIVER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_TWL4030_DCDC_GLOBAL_CFG@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-44(%rbp), %rsi
	callq	_twl_i2c_read_u8
	movq	_SMARTREFLEX_ENABLE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %esi
	orl	(%rax), %esi
	movl	%esi, -44(%rbp)
	movl	(%rbx), %edi
	movl	(%r13), %edx
	callq	_twl_i2c_write_u8
LBB0_42:
	testq	%r15, %r15
	je	LBB0_45
## %bb.43:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_48
## %bb.44:
	movl	(%rax), %eax
	movq	_twl_auxdata_lookup@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%eax, (%rdx)
	jmp	LBB0_49
LBB0_45:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_add_children
LBB0_46:
	movl	%eax, %r14d
LBB0_47:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_50
LBB0_48:
	movq	_twl_auxdata_lookup@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_49:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r12, %rcx
	callq	_of_platform_populate
	movl	%eax, %r14d
LBB0_50:
	testl	%r14d, %r14d
	jns	LBB0_6
LBB0_51:
	movq	%r12, %rdi
	callq	_twl_remove
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no platform data\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_twl_priv,8,3                   ## @twl_priv
L_.str.1:                               ## @.str.1
	.asciz	"only one instance of %s allowed\n"

	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.2:                               ## @.str.2
	.asciz	"can't alloc pdev\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_I2C_FUNC_I2C,4,2               ## @I2C_FUNC_I2C
L_.str.3:                               ## @.str.3
	.asciz	"can't talk I2C?\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_TWL6030_CLASS,4,2              ## @TWL6030_CLASS
	.comm	_TWL6030_CLASS_ID,4,2           ## @TWL6030_CLASS_ID
	.comm	_twl6030_map,8,3                ## @twl6030_map
	.comm	_TWL6032_SUBCLASS,4,2           ## @TWL6032_SUBCLASS
	.comm	_TWL6032_BASEADD_CHARGER,4,2    ## @TWL6032_BASEADD_CHARGER
	.comm	_TWL_MODULE_MAIN_CHARGE,8,3     ## @TWL_MODULE_MAIN_CHARGE
	.comm	_twl6030_regmap_config,8,3      ## @twl6030_regmap_config
	.comm	_TWL4030_CLASS_ID,4,2           ## @TWL4030_CLASS_ID
	.comm	_twl4030_map,8,3                ## @twl4030_map
	.comm	_twl4030_regmap_config,8,3      ## @twl4030_regmap_config
L_.str.4:                               ## @.str.4
	.asciz	"can't attach client %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to allocate regmap %d, err: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"Error: reading twl_idcode register value\n"

	.comm	_TWL4030_MODULE_INTBR,4,2       ## @TWL4030_MODULE_INTBR
	.comm	_REG_GPPUPDCTR1,4,2             ## @REG_GPPUPDCTR1
	.comm	_SR_I2C_SDA_CTRL_PU,4,2         ## @SR_I2C_SDA_CTRL_PU
	.comm	_SR_I2C_SCL_CTRL_PU,4,2         ## @SR_I2C_SCL_CTRL_PU
	.comm	_I2C_SDA_CTRL_PU,4,2            ## @I2C_SDA_CTRL_PU
	.comm	_I2C_SCL_CTRL_PU,4,2            ## @I2C_SCL_CTRL_PU
	.comm	_TWL_MODULE_PM_RECEIVER,4,2     ## @TWL_MODULE_PM_RECEIVER
	.comm	_TWL4030_DCDC_GLOBAL_CFG,4,2    ## @TWL4030_DCDC_GLOBAL_CFG
	.comm	_SMARTREFLEX_ENABLE,4,2         ## @SMARTREFLEX_ENABLE
	.comm	_twl_auxdata_lookup,8,3         ## @twl_auxdata_lookup
	.no_dead_strip	_twl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twl_probe
_twl_probe:                             ; @twl_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	x23, x1
	mov	x20, x0
	bl	_dev_get_platdata
	ldr	x21, [x20]
	cmp	x21, #0
	ccmp	x0, #0, #0, eq
	b.eq	LBB0_3
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x27, _twl_priv@GOTPAGE
Lloh1:
	ldr	x27, [x27, _twl_priv@GOTPAGEOFF]
	ldr	x8, [x27]
Lloh2:
	adrp	x9, _DRIVER_NAME@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DRIVER_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
	cbz	x8, LBB0_6
; %bb.2:
	str	x0, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_5:
	mov	x0, x24
	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_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #-1
	bl	_platform_device_alloc
	cbz	x0, LBB0_9
; %bb.7:
	mov	x19, x0
	bl	_platform_device_add
	cbz	w0, LBB0_10
; %bb.8:
	mov	x24, x0
	mov	x0, x19
	bl	_platform_device_put
	b	LBB0_5
LBB0_9:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
	ldr	w0, [x20, #24]
Lloh17:
	adrp	x8, _I2C_FUNC_I2C@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I2C_FUNC_I2C@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	x0, LBB0_16
; %bb.11:
Lloh20:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh21:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x20
	mov	w1, #4
	bl	_devm_kzalloc
	str	x0, [x27]
	cbz	x0, LBB0_26
; %bb.12:
	ldr	w8, [x23]
Lloh22:
	adrp	x9, _TWL6030_CLASS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TWL6030_CLASS@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.13:
Lloh25:
	adrp	x9, _TWL6030_CLASS_ID@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TWL6030_CLASS_ID@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	str	w9, [x0, #24]
Lloh28:
	adrp	x9, _twl6030_map@GOTPAGE
Lloh29:
	ldr	x9, [x9, _twl6030_map@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	str	x9, [x0, #16]
Lloh31:
	adrp	x10, _TWL6032_SUBCLASS@GOTPAGE
Lloh32:
	ldr	x10, [x10, _TWL6032_SUBCLASS@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_15
; %bb.14:
Lloh34:
	adrp	x8, _TWL6032_BASEADD_CHARGER@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TWL6032_BASEADD_CHARGER@GOTPAGEOFF]
Lloh36:
	adrp	x10, _TWL_MODULE_MAIN_CHARGE@GOTPAGE
Lloh37:
	ldr	x10, [x10, _TWL_MODULE_MAIN_CHARGE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
LBB0_15:
Lloh40:
	adrp	x8, _twl6030_regmap_config@GOTPAGE
Lloh41:
	ldr	x8, [x8, _twl6030_regmap_config@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
Lloh44:
	adrp	x8, _EIO@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_27
LBB0_17:
Lloh46:
	adrp	x8, _TWL4030_CLASS_ID@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TWL4030_CLASS_ID@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x0, #24]
Lloh49:
	adrp	x8, _twl4030_map@GOTPAGE
Lloh50:
	ldr	x8, [x8, _twl4030_map@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	str	x8, [x0, #16]
Lloh52:
	adrp	x8, _twl4030_regmap_config@GOTPAGE
Lloh53:
	ldr	x8, [x8, _twl4030_regmap_config@GOTPAGEOFF]
LBB0_18:
	ldr	x24, [x8]
	bl	_twl_get_num_slaves
	mov	x26, x0
	ldr	w3, [x25]
	mov	x0, x20
	mov	x1, x26
	mov	w2, #16
	bl	_devm_kcalloc
	ldr	x8, [x27]
	str	x0, [x8, #8]
	cbz	x0, LBB0_26
; %bb.19:
	cbz	w26, LBB0_29
; %bb.20:
	mov	x25, x0
	mov	x28, #0
	mov	w8, w26
	sub	x8, x8, #1
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	w26, #8
	cbz	x28, LBB0_22
LBB0_21:
	ldr	w0, [x20, #24]
	ldr	x8, [x20, #16]
	add	x1, x28, x8
	bl	_i2c_new_dummy_device
	str	x0, [x25, x26]
	bl	_IS_ERR
	cbz	x0, LBB0_23
	b	LBB0_39
LBB0_22:
	str	x20, [x25, #8]
LBB0_23:
	add	x25, x25, x26
	ldr	x0, [x25]
	mov	x1, x24
	bl	_devm_regmap_init_i2c
	stur	x0, [x25, #-8]
	bl	_IS_ERR
	cbnz	x0, LBB0_31
; %bb.24:
	ldr	x8, [x27]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x9, x28
	b.eq	LBB0_29
; %bb.25:
	ldr	x25, [x8, #8]
	add	x24, x24, #4
	add	x26, x26, #16
	add	x28, x28, #1
	cbnz	x28, LBB0_21
	b	LBB0_22
LBB0_26:
Lloh54:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	neg	w24, w8
	cmp	w8, #1
	b.lt	LBB0_5
LBB0_28:
	mov	x0, x19
	bl	_platform_device_unregister
	b	LBB0_5
LBB0_29:
	mov	w9, #1
	str	w9, [x8]
	cbz	x22, LBB0_32
; %bb.30:
	ldr	x1, [x22, #8]
	b	LBB0_33
LBB0_31:
	ldur	x0, [x25, #-8]
	bl	_PTR_ERR
	mov	x24, x0
	stp	x28, x24, [sp]
Lloh56:
	adrp	x1, l_.str.5@PAGE
Lloh57:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_51
LBB0_32:
	mov	x1, #0
LBB0_33:
	mov	x0, x20
	bl	_clocks_init
	bl	_twl_class_is_4030
	cbz	x0, LBB0_35
; %bb.34:
	bl	_twl_read_idcode_register
	lsr	w0, w0, #31
Lloh58:
	adrp	x1, l_.str.6@PAGE
Lloh59:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_WARN
LBB0_35:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_38
; %bb.36:
	bl	_twl_class_is_4030
	cbz	x0, LBB0_40
; %bb.37:
	ldr	w0, [x23, #4]
	bl	_twl4030_init_chip_irq
	ldr	x1, [x20, #8]
	mov	x0, x20
	bl	_twl4030_init_irq
	b	LBB0_41
LBB0_38:
	mov	w24, #0
	b	LBB0_42
LBB0_39:
	str	x28, [sp]
Lloh60:
	adrp	x1, l_.str.4@PAGE
Lloh61:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x25, x26]
	bl	_PTR_ERR
	b	LBB0_50
LBB0_40:
	ldr	x1, [x20, #8]
	mov	x0, x20
	bl	_twl6030_init_irq
LBB0_41:
	mov	x24, x0
	tbnz	w0, #31, LBB0_52
LBB0_42:
	bl	_twl_class_is_4030
	cbz	x0, LBB0_44
; %bb.43:
Lloh62:
	adrp	x25, _TWL4030_MODULE_INTBR@GOTPAGE
Lloh63:
	ldr	x25, [x25, _TWL4030_MODULE_INTBR@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh64:
	adrp	x26, _REG_GPPUPDCTR1@GOTPAGE
Lloh65:
	ldr	x26, [x26, _REG_GPPUPDCTR1@GOTPAGEOFF]
	ldr	w2, [x26]
	add	x1, sp, #28
	bl	_twl_i2c_read_u8
Lloh66:
	adrp	x8, _SR_I2C_SDA_CTRL_PU@GOTPAGE
Lloh67:
	ldr	x8, [x8, _SR_I2C_SDA_CTRL_PU@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _SR_I2C_SCL_CTRL_PU@GOTPAGE
Lloh70:
	ldr	x9, [x9, _SR_I2C_SCL_CTRL_PU@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
Lloh72:
	adrp	x10, _I2C_SDA_CTRL_PU@GOTPAGE
Lloh73:
	ldr	x10, [x10, _I2C_SDA_CTRL_PU@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh74:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh75:
	adrp	x9, _I2C_SCL_CTRL_PU@GOTPAGE
Lloh76:
	ldr	x9, [x9, _I2C_SCL_CTRL_PU@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [sp, #28]
	bic	w1, w9, w8
	str	w1, [sp, #28]
	ldr	w0, [x25]
	ldr	w2, [x26]
	bl	_twl_i2c_write_u8
Lloh78:
	adrp	x25, _TWL_MODULE_PM_RECEIVER@GOTPAGE
Lloh79:
	ldr	x25, [x25, _TWL_MODULE_PM_RECEIVER@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh80:
	adrp	x26, _TWL4030_DCDC_GLOBAL_CFG@GOTPAGE
Lloh81:
	ldr	x26, [x26, _TWL4030_DCDC_GLOBAL_CFG@GOTPAGEOFF]
	ldr	w2, [x26]
	add	x1, sp, #28
	bl	_twl_i2c_read_u8
Lloh82:
	adrp	x8, _SMARTREFLEX_ENABLE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _SMARTREFLEX_ENABLE@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	ldr	w9, [sp, #28]
	orr	w1, w9, w8
	str	w1, [sp, #28]
	ldr	w0, [x25]
	ldr	w2, [x26]
	bl	_twl_i2c_write_u8
LBB0_44:
	cbz	x21, LBB0_47
; %bb.45:
	cbz	x22, LBB0_48
; %bb.46:
	ldr	w8, [x22]
Lloh85:
	adrp	x9, _twl_auxdata_lookup@GOTPAGE
Lloh86:
	ldr	x9, [x9, _twl_auxdata_lookup@GOTPAGEOFF]
Lloh87:
	ldr	x2, [x9]
	str	w8, [x2]
	b	LBB0_49
LBB0_47:
	ldr	w2, [x23]
	mov	x0, x22
	mov	x1, x24
	bl	_add_children
	b	LBB0_50
LBB0_48:
Lloh88:
	adrp	x8, _twl_auxdata_lookup@GOTPAGE
Lloh89:
	ldr	x8, [x8, _twl_auxdata_lookup@GOTPAGEOFF]
Lloh90:
	ldr	x2, [x8]
LBB0_49:
	mov	x0, x21
	mov	x1, #0
	mov	x3, x20
	bl	_of_platform_populate
LBB0_50:
	mov	x24, x0
LBB0_51:
	tbz	w24, #31, LBB0_5
LBB0_52:
	mov	x0, x20
	bl	_twl_remove
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no platform data\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_twl_priv,8,3                   ; @twl_priv
l_.str.1:                               ; @.str.1
	.asciz	"only one instance of %s allowed\n"

	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.2:                               ; @.str.2
	.asciz	"can't alloc pdev\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_I2C_FUNC_I2C,4,2               ; @I2C_FUNC_I2C
l_.str.3:                               ; @.str.3
	.asciz	"can't talk I2C?\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_TWL6030_CLASS,4,2              ; @TWL6030_CLASS
	.comm	_TWL6030_CLASS_ID,4,2           ; @TWL6030_CLASS_ID
	.comm	_twl6030_map,8,3                ; @twl6030_map
	.comm	_TWL6032_SUBCLASS,4,2           ; @TWL6032_SUBCLASS
	.comm	_TWL6032_BASEADD_CHARGER,4,2    ; @TWL6032_BASEADD_CHARGER
	.comm	_TWL_MODULE_MAIN_CHARGE,8,3     ; @TWL_MODULE_MAIN_CHARGE
	.comm	_twl6030_regmap_config,8,3      ; @twl6030_regmap_config
	.comm	_TWL4030_CLASS_ID,4,2           ; @TWL4030_CLASS_ID
	.comm	_twl4030_map,8,3                ; @twl4030_map
	.comm	_twl4030_regmap_config,8,3      ; @twl4030_regmap_config
l_.str.4:                               ; @.str.4
	.asciz	"can't attach client %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to allocate regmap %d, err: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"Error: reading twl_idcode register value\n"

	.comm	_TWL4030_MODULE_INTBR,4,2       ; @TWL4030_MODULE_INTBR
	.comm	_REG_GPPUPDCTR1,4,2             ; @REG_GPPUPDCTR1
	.comm	_SR_I2C_SDA_CTRL_PU,4,2         ; @SR_I2C_SDA_CTRL_PU
	.comm	_SR_I2C_SCL_CTRL_PU,4,2         ; @SR_I2C_SCL_CTRL_PU
	.comm	_I2C_SDA_CTRL_PU,4,2            ; @I2C_SDA_CTRL_PU
	.comm	_I2C_SCL_CTRL_PU,4,2            ; @I2C_SCL_CTRL_PU
	.comm	_TWL_MODULE_PM_RECEIVER,4,2     ; @TWL_MODULE_PM_RECEIVER
	.comm	_TWL4030_DCDC_GLOBAL_CFG,4,2    ; @TWL4030_DCDC_GLOBAL_CFG
	.comm	_SMARTREFLEX_ENABLE,4,2         ; @SMARTREFLEX_ENABLE
	.comm	_twl_auxdata_lookup,8,3         ; @twl_auxdata_lookup
	.no_dead_strip	_twl_probe
.subsections_via_symbols
