	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77843_muic_set_debounce_time
_max77843_muic_set_debounce_time:       ## @max77843_muic_set_debounce_time
	.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	%rdi, %rbx
	movl	%esi, %ecx
	andl	$-4, %ecx
	cmpl	$128, %ecx
	jne	LBB0_3
## %bb.1:
	movl	%esi, %eax
	movq	8(%rbx), %rcx
	movl	(%rcx), %edi
	movq	_MAX77843_MUIC_REG_CONTROL4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MAX77843_MUIC_CONTROL4_ADCDBSET_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MAX77843_MUIC_CONTROL4_ADCDBSET_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, %ecx
	callq	_regmap_update_bits
	movl	%eax, %r14d
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jns	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	%r14d, %eax
	jmp	LBB0_4
LBB0_3:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX77843_MUIC_REG_CONTROL4,4,2 ## @MAX77843_MUIC_REG_CONTROL4
	.comm	_MAX77843_MUIC_CONTROL4_ADCDBSET_MASK,4,2 ## @MAX77843_MUIC_CONTROL4_ADCDBSET_MASK
	.comm	_MAX77843_MUIC_CONTROL4_ADCDBSET_SHIFT,4,2 ## @MAX77843_MUIC_CONTROL4_ADCDBSET_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot write MUIC regmap\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid ADC debounce time\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_max77843_muic_set_debounce_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max77843_muic_set_debounce_time
_max77843_muic_set_debounce_time:       ; @max77843_muic_set_debounce_time
	.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
	and	w8, w1, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _MAX77843_MUIC_REG_CONTROL4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX77843_MUIC_REG_CONTROL4@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MAX77843_MUIC_CONTROL4_ADCDBSET_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX77843_MUIC_CONTROL4_ADCDBSET_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x9, _MAX77843_MUIC_CONTROL4_ADCDBSET_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX77843_MUIC_CONTROL4_ADCDBSET_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w3, w1, w9
	mov	x1, x8
	bl	_regmap_update_bits
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	w20, #0
	b	LBB0_5
LBB0_3:
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_4:
	mov	x20, x0
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX77843_MUIC_REG_CONTROL4,4,2 ; @MAX77843_MUIC_REG_CONTROL4
	.comm	_MAX77843_MUIC_CONTROL4_ADCDBSET_MASK,4,2 ; @MAX77843_MUIC_CONTROL4_ADCDBSET_MASK
	.comm	_MAX77843_MUIC_CONTROL4_ADCDBSET_SHIFT,4,2 ; @MAX77843_MUIC_CONTROL4_ADCDBSET_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot write MUIC regmap\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid ADC debounce time\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_max77843_muic_set_debounce_time
.subsections_via_symbols
