	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq24257_fw_probe
_bq24257_fw_probe:                      ## @bq24257_fw_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	56(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_device_property_read_u32
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	movl	-12(%rbp), %edi
	movq	_bq24257_ichg_map@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ24257_ICHG_MAP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bq24257_find_idx
	movq	%rax, 48(%rbx)
	movl	56(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_device_property_read_u32
	testl	%eax, %eax
	js	LBB0_13
## %bb.2:
	movl	-12(%rbp), %edi
	movq	_bq24257_vbat_map@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ24257_VBAT_MAP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bq24257_find_idx
	movq	%rax, 40(%rbx)
	movl	56(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_device_property_read_u32
	testl	%eax, %eax
	js	LBB0_13
## %bb.3:
	movl	-12(%rbp), %edi
	movq	_bq24257_iterm_map@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ24257_ITERM_MAP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bq24257_find_idx
	movq	%rax, 32(%rbx)
	movl	56(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_device_property_read_u32
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	-12(%rbp), %edi
	movq	_bq24257_iilimit_map@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ24257_IILIMIT_MAP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bq24257_find_idx
	jmp	LBB0_6
LBB0_4:
	movl	$1, (%rbx)
	movq	_IILIMIT_500@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, 24(%rbx)
	movl	56(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_device_property_read_u32
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movl	-12(%rbp), %edi
	movq	_bq24257_vovp_map@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ24257_VOVP_MAP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bq24257_find_idx
	jmp	LBB0_9
LBB0_7:
	movq	_VOVP_6500@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	movq	%rax, 16(%rbx)
	movl	56(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_device_property_read_u32
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movl	-12(%rbp), %edi
	movq	_bq24257_vindpm_map@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ24257_VINDPM_MAP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bq24257_find_idx
	jmp	LBB0_12
LBB0_10:
	movq	_VINDPM_4360@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ti,charge-current"

	.comm	_bq24257_ichg_map,4,2           ## @bq24257_ichg_map
	.comm	_BQ24257_ICHG_MAP_SIZE,4,2      ## @BQ24257_ICHG_MAP_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"ti,battery-regulation-voltage"

	.comm	_bq24257_vbat_map,4,2           ## @bq24257_vbat_map
	.comm	_BQ24257_VBAT_MAP_SIZE,4,2      ## @BQ24257_VBAT_MAP_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"ti,termination-current"

	.comm	_bq24257_iterm_map,4,2          ## @bq24257_iterm_map
	.comm	_BQ24257_ITERM_MAP_SIZE,4,2     ## @BQ24257_ITERM_MAP_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"ti,current-limit"

	.comm	_IILIMIT_500,8,3                ## @IILIMIT_500
	.comm	_bq24257_iilimit_map,4,2        ## @bq24257_iilimit_map
	.comm	_BQ24257_IILIMIT_MAP_SIZE,4,2   ## @BQ24257_IILIMIT_MAP_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"ti,ovp-voltage"

	.comm	_VOVP_6500,8,3                  ## @VOVP_6500
	.comm	_bq24257_vovp_map,4,2           ## @bq24257_vovp_map
	.comm	_BQ24257_VOVP_MAP_SIZE,4,2      ## @BQ24257_VOVP_MAP_SIZE
L_.str.5:                               ## @.str.5
	.asciz	"ti,in-dpm-voltage"

	.comm	_VINDPM_4360,8,3                ## @VINDPM_4360
	.comm	_bq24257_vindpm_map,4,2         ## @bq24257_vindpm_map
	.comm	_BQ24257_VINDPM_MAP_SIZE,4,2    ## @BQ24257_VINDPM_MAP_SIZE
	.no_dead_strip	_bq24257_fw_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq24257_fw_probe
_bq24257_fw_probe:                      ; @bq24257_fw_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #56]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_device_property_read_u32
	tbnz	w0, #31, LBB0_13
; %bb.1:
	ldr	w0, [sp, #12]
Lloh2:
	adrp	x8, _bq24257_ichg_map@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bq24257_ichg_map@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _BQ24257_ICHG_MAP_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BQ24257_ICHG_MAP_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_bq24257_find_idx
	str	x0, [x19, #48]
	ldr	w0, [x19, #56]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_device_property_read_u32
	tbnz	w0, #31, LBB0_13
; %bb.2:
	ldr	w0, [sp, #12]
Lloh10:
	adrp	x8, _bq24257_vbat_map@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bq24257_vbat_map@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _BQ24257_VBAT_MAP_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BQ24257_VBAT_MAP_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_bq24257_find_idx
	str	x0, [x19, #40]
	ldr	w0, [x19, #56]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	bl	_device_property_read_u32
	tbnz	w0, #31, LBB0_13
; %bb.3:
	ldr	w0, [sp, #12]
Lloh18:
	adrp	x8, _bq24257_iterm_map@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bq24257_iterm_map@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _BQ24257_ITERM_MAP_SIZE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BQ24257_ITERM_MAP_SIZE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_bq24257_find_idx
	str	x0, [x19, #32]
	ldr	w0, [x19, #56]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	bl	_device_property_read_u32
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldr	w0, [sp, #12]
Lloh26:
	adrp	x8, _bq24257_iilimit_map@GOTPAGE
Lloh27:
	ldr	x8, [x8, _bq24257_iilimit_map@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _BQ24257_IILIMIT_MAP_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BQ24257_IILIMIT_MAP_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	bl	_bq24257_find_idx
	b	LBB0_6
LBB0_5:
	mov	w8, #1
	str	w8, [x19]
Lloh32:
	adrp	x8, _IILIMIT_500@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IILIMIT_500@GOTPAGEOFF]
Lloh34:
	ldr	x0, [x8]
LBB0_6:
	str	x0, [x19, #24]
	ldr	w0, [x19, #56]
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	bl	_device_property_read_u32
	tbnz	w0, #31, LBB0_8
; %bb.7:
	ldr	w0, [sp, #12]
Lloh37:
	adrp	x8, _bq24257_vovp_map@GOTPAGE
Lloh38:
	ldr	x8, [x8, _bq24257_vovp_map@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _BQ24257_VOVP_MAP_SIZE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BQ24257_VOVP_MAP_SIZE@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	bl	_bq24257_find_idx
	b	LBB0_9
LBB0_8:
Lloh43:
	adrp	x8, _VOVP_6500@GOTPAGE
Lloh44:
	ldr	x8, [x8, _VOVP_6500@GOTPAGEOFF]
Lloh45:
	ldr	x0, [x8]
LBB0_9:
	str	x0, [x19, #16]
	ldr	w0, [x19, #56]
Lloh46:
	adrp	x1, l_.str.5@PAGE
Lloh47:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #12
	bl	_device_property_read_u32
	tbnz	w0, #31, LBB0_11
; %bb.10:
	ldr	w0, [sp, #12]
Lloh48:
	adrp	x8, _bq24257_vindpm_map@GOTPAGE
Lloh49:
	ldr	x8, [x8, _bq24257_vindpm_map@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x8, _BQ24257_VINDPM_MAP_SIZE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BQ24257_VINDPM_MAP_SIZE@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	bl	_bq24257_find_idx
	mov	x8, x0
	b	LBB0_12
LBB0_11:
Lloh54:
	adrp	x8, _VINDPM_4360@GOTPAGE
Lloh55:
	ldr	x8, [x8, _VINDPM_4360@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
LBB0_12:
	mov	w0, #0
	str	x8, [x19, #8]
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ti,charge-current"

	.comm	_bq24257_ichg_map,4,2           ; @bq24257_ichg_map
	.comm	_BQ24257_ICHG_MAP_SIZE,4,2      ; @BQ24257_ICHG_MAP_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"ti,battery-regulation-voltage"

	.comm	_bq24257_vbat_map,4,2           ; @bq24257_vbat_map
	.comm	_BQ24257_VBAT_MAP_SIZE,4,2      ; @BQ24257_VBAT_MAP_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"ti,termination-current"

	.comm	_bq24257_iterm_map,4,2          ; @bq24257_iterm_map
	.comm	_BQ24257_ITERM_MAP_SIZE,4,2     ; @BQ24257_ITERM_MAP_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"ti,current-limit"

	.comm	_IILIMIT_500,8,3                ; @IILIMIT_500
	.comm	_bq24257_iilimit_map,4,2        ; @bq24257_iilimit_map
	.comm	_BQ24257_IILIMIT_MAP_SIZE,4,2   ; @BQ24257_IILIMIT_MAP_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"ti,ovp-voltage"

	.comm	_VOVP_6500,8,3                  ; @VOVP_6500
	.comm	_bq24257_vovp_map,4,2           ; @bq24257_vovp_map
	.comm	_BQ24257_VOVP_MAP_SIZE,4,2      ; @BQ24257_VOVP_MAP_SIZE
l_.str.5:                               ; @.str.5
	.asciz	"ti,in-dpm-voltage"

	.comm	_VINDPM_4360,8,3                ; @VINDPM_4360
	.comm	_bq24257_vindpm_map,4,2         ; @bq24257_vindpm_map
	.comm	_BQ24257_VINDPM_MAP_SIZE,4,2    ; @BQ24257_VINDPM_MAP_SIZE
	.no_dead_strip	_bq24257_fw_probe
.subsections_via_symbols
