	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77693_set_top_off_timer
_max77693_set_top_off_timer:            ## @max77693_set_top_off_timer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$71, %rsi
	jb	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movzbl	%sil, %eax
	imull	$205, %eax, %eax
	shrl	$11, %eax
	movq	_CHG_CNFG_03_TOTIME_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	(%rdi), %rcx
	movl	(%rcx), %edi
	movq	_MAX77693_CHG_REG_CHG_CNFG_03@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CHG_CNFG_03_TOTIME_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CHG_CNFG_03_TOTIME_SHIFT,4,2   ## @CHG_CNFG_03_TOTIME_SHIFT
	.comm	_MAX77693_CHG_REG_CHG_CNFG_03,4,2 ## @MAX77693_CHG_REG_CHG_CNFG_03
	.comm	_CHG_CNFG_03_TOTIME_MASK,4,2    ## @CHG_CNFG_03_TOTIME_MASK
	.no_dead_strip	_max77693_set_top_off_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max77693_set_top_off_timer
_max77693_set_top_off_timer:            ; @max77693_set_top_off_timer
	.cfi_startproc
; %bb.0:
	cmp	x1, #71
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	and	w8, w1, #0xff
	mov	w9, #205
	mul	w8, w8, w9
	lsr	w8, w8, #11
Lloh3:
	adrp	x9, _CHG_CNFG_03_TOTIME_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHG_CNFG_03_TOTIME_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w3, w8, w9
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _MAX77693_CHG_REG_CHG_CNFG_03@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX77693_CHG_REG_CHG_CNFG_03@GOTPAGEOFF]
Lloh8:
	adrp	x9, _CHG_CNFG_03_TOTIME_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CHG_CNFG_03_TOTIME_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w2, [x9]
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CHG_CNFG_03_TOTIME_SHIFT,4,2   ; @CHG_CNFG_03_TOTIME_SHIFT
	.comm	_MAX77693_CHG_REG_CHG_CNFG_03,4,2 ; @MAX77693_CHG_REG_CHG_CNFG_03
	.comm	_CHG_CNFG_03_TOTIME_MASK,4,2    ; @CHG_CNFG_03_TOTIME_MASK
	.no_dead_strip	_max77693_set_top_off_timer
.subsections_via_symbols
