	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm2xxx_charging_enable_mngt
_pm2xxx_charging_enable_mngt:           ## @pm2xxx_charging_enable_mngt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PM2XXX_BATT_CTRL_REG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PM2XXX_CH_AUTO_RESUME_EN@GOTPCREL(%rip), %rax
	movq	_PM2XXX_CHARGER_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	popq	%rbp
	jmp	_pm2xxx_reg_write               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PM2XXX_BATT_CTRL_REG2,4,2      ## @PM2XXX_BATT_CTRL_REG2
	.comm	_PM2XXX_CH_AUTO_RESUME_EN,4,2   ## @PM2XXX_CH_AUTO_RESUME_EN
	.comm	_PM2XXX_CHARGER_ENA,4,2         ## @PM2XXX_CHARGER_ENA
	.no_dead_strip	_pm2xxx_charging_enable_mngt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm2xxx_charging_enable_mngt
_pm2xxx_charging_enable_mngt:           ; @pm2xxx_charging_enable_mngt
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PM2XXX_BATT_CTRL_REG2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PM2XXX_BATT_CTRL_REG2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _PM2XXX_CH_AUTO_RESUME_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PM2XXX_CH_AUTO_RESUME_EN@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PM2XXX_CHARGER_ENA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PM2XXX_CHARGER_ENA@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	b	_pm2xxx_reg_write
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PM2XXX_BATT_CTRL_REG2,4,2      ; @PM2XXX_BATT_CTRL_REG2
	.comm	_PM2XXX_CH_AUTO_RESUME_EN,4,2   ; @PM2XXX_CH_AUTO_RESUME_EN
	.comm	_PM2XXX_CHARGER_ENA,4,2         ; @PM2XXX_CHARGER_ENA
	.no_dead_strip	_pm2xxx_charging_enable_mngt
.subsections_via_symbols
