	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq2415x_reset_chip
_bq2415x_reset_chip:                    ## @bq2415x_reset_chip
	.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
	movq	_BQ2415X_REG_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ2415X_RESET_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bq2415x_i2c_write
	movq	_BQ2415X_REG_VOLTAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ2415X_RESET_VOLTAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_bq2415x_i2c_write
	movq	_BQ2415X_REG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ2415X_RESET_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_bq2415x_i2c_write
	movq	_BQ2415X_REG_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BQ2415X_RESET_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_bq2415x_i2c_write
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BQ2415X_REG_CURRENT,4,2        ## @BQ2415X_REG_CURRENT
	.comm	_BQ2415X_RESET_CURRENT,4,2      ## @BQ2415X_RESET_CURRENT
	.comm	_BQ2415X_REG_VOLTAGE,4,2        ## @BQ2415X_REG_VOLTAGE
	.comm	_BQ2415X_RESET_VOLTAGE,4,2      ## @BQ2415X_RESET_VOLTAGE
	.comm	_BQ2415X_REG_CONTROL,4,2        ## @BQ2415X_REG_CONTROL
	.comm	_BQ2415X_RESET_CONTROL,4,2      ## @BQ2415X_RESET_CONTROL
	.comm	_BQ2415X_REG_STATUS,4,2         ## @BQ2415X_REG_STATUS
	.comm	_BQ2415X_RESET_STATUS,4,2       ## @BQ2415X_RESET_STATUS
	.no_dead_strip	_bq2415x_reset_chip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq2415x_reset_chip
_bq2415x_reset_chip:                    ; @bq2415x_reset_chip
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _BQ2415X_REG_CURRENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BQ2415X_REG_CURRENT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BQ2415X_RESET_CURRENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BQ2415X_RESET_CURRENT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_bq2415x_i2c_write
Lloh6:
	adrp	x8, _BQ2415X_REG_VOLTAGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BQ2415X_REG_VOLTAGE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _BQ2415X_RESET_VOLTAGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BQ2415X_RESET_VOLTAGE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bq2415x_i2c_write
Lloh12:
	adrp	x8, _BQ2415X_REG_CONTROL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BQ2415X_REG_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _BQ2415X_RESET_CONTROL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BQ2415X_RESET_CONTROL@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bq2415x_i2c_write
Lloh18:
	adrp	x8, _BQ2415X_REG_STATUS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BQ2415X_REG_STATUS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _BQ2415X_RESET_STATUS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BQ2415X_RESET_STATUS@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bq2415x_i2c_write
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BQ2415X_REG_CURRENT,4,2        ; @BQ2415X_REG_CURRENT
	.comm	_BQ2415X_RESET_CURRENT,4,2      ; @BQ2415X_RESET_CURRENT
	.comm	_BQ2415X_REG_VOLTAGE,4,2        ; @BQ2415X_REG_VOLTAGE
	.comm	_BQ2415X_RESET_VOLTAGE,4,2      ; @BQ2415X_RESET_VOLTAGE
	.comm	_BQ2415X_REG_CONTROL,4,2        ; @BQ2415X_REG_CONTROL
	.comm	_BQ2415X_RESET_CONTROL,4,2      ; @BQ2415X_RESET_CONTROL
	.comm	_BQ2415X_REG_STATUS,4,2         ; @BQ2415X_REG_STATUS
	.comm	_BQ2415X_RESET_STATUS,4,2       ; @BQ2415X_RESET_STATUS
	.no_dead_strip	_bq2415x_reset_chip
.subsections_via_symbols
