	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq24735_parse_dt_data
_bq24735_parse_dt_data:                 ## @bq24735_parse_dt_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	-32(%rbp), %rax
	movq	%rax, 24(%r15)
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	-32(%rbp), %rax
	movq	%rax, 16(%r15)
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	-32(%rbp), %rax
	movq	%rax, 8(%r15)
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_bool
	movl	%eax, (%r15)
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
LBB0_9:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Memory alloc for bq24735 pdata failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"ti,charge-current"

L_.str.2:                               ## @.str.2
	.asciz	"ti,charge-voltage"

L_.str.3:                               ## @.str.3
	.asciz	"ti,input-current"

L_.str.4:                               ## @.str.4
	.asciz	"ti,external-control"

	.no_dead_strip	_bq24735_parse_dt_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq24735_parse_dt_data
_bq24735_parse_dt_data:                 ; @bq24735_parse_dt_data
	.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	x21, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	str	x8, [x19, #24]
LBB0_3:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x8, [sp, #8]
	str	x8, [x19, #16]
LBB0_5:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
LBB0_7:
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	str	w0, [x19]
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
LBB0_9:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Memory alloc for bq24735 pdata failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"ti,charge-current"

l_.str.2:                               ; @.str.2
	.asciz	"ti,charge-voltage"

l_.str.3:                               ; @.str.3
	.asciz	"ti,input-current"

l_.str.4:                               ; @.str.4
	.asciz	"ti,external-control"

	.no_dead_strip	_bq24735_parse_dt_data
.subsections_via_symbols
