	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77693_haptic_lowsys
_max77693_haptic_lowsys:                ## @max77693_haptic_lowsys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	movq	_TYPE_MAX77693@GOTPCREL(%rip), %rdx
	xorl	%r14d, %r14d
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movl	%esi, %eax
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	movq	_MAX77693_PMIC_REG_LSCNFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MAX77693_PMIC_LOW_SYS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MAX77693_PMIC_LOW_SYS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, %ecx
	callq	_regmap_update_bits
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movl	%r15d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_MAX77693,8,3              ## @TYPE_MAX77693
	.comm	_MAX77693_PMIC_REG_LSCNFG,4,2   ## @MAX77693_PMIC_REG_LSCNFG
	.comm	_MAX77693_PMIC_LOW_SYS_MASK,4,2 ## @MAX77693_PMIC_LOW_SYS_MASK
	.comm	_MAX77693_PMIC_LOW_SYS_SHIFT,4,2 ## @MAX77693_PMIC_LOW_SYS_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot update pmic regmap: %d\n"

	.no_dead_strip	_max77693_haptic_lowsys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max77693_haptic_lowsys
_max77693_haptic_lowsys:                ; @max77693_haptic_lowsys
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TYPE_MAX77693@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TYPE_MAX77693@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #12]
Lloh3:
	adrp	x8, _MAX77693_PMIC_REG_LSCNFG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX77693_PMIC_REG_LSCNFG@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MAX77693_PMIC_LOW_SYS_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX77693_PMIC_LOW_SYS_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w2, [x9]
Lloh9:
	adrp	x9, _MAX77693_PMIC_LOW_SYS_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MAX77693_PMIC_LOW_SYS_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w3, w1, w9
	mov	x1, x8
	bl	_regmap_update_bits
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	b	LBB0_4
LBB0_3:
	mov	w20, #0
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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_MAX77693,8,3              ; @TYPE_MAX77693
	.comm	_MAX77693_PMIC_REG_LSCNFG,4,2   ; @MAX77693_PMIC_REG_LSCNFG
	.comm	_MAX77693_PMIC_LOW_SYS_MASK,4,2 ; @MAX77693_PMIC_LOW_SYS_MASK
	.comm	_MAX77693_PMIC_LOW_SYS_SHIFT,4,2 ; @MAX77693_PMIC_LOW_SYS_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot update pmic regmap: %d\n"

	.no_dead_strip	_max77693_haptic_lowsys
.subsections_via_symbols
