	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq2415x_timer_error
_bq2415x_timer_error:                   ## @bq2415x_timer_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, (%rdi)
	movq	24(%rdi), %rdi
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_sysfs_notify
	movl	16(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_dev_err
	cmpq	$0, 8(%rbx)
	jle	LBB0_2
## %bb.1:
	movq	$0, 8(%rbx)
LBB0_2:
	movq	_BQ2415X_MODE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bq2415x_set_mode
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bq2415x_set_autotimer          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timer"

L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.comm	_BQ2415X_MODE_OFF,4,2           ## @BQ2415X_MODE_OFF
	.no_dead_strip	_bq2415x_timer_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq2415x_timer_error
_bq2415x_timer_error:                   ; @bq2415x_timer_error
	.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	x20, x1
	mov	x19, x0
	str	x1, [x0]
	ldr	x0, [x0, #24]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	bl	_sysfs_notify
	ldr	w0, [x19, #16]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	str	xzr, [x19, #8]
LBB0_2:
Lloh4:
	adrp	x8, _BQ2415X_MODE_OFF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BQ2415X_MODE_OFF@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bq2415x_set_mode
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bq2415x_set_autotimer
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timer"

l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.comm	_BQ2415X_MODE_OFF,4,2           ; @BQ2415X_MODE_OFF
	.no_dead_strip	_bq2415x_timer_error
.subsections_via_symbols
