	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77843_charger_set_otg_vbus
_max77843_charger_set_otg_vbus:         ## @max77843_charger_set_otg_vbus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_MAX77843_CHG_ENABLE@GOTPCREL(%rip), %rdx
	movq	_MAX77843_CHG_OTG_MASK@GOTPCREL(%rip), %r8
	movq	_MAX77843_CHG_BUCK_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_MAX77843_CHG_BOOST_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %edi
	orl	(%r8), %ecx
	testl	%esi, %esi
	cmovel	%edi, %ecx
	movl	(%rax), %edi
	movq	_MAX77843_CHG_REG_CHG_CNFG_00@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAX77843_CHG_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX77843_CHG_OTG_MASK,4,2      ## @MAX77843_CHG_OTG_MASK
	.comm	_MAX77843_CHG_BOOST_MASK,4,2    ## @MAX77843_CHG_BOOST_MASK
	.comm	_MAX77843_CHG_ENABLE,4,2        ## @MAX77843_CHG_ENABLE
	.comm	_MAX77843_CHG_BUCK_MASK,4,2     ## @MAX77843_CHG_BUCK_MASK
	.comm	_MAX77843_CHG_REG_CHG_CNFG_00,4,2 ## @MAX77843_CHG_REG_CHG_CNFG_00
	.comm	_MAX77843_CHG_MODE_MASK,4,2     ## @MAX77843_CHG_MODE_MASK
	.no_dead_strip	_max77843_charger_set_otg_vbus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max77843_charger_set_otg_vbus
_max77843_charger_set_otg_vbus:         ; @max77843_charger_set_otg_vbus
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MAX77843_CHG_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX77843_CHG_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MAX77843_CHG_OTG_MASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MAX77843_CHG_OTG_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _MAX77843_CHG_BUCK_MASK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _MAX77843_CHG_BUCK_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _MAX77843_CHG_BOOST_MASK@GOTPAGE
Lloh10:
	ldr	x12, [x12, _MAX77843_CHG_BOOST_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	orr	w9, w11, w9
	orr	w10, w12, w10
	cmp	w1, #0
	csel	w3, w9, w10, eq
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _MAX77843_CHG_REG_CHG_CNFG_00@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX77843_CHG_REG_CHG_CNFG_00@GOTPAGEOFF]
Lloh14:
	adrp	x9, _MAX77843_CHG_MODE_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAX77843_CHG_MODE_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	ldr	w2, [x9]
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX77843_CHG_OTG_MASK,4,2      ; @MAX77843_CHG_OTG_MASK
	.comm	_MAX77843_CHG_BOOST_MASK,4,2    ; @MAX77843_CHG_BOOST_MASK
	.comm	_MAX77843_CHG_ENABLE,4,2        ; @MAX77843_CHG_ENABLE
	.comm	_MAX77843_CHG_BUCK_MASK,4,2     ; @MAX77843_CHG_BUCK_MASK
	.comm	_MAX77843_CHG_REG_CHG_CNFG_00,4,2 ; @MAX77843_CHG_REG_CHG_CNFG_00
	.comm	_MAX77843_CHG_MODE_MASK,4,2     ; @MAX77843_CHG_MODE_MASK
	.no_dead_strip	_max77843_charger_set_otg_vbus
.subsections_via_symbols
