	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function twl4030_bci_probe
LCPI0_0:
	.long	80100                           ## 0x138e4
	.long	241000                          ## 0x3ad68
	.long	500000                          ## 0x7a120
	.long	500000                          ## 0x7a120
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_twl4030_bci_probe:                     ## @twl4030_bci_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %rbx
	testq	%r14, %r14
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_twl4030_bci_parse_dt
	movq	%rax, %r14
LBB0_3:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [80100,241000,500000,500000]
	movups	%xmm0, (%rbx)
	movq	_allow_usb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$100000, %eax                   ## imm = 0x186A0
	movl	$500000, %ecx                   ## imm = 0x7A120
	cmovel	%eax, %ecx
	movl	%ecx, 16(%rbx)
	movq	_CHARGE_AUTO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 104(%rbx)
	movq	%rax, 96(%rbx)
	movq	%r15, 72(%rbx)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, 64(%rbx)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_platform_get_irq
	movq	%rax, 56(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	leaq	92(%rbx), %rdi
	movq	_twl4030_bci_usb_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	88(%rbx), %rdi
	movq	_twl4030_current_worker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_iio_channel_get
	movq	%rax, 80(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	80(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r12d, %ecx
	addl	(%rax), %ecx
	je	LBB0_18
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_warn
	movq	$0, 80(%rbx)
LBB0_6:
	movq	72(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_of_get_compatible_child
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r12
	leaq	32(%rbx), %rdx
	movq	_twl4030_bci_usb_ncb@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	72(%rbx), %rdi
	movq	%r12, %rsi
	callq	_devm_usb_get_phy_by_node
	movq	%rax, 24(%rbx)
	movq	%r12, %rdi
	callq	_of_node_put
	movq	24(%rbx), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	24(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r12d, %ecx
	addl	(%rax), %ecx
	je	LBB0_18
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_warn
	movq	$0, 24(%rbx)
LBB0_11:
	movq	_twl4030_bci_ac_desc@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_devm_power_supply_register
	movq	%rax, 40(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	40(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_16
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_18
LBB0_14:
	movq	_twl4030_bci_usb_desc@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_devm_power_supply_register
	movq	%rax, 48(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:
	movq	48(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.5(%rip), %rsi
LBB0_16:
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_18:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	64(%rbx), %rsi
	movq	_twl4030_charger_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movl	16(%r15), %r9d
	movq	%rbx, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_30
## %bb.20:
	movq	56(%rbx), %rsi
	movq	_twl4030_bci_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	movl	16(%r15), %r9d
	movq	%rbx, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_31
## %bb.21:
	movq	_TWL4030_ICHGLOW@GOTPCREL(%rip), %rax
	movq	_TWL4030_ICHGEOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_TWL4030_TBATOR2@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_TWL4030_TBATOR1@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_TWL4030_BATSTS@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	notl	%esi
	movq	_TWL4030_MODULE_INTERRUPTS@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_TWL4030_INTERRUPTS_BCIIMR1A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_twl_i2c_write_u8
	testl	%eax, %eax
	js	LBB0_33
## %bb.22:
	movq	_TWL4030_VBATOV@GOTPCREL(%rip), %rax
	movq	_TWL4030_VBUSOV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_TWL4030_ACCHGOV@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	notl	%esi
	movl	(%r13), %edi
	movq	_TWL4030_INTERRUPTS_BCIIMR2A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_twl_i2c_write_u8
	testl	%eax, %eax
	jns	LBB0_24
## %bb.23:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_warn
LBB0_24:
	movq	%rbx, %rdi
	callq	_twl4030_charger_update_current
	movq	48(%rbx), %rdi
	addq	$4, %rdi
	movq	_dev_attr_mode@GOTPCREL(%rip), %rsi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
LBB0_26:
	movq	40(%rbx), %rdi
	addq	$4, %rdi
	movq	_dev_attr_mode@GOTPCREL(%rip), %rsi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
LBB0_28:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_twl4030_charger_enable_ac
	movq	24(%rbx), %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	je	LBB0_34
## %bb.29:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_twl4030_charger_enable_usb
	jmp	LBB0_35
LBB0_30:
	movl	%eax, %r12d
	movl	64(%rbx), %edx
	jmp	LBB0_32
LBB0_31:
	movl	%eax, %r12d
	movl	56(%rbx), %edx
LBB0_32:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_18
LBB0_33:
	movl	%eax, %r12d
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_16
LBB0_34:
	movq	%rbx, %rdi
	addq	$32, %rdi
	movq	24(%rbx), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_twl4030_bci_usb_ncb
LBB0_35:
	testq	%r14, %r14
	je	LBB0_37
## %bb.36:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_twl4030_charger_enable_backup
	xorl	%r12d, %r12d
	jmp	LBB0_18
LBB0_37:
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_twl4030_charger_enable_backup
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_allow_usb,8,3                  ## @allow_usb
	.comm	_CHARGE_AUTO,8,3                ## @CHARGE_AUTO
	.comm	_twl4030_bci_usb_work,4,2       ## @twl4030_bci_usb_work
	.comm	_twl4030_current_worker,4,2     ## @twl4030_current_worker
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vac"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.1:                               ## @.str.1
	.asciz	"could not request vac iio channel (%d)"

L_.str.2:                               ## @.str.2
	.asciz	"ti,twl4030-usb"

L_.str.3:                               ## @.str.3
	.asciz	"could not request transceiver (%d)"

	.comm	_twl4030_bci_ac_desc,4,2        ## @twl4030_bci_ac_desc
L_.str.4:                               ## @.str.4
	.asciz	"failed to register ac: %d\n"

	.comm	_twl4030_bci_usb_desc,4,2       ## @twl4030_bci_usb_desc
L_.str.5:                               ## @.str.5
	.asciz	"failed to register usb: %d\n"

	.comm	_twl4030_charger_interrupt,4,2  ## @twl4030_charger_interrupt
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.6:                               ## @.str.6
	.asciz	"could not request irq %d, status %d\n"

	.comm	_twl4030_bci_interrupt,4,2      ## @twl4030_bci_interrupt
	.comm	_TWL4030_ICHGLOW,4,2            ## @TWL4030_ICHGLOW
	.comm	_TWL4030_ICHGEOC,4,2            ## @TWL4030_ICHGEOC
	.comm	_TWL4030_TBATOR2,4,2            ## @TWL4030_TBATOR2
	.comm	_TWL4030_TBATOR1,4,2            ## @TWL4030_TBATOR1
	.comm	_TWL4030_BATSTS,4,2             ## @TWL4030_BATSTS
	.comm	_TWL4030_MODULE_INTERRUPTS,4,2  ## @TWL4030_MODULE_INTERRUPTS
	.comm	_TWL4030_INTERRUPTS_BCIIMR1A,4,2 ## @TWL4030_INTERRUPTS_BCIIMR1A
L_.str.7:                               ## @.str.7
	.asciz	"failed to unmask interrupts: %d\n"

	.comm	_TWL4030_VBATOV,4,2             ## @TWL4030_VBATOV
	.comm	_TWL4030_VBUSOV,4,2             ## @TWL4030_VBUSOV
	.comm	_TWL4030_ACCHGOV,4,2            ## @TWL4030_ACCHGOV
	.comm	_TWL4030_INTERRUPTS_BCIIMR2A,4,2 ## @TWL4030_INTERRUPTS_BCIIMR2A
	.comm	_dev_attr_mode,4,2              ## @dev_attr_mode
L_.str.8:                               ## @.str.8
	.asciz	"could not create sysfs file\n"

	.no_dead_strip	_twl4030_bci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function twl4030_bci_probe
lCPI0_0:
	.long	80100                           ; 0x138e4
	.long	241000                          ; 0x3ad68
	.long	500000                          ; 0x7a120
	.long	500000                          ; 0x7a120
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_twl4030_bci_probe:                     ; @twl4030_bci_probe
	.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	x20, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x21, x0
	cbnz	x20, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_twl4030_bci_parse_dt
	mov	x20, x0
LBB0_3:
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x21]
Lloh5:
	adrp	x8, _allow_usb@GOTPAGE
Lloh6:
	ldr	x8, [x8, _allow_usb@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, #0
	mov	w8, #41248
	movk	w8, #7, lsl #16
	mov	w9, #34464
	movk	w9, #1, lsl #16
	csel	w8, w9, w8, eq
	str	w8, [x21, #16]
Lloh8:
	adrp	x8, _CHARGE_AUTO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHARGE_AUTO@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	stp	x8, x8, [x21, #96]
	str	x19, [x21, #72]
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x21, #64]
	mov	x0, x19
	mov	w1, #1
	bl	_platform_get_irq
	str	x0, [x21, #56]
	mov	x0, x19
	mov	x1, x21
	bl	_platform_set_drvdata
	add	x0, x21, #92
Lloh11:
	adrp	x8, _twl4030_bci_usb_work@GOTPAGE
Lloh12:
	ldr	x8, [x8, _twl4030_bci_usb_work@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x21, #88
Lloh14:
	adrp	x8, _twl4030_current_worker@GOTPAGE
Lloh15:
	ldr	x8, [x8, _twl4030_current_worker@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_iio_channel_get
	str	x0, [x21, #80]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x0, [x21, #80]
	bl	_PTR_ERR
	mov	x22, x0
Lloh19:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_17
; %bb.5:
	str	x22, [sp]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	str	xzr, [x21, #80]
LBB0_6:
	ldr	x8, [x21, #72]
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.7:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_of_get_compatible_child
	cbz	x0, LBB0_11
; %bb.8:
	mov	x22, x0
Lloh26:
	adrp	x8, _twl4030_bci_usb_ncb@GOTPAGE
Lloh27:
	ldr	x8, [x8, _twl4030_bci_usb_ncb@GOTPAGEOFF]
	mov	x23, x21
	str	x8, [x23, #32]!
	ldr	x0, [x23, #40]
	mov	x1, x22
	mov	x2, x23
	bl	_devm_usb_get_phy_by_node
	stur	x0, [x23, #-8]
	mov	x0, x22
	bl	_of_node_put
	ldur	x0, [x23, #-8]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x0, [x21, #24]
	bl	_PTR_ERR
	mov	x22, x0
Lloh28:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_17
; %bb.10:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp]
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	str	xzr, [x21, #24]
LBB0_11:
Lloh33:
	adrp	x1, _twl4030_bci_ac_desc@GOTPAGE
Lloh34:
	ldr	x1, [x1, _twl4030_bci_ac_desc@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, #0
	bl	_devm_power_supply_register
	str	x0, [x21, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x0, [x21, #40]
	bl	_PTR_ERR
	mov	x22, x0
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_13:
Lloh37:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_17
LBB0_14:
Lloh40:
	adrp	x1, _twl4030_bci_usb_desc@GOTPAGE
Lloh41:
	ldr	x1, [x1, _twl4030_bci_usb_desc@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, #0
	bl	_devm_power_supply_register
	str	x0, [x21, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.15:
	ldr	x0, [x21, #48]
	bl	_PTR_ERR
	mov	x22, x0
Lloh42:
	adrp	x1, l_.str.5@PAGE
Lloh43:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_16:
	mov	x0, x19
	mov	x2, x22
	bl	_dev_err
LBB0_17:
	mov	x0, x22
	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_18:
Lloh44:
	adrp	x8, _twl4030_charger_interrupt@GOTPAGE
Lloh45:
	ldr	x8, [x8, _twl4030_charger_interrupt@GOTPAGEOFF]
	ldr	x1, [x21, #64]
Lloh46:
	ldr	w3, [x8]
Lloh47:
	adrp	x23, _IRQF_ONESHOT@GOTPAGE
Lloh48:
	ldr	x23, [x23, _IRQF_ONESHOT@GOTPAGEOFF]
	ldr	w4, [x23]
	ldr	w5, [x19, #16]
	mov	x0, x19
	mov	x2, #0
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_29
; %bb.19:
	ldr	x1, [x21, #56]
Lloh49:
	adrp	x8, _twl4030_bci_interrupt@GOTPAGE
Lloh50:
	ldr	x8, [x8, _twl4030_bci_interrupt@GOTPAGEOFF]
Lloh51:
	ldr	w3, [x8]
	ldr	w4, [x23]
	ldr	w5, [x19, #16]
	mov	x0, x19
	mov	x2, #0
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_30
; %bb.20:
Lloh52:
	adrp	x8, _TWL4030_ICHGLOW@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TWL4030_ICHGLOW@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _TWL4030_ICHGEOC@GOTPAGE
Lloh56:
	ldr	x9, [x9, _TWL4030_ICHGEOC@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
Lloh58:
	adrp	x10, _TWL4030_TBATOR2@GOTPAGE
Lloh59:
	ldr	x10, [x10, _TWL4030_TBATOR2@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh60:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh61:
	adrp	x9, _TWL4030_TBATOR1@GOTPAGE
Lloh62:
	ldr	x9, [x9, _TWL4030_TBATOR1@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh64:
	adrp	x9, _TWL4030_BATSTS@GOTPAGE
Lloh65:
	ldr	x9, [x9, _TWL4030_BATSTS@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mvn	w1, w8
Lloh67:
	adrp	x23, _TWL4030_MODULE_INTERRUPTS@GOTPAGE
Lloh68:
	ldr	x23, [x23, _TWL4030_MODULE_INTERRUPTS@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh69:
	adrp	x8, _TWL4030_INTERRUPTS_BCIIMR1A@GOTPAGE
Lloh70:
	ldr	x8, [x8, _TWL4030_INTERRUPTS_BCIIMR1A@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
	bl	_twl_i2c_write_u8
	tbnz	w0, #31, LBB0_32
; %bb.21:
Lloh72:
	adrp	x8, _TWL4030_VBATOV@GOTPAGE
Lloh73:
	ldr	x8, [x8, _TWL4030_VBATOV@GOTPAGEOFF]
Lloh74:
	adrp	x9, _TWL4030_VBUSOV@GOTPAGE
Lloh75:
	ldr	x9, [x9, _TWL4030_VBUSOV@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh78:
	adrp	x9, _TWL4030_ACCHGOV@GOTPAGE
Lloh79:
	ldr	x9, [x9, _TWL4030_ACCHGOV@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mvn	w1, w8
	ldr	w0, [x23]
Lloh81:
	adrp	x8, _TWL4030_INTERRUPTS_BCIIMR2A@GOTPAGE
Lloh82:
	ldr	x8, [x8, _TWL4030_INTERRUPTS_BCIIMR2A@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
	bl	_twl_i2c_write_u8
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_23
; %bb.22:
	str	x0, [sp]
Lloh84:
	adrp	x1, l_.str.7@PAGE
Lloh85:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_23:
	mov	x0, x21
	bl	_twl4030_charger_update_current
	ldr	x8, [x21, #48]
	add	x0, x8, #4
Lloh86:
	adrp	x1, _dev_attr_mode@GOTPAGE
Lloh87:
	ldr	x1, [x1, _dev_attr_mode@GOTPAGEOFF]
	bl	_device_create_file
	cbz	x0, LBB0_25
; %bb.24:
Lloh88:
	adrp	x1, l_.str.8@PAGE
Lloh89:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_25:
	ldr	x8, [x21, #40]
	add	x0, x8, #4
Lloh90:
	adrp	x1, _dev_attr_mode@GOTPAGE
Lloh91:
	ldr	x1, [x1, _dev_attr_mode@GOTPAGEOFF]
	bl	_device_create_file
	cbz	x0, LBB0_27
; %bb.26:
Lloh92:
	adrp	x1, l_.str.8@PAGE
Lloh93:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_27:
	mov	x0, x21
	mov	w1, #1
	bl	_twl4030_charger_enable_ac
	ldr	x0, [x21, #24]
	bl	_IS_ERR_OR_NULL
	cbz	w0, LBB0_33
; %bb.28:
	mov	x0, x21
	mov	w1, #0
	bl	_twl4030_charger_enable_usb
	b	LBB0_34
LBB0_29:
	mov	x22, x0
	ldr	w2, [x21, #64]
	b	LBB0_31
LBB0_30:
	mov	x22, x0
	ldr	w2, [x21, #56]
LBB0_31:
	str	x22, [sp]
Lloh94:
	adrp	x1, l_.str.6@PAGE
Lloh95:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_17
LBB0_32:
	mov	x22, x0
Lloh96:
	adrp	x1, l_.str.7@PAGE
Lloh97:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_16
LBB0_33:
	add	x0, x21, #32
	ldr	x8, [x21, #24]
	ldr	w1, [x8]
	mov	x2, #0
	bl	_twl4030_bci_usb_ncb
LBB0_34:
	cbz	x20, LBB0_36
; %bb.35:
	ldp	w1, w0, [x20]
	b	LBB0_37
LBB0_36:
	mov	w0, #0
	mov	w1, #0
LBB0_37:
	bl	_twl4030_charger_enable_backup
	mov	w22, #0
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh76
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_allow_usb,8,3                  ; @allow_usb
	.comm	_CHARGE_AUTO,8,3                ; @CHARGE_AUTO
	.comm	_twl4030_bci_usb_work,4,2       ; @twl4030_bci_usb_work
	.comm	_twl4030_current_worker,4,2     ; @twl4030_current_worker
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vac"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.1:                               ; @.str.1
	.asciz	"could not request vac iio channel (%d)"

l_.str.2:                               ; @.str.2
	.asciz	"ti,twl4030-usb"

l_.str.3:                               ; @.str.3
	.asciz	"could not request transceiver (%d)"

	.comm	_twl4030_bci_ac_desc,4,2        ; @twl4030_bci_ac_desc
l_.str.4:                               ; @.str.4
	.asciz	"failed to register ac: %d\n"

	.comm	_twl4030_bci_usb_desc,4,2       ; @twl4030_bci_usb_desc
l_.str.5:                               ; @.str.5
	.asciz	"failed to register usb: %d\n"

	.comm	_twl4030_charger_interrupt,4,2  ; @twl4030_charger_interrupt
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.6:                               ; @.str.6
	.asciz	"could not request irq %d, status %d\n"

	.comm	_twl4030_bci_interrupt,4,2      ; @twl4030_bci_interrupt
	.comm	_TWL4030_ICHGLOW,4,2            ; @TWL4030_ICHGLOW
	.comm	_TWL4030_ICHGEOC,4,2            ; @TWL4030_ICHGEOC
	.comm	_TWL4030_TBATOR2,4,2            ; @TWL4030_TBATOR2
	.comm	_TWL4030_TBATOR1,4,2            ; @TWL4030_TBATOR1
	.comm	_TWL4030_BATSTS,4,2             ; @TWL4030_BATSTS
	.comm	_TWL4030_MODULE_INTERRUPTS,4,2  ; @TWL4030_MODULE_INTERRUPTS
	.comm	_TWL4030_INTERRUPTS_BCIIMR1A,4,2 ; @TWL4030_INTERRUPTS_BCIIMR1A
l_.str.7:                               ; @.str.7
	.asciz	"failed to unmask interrupts: %d\n"

	.comm	_TWL4030_VBATOV,4,2             ; @TWL4030_VBATOV
	.comm	_TWL4030_VBUSOV,4,2             ; @TWL4030_VBUSOV
	.comm	_TWL4030_ACCHGOV,4,2            ; @TWL4030_ACCHGOV
	.comm	_TWL4030_INTERRUPTS_BCIIMR2A,4,2 ; @TWL4030_INTERRUPTS_BCIIMR2A
	.comm	_dev_attr_mode,4,2              ; @dev_attr_mode
l_.str.8:                               ; @.str.8
	.asciz	"could not create sysfs file\n"

	.no_dead_strip	_twl4030_bci_probe
.subsections_via_symbols
