	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77693_muic_set_debounce_time
_max77693_muic_set_debounce_time:       ## @max77693_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, %r14
	movl	%esi, %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.1:
	movl	%esi, %edx
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	_MAX77693_MUIC_REG_CTRL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAX77693_CONTROL3_ADCDBSET_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_5
LBB0_4:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX77693_MUIC_REG_CTRL3,4,2    ## @MAX77693_MUIC_REG_CTRL3
	.comm	_MAX77693_CONTROL3_ADCDBSET_SHIFT,4,2 ## @MAX77693_CONTROL3_ADCDBSET_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to set ADC debounce time\n"

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

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_max77693_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 max77693_muic_set_debounce_time
_max77693_muic_set_debounce_time:       ; @max77693_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]
Lloh0:
	adrp	x9, _MAX77693_MUIC_REG_CTRL3@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX77693_MUIC_REG_CTRL3@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh2:
	ldr	w8, [x9]
Lloh3:
	adrp	x9, _MAX77693_CONTROL3_ADCDBSET_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX77693_CONTROL3_ADCDBSET_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w2, w1, w9
	mov	x1, x8
	bl	_regmap_write
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX77693_MUIC_REG_CTRL3,4,2    ; @MAX77693_MUIC_REG_CTRL3
	.comm	_MAX77693_CONTROL3_ADCDBSET_SHIFT,4,2 ; @MAX77693_CONTROL3_ADCDBSET_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to set ADC debounce time\n"

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

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