	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twl4030_charger_enable_ac
_twl4030_charger_enable_ac:             ## @twl4030_charger_enable_ac
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TWL4030_BCIAUTOAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	_CHARGE_OFF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rdi)
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	movl	%eax, %esi
	popq	%rbp
	jmp	_twl4030_clear_set_boot_bci     ## TAILCALL
LBB0_3:
	movl	%eax, %edi
	xorl	%esi, %esi
	popq	%rbp
	jmp	_twl4030_clear_set_boot_bci     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHARGE_OFF,8,3                 ## @CHARGE_OFF
	.comm	_TWL4030_BCIAUTOAC,4,2          ## @TWL4030_BCIAUTOAC
	.no_dead_strip	_twl4030_charger_enable_ac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twl4030_charger_enable_ac
_twl4030_charger_enable_ac:             ; @twl4030_charger_enable_ac
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TWL4030_BCIAUTOAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWL4030_BCIAUTOAC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w1, LBB0_3
; %bb.1:
	ldr	x9, [x0]
Lloh3:
	adrp	x10, _CHARGE_OFF@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CHARGE_OFF@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #0
	mov	x1, x8
	b	_twl4030_clear_set_boot_bci
LBB0_3:
	mov	x0, x8
	mov	w1, #0
	b	_twl4030_clear_set_boot_bci
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CHARGE_OFF,8,3                 ; @CHARGE_OFF
	.comm	_TWL4030_BCIAUTOAC,4,2          ; @TWL4030_BCIAUTOAC
	.no_dead_strip	_twl4030_charger_enable_ac
.subsections_via_symbols
