	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq24735_charger_probe
_bq24735_charger_probe:                 ## @bq24735_charger_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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	leaq	8(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	leaq	72(%rax), %rdi
	callq	_mutex_init
	movl	$1, (%rbx)
	movq	16(%r15), %rax
	movq	%rax, 24(%rbx)
	movq	_CONFIG_OF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	movq	%rax, %rcx
	movq	24(%rbx), %rax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.2:
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_13
## %bb.4:
	movq	%r15, %rdi
	callq	_bq24735_parse_dt_data
	movq	%rax, 24(%rbx)
LBB0_5:
	testq	%rax, %rax
	je	LBB0_13
LBB0_6:
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	(%r12), %r12d
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %ecx
	callq	_devm_kasprintf
	testq	%rax, %rax
	je	LBB0_22
LBB0_8:
	movq	%r15, 64(%rbx)
	movq	%rax, 32(%rbx)
	movq	_POWER_SUPPLY_TYPE_MAINS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_bq24735_charger_properties@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 56(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 52(%rbx)
	movq	_bq24735_charger_get_property@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_bq24735_charger_set_property@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_bq24735_charger_property_is_writeable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	24(%rbx), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	8(%r15), %rax
	movq	%rax, -56(%rbp)
	movq	%rbx, -64(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movl	%eax, 16(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movl	16(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
LBB0_10:
	movq	%r14, %rdi
	movl	%eax, %edx
LBB0_11:
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_33
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_33
LBB0_13:
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_33
LBB0_14:
	movq	%rbx, %rdi
	callq	_bq24735_charger_is_present
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:
	movq	_BQ24735_MANUFACTURER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_bq24735_read_word
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_23
## %bb.16:
	cmpl	$64, %r12d
	jne	LBB0_24
## %bb.17:
	movq	_BQ24735_DEVICE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_bq24735_read_word
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_28
## %bb.18:
	cmpl	$11, %r12d
	jne	LBB0_30
## %bb.19:
	movq	%rbx, %rdi
	callq	_bq24735_enable_charging
	testl	%eax, %eax
	js	LBB0_37
LBB0_20:
	leaq	32(%rbx), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	callq	_devm_power_supply_register
	movl	%eax, 12(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_25
## %bb.21:
	movl	12(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_10
LBB0_22:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_33
LBB0_23:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_29
LBB0_24:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_31
LBB0_25:
	movl	(%r15), %esi
	testl	%esi, %esi
	je	LBB0_34
## %bb.26:
	movq	_bq24735_charger_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	32(%rbx), %r9
	movl	12(%rbx), %eax
	movl	%eax, (%rsp)
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_33
## %bb.27:
	movl	%eax, %ebx
	movl	(%r15), %edx
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_32
LBB0_28:
	leaq	L_.str.7(%rip), %rsi
LBB0_29:
	movq	%r14, %rdi
	movl	%r12d, %edx
	jmp	LBB0_11
LBB0_30:
	leaq	L_.str.8(%rip), %rsi
LBB0_31:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_32:
	movl	%ebx, %r12d
LBB0_33:
	movl	%r12d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	leaq	4(%rbx), %r15
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_device_property_read_u32
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_33
## %bb.35:
	cmpl	$0, (%r15)
	je	LBB0_33
## %bb.36:
	movq	%rbx, %r14
	addq	$8, %r14
	movq	_bq24735_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_INIT_DELAYED_WORK
	movl	4(%rbx), %edi
	callq	_msecs_to_jiffies
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
	jmp	LBB0_33
LBB0_37:
	movl	%eax, %r12d
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CONFIG_OF,4,2                  ## @CONFIG_OF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no platform data provided\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"bq24735@%s"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to alloc device name\n"

	.comm	_POWER_SUPPLY_TYPE_MAINS,4,2    ## @POWER_SUPPLY_TYPE_MAINS
	.comm	_bq24735_charger_properties,4,2 ## @bq24735_charger_properties
	.comm	_bq24735_charger_get_property,4,2 ## @bq24735_charger_get_property
	.comm	_bq24735_charger_set_property,4,2 ## @bq24735_charger_set_property
	.comm	_bq24735_charger_property_is_writeable,4,2 ## @bq24735_charger_property_is_writeable
L_.str.3:                               ## @.str.3
	.asciz	"ti,ac-detect"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
L_.str.4:                               ## @.str.4
	.asciz	"Getting gpio failed: %d\n"

	.comm	_BQ24735_MANUFACTURER_ID,4,2    ## @BQ24735_MANUFACTURER_ID
L_.str.5:                               ## @.str.5
	.asciz	"Failed to read manufacturer id : %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"manufacturer id mismatch. 0x0040 != 0x%04x\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_BQ24735_DEVICE_ID,4,2          ## @BQ24735_DEVICE_ID
L_.str.7:                               ## @.str.7
	.asciz	"Failed to read device id : %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"device id mismatch. 0x000b != 0x%04x\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to enable charging\n"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to register power supply: %d\n"

	.comm	_bq24735_charger_isr,4,2        ## @bq24735_charger_isr
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.11:                              ## @.str.11
	.asciz	"Unable to register IRQ %d err %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"poll-interval"

	.comm	_bq24735_poll,4,2               ## @bq24735_poll
	.no_dead_strip	_bq24735_charger_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq24735_charger_probe
_bq24735_charger_probe:                 ; @bq24735_charger_probe
	.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, x0
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	add	x19, x0, #8
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_21
; %bb.1:
	mov	x21, x0
	add	x0, x0, #72
	bl	_mutex_init
	mov	w8, #1
	str	w8, [x21]
	ldr	x8, [x20, #16]
	str	x8, [x21, #24]
Lloh2:
	adrp	x8, _CONFIG_OF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CONFIG_OF@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	mov	x8, x0
	ldr	x0, [x21, #24]
	cbz	x8, LBB0_5
; %bb.2:
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.4:
	mov	x0, x20
	bl	_bq24735_parse_dt_data
	str	x0, [x21, #24]
LBB0_5:
	cbz	x0, LBB0_11
LBB0_6:
	ldr	x0, [x0, #8]
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w22, [x22]
	mov	x0, x19
	bl	_dev_name
	mov	x3, x0
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_devm_kasprintf
	cbz	x0, LBB0_20
LBB0_8:
	str	x20, [x21, #64]
	mov	x22, x21
	str	x0, [x22, #32]!
Lloh7:
	adrp	x8, _POWER_SUPPLY_TYPE_MAINS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _POWER_SUPPLY_TYPE_MAINS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _bq24735_charger_properties@GOTPAGE
Lloh11:
	ldr	x9, [x9, _bq24735_charger_properties@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
	stp	w0, w8, [x21, #56]
	bl	_ARRAY_SIZE
Lloh13:
	adrp	x8, _bq24735_charger_get_property@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bq24735_charger_get_property@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #48]
Lloh16:
	adrp	x8, _bq24735_charger_set_property@GOTPAGE
Lloh17:
	ldr	x8, [x8, _bq24735_charger_set_property@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _bq24735_charger_property_is_writeable@GOTPAGE
Lloh20:
	ldr	x9, [x9, _bq24735_charger_property_is_writeable@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #40]
	ldr	x8, [x21, #24]
	ldr	d0, [x8]
	str	d0, [sp, #40]
	ldr	x8, [x20, #8]
	stp	x21, x8, [sp, #24]
	mov	x0, x20
	mov	x1, x21
	bl	_i2c_set_clientdata
Lloh22:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_optional
	str	w0, [x21, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.9:
	ldr	w0, [x21, #16]
	bl	_PTR_ERR
	mov	x23, x0
	str	x23, [sp]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_23
LBB0_11:
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh31:
	adrp	x8, _EINVAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_22
LBB0_12:
	mov	x0, x21
	bl	_bq24735_charger_is_present
	cbz	x0, LBB0_18
; %bb.13:
Lloh33:
	adrp	x8, _BQ24735_MANUFACTURER_ID@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BQ24735_MANUFACTURER_ID@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bq24735_read_word
	mov	x23, x0
	tbnz	w0, #31, LBB0_24
; %bb.14:
	cmp	w23, #64
	b.ne	LBB0_25
; %bb.15:
Lloh36:
	adrp	x8, _BQ24735_DEVICE_ID@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BQ24735_DEVICE_ID@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bq24735_read_word
	mov	x23, x0
	tbnz	w0, #31, LBB0_29
; %bb.16:
	cmp	w23, #11
	b.ne	LBB0_31
; %bb.17:
	mov	x0, x21
	bl	_bq24735_enable_charging
	tbnz	w0, #31, LBB0_37
LBB0_18:
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x22
	bl	_devm_power_supply_register
	str	w0, [x21, #12]
	bl	_IS_ERR
	cbz	x0, LBB0_26
; %bb.19:
	ldr	w0, [x21, #12]
	bl	_PTR_ERR
	mov	x23, x0
	str	x23, [sp]
Lloh39:
	adrp	x1, l_.str.10@PAGE
Lloh40:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_30
LBB0_20:
Lloh41:
	adrp	x1, l_.str.2@PAGE
Lloh42:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_21:
Lloh43:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_23:
	mov	x0, x23
	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_24:
	str	x23, [sp]
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_25:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh47:
	adrp	x1, l_.str.6@PAGE
Lloh48:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_32
LBB0_26:
	ldr	w1, [x20]
	cbz	w1, LBB0_33
; %bb.27:
Lloh49:
	adrp	x8, _bq24735_charger_isr@GOTPAGE
Lloh50:
	ldr	x8, [x8, _bq24735_charger_isr@GOTPAGEOFF]
Lloh51:
	adrp	x9, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh52:
	ldr	x9, [x9, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh53:
	ldr	w3, [x8]
Lloh54:
	ldr	w8, [x9]
Lloh55:
	adrp	x9, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh56:
	ldr	x9, [x9, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh58:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh59:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	orr	w4, w8, w9
	ldr	x5, [x21, #32]
	ldr	w6, [x21, #12]
	mov	x0, x19
	mov	x2, #0
	bl	_devm_request_threaded_irq
	mov	x23, x0
	cbz	w0, LBB0_23
; %bb.28:
	ldr	w8, [x20]
	stp	x8, x23, [sp]
Lloh61:
	adrp	x1, l_.str.11@PAGE
Lloh62:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_30
LBB0_29:
	str	x23, [sp]
Lloh63:
	adrp	x1, l_.str.7@PAGE
Lloh64:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_30:
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_23
LBB0_31:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh65:
	adrp	x1, l_.str.8@PAGE
Lloh66:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_32:
	mov	x0, x19
	bl	_dev_err
Lloh67:
	adrp	x8, _ENODEV@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_22
LBB0_33:
	add	x20, x21, #4
Lloh69:
	adrp	x1, l_.str.12@PAGE
Lloh70:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_device_property_read_u32
	cbnz	w0, LBB0_36
; %bb.34:
	ldr	w8, [x20]
	cbz	w8, LBB0_36
; %bb.35:
	add	x19, x21, #8
Lloh71:
	adrp	x8, _bq24735_poll@GOTPAGE
Lloh72:
	ldr	x8, [x8, _bq24735_poll@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_DELAYED_WORK
	ldr	w0, [x21, #4]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_schedule_delayed_work
LBB0_36:
	mov	w23, #0
	b	LBB0_23
LBB0_37:
	mov	x23, x0
Lloh74:
	adrp	x1, l_.str.9@PAGE
Lloh75:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh53
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CONFIG_OF,4,2                  ; @CONFIG_OF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no platform data provided\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"bq24735@%s"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to alloc device name\n"

	.comm	_POWER_SUPPLY_TYPE_MAINS,4,2    ; @POWER_SUPPLY_TYPE_MAINS
	.comm	_bq24735_charger_properties,4,2 ; @bq24735_charger_properties
	.comm	_bq24735_charger_get_property,4,2 ; @bq24735_charger_get_property
	.comm	_bq24735_charger_set_property,4,2 ; @bq24735_charger_set_property
	.comm	_bq24735_charger_property_is_writeable,4,2 ; @bq24735_charger_property_is_writeable
l_.str.3:                               ; @.str.3
	.asciz	"ti,ac-detect"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
l_.str.4:                               ; @.str.4
	.asciz	"Getting gpio failed: %d\n"

	.comm	_BQ24735_MANUFACTURER_ID,4,2    ; @BQ24735_MANUFACTURER_ID
l_.str.5:                               ; @.str.5
	.asciz	"Failed to read manufacturer id : %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"manufacturer id mismatch. 0x0040 != 0x%04x\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_BQ24735_DEVICE_ID,4,2          ; @BQ24735_DEVICE_ID
l_.str.7:                               ; @.str.7
	.asciz	"Failed to read device id : %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"device id mismatch. 0x000b != 0x%04x\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to enable charging\n"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to register power supply: %d\n"

	.comm	_bq24735_charger_isr,4,2        ; @bq24735_charger_isr
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.11:                              ; @.str.11
	.asciz	"Unable to register IRQ %d err %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"poll-interval"

	.comm	_bq24735_poll,4,2               ; @bq24735_poll
	.no_dead_strip	_bq24735_charger_probe
.subsections_via_symbols
