	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8152_aldps_en
_r8152_aldps_en:                        ## @r8152_aldps_en
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_OCP_ALDPS_CONFIG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_ENPWRSAVE@GOTPCREL(%rip), %rax
	movq	_ENPDNPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_LINKENA@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_DIS_SDSAVE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	popq	%rbp
	jmp	_ocp_reg_write                  ## TAILCALL
LBB0_2:
	movq	_ENPDNPS@GOTPCREL(%rip), %rax
	movq	_LINKENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_DIS_SDSAVE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_ocp_reg_write
	movl	$20, %edi
	popq	%rbp
	jmp	_msleep                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OCP_ALDPS_CONFIG,4,2           ## @OCP_ALDPS_CONFIG
	.comm	_ENPWRSAVE,4,2                  ## @ENPWRSAVE
	.comm	_ENPDNPS,4,2                    ## @ENPDNPS
	.comm	_LINKENA,4,2                    ## @LINKENA
	.comm	_DIS_SDSAVE,4,2                 ## @DIS_SDSAVE
	.no_dead_strip	_r8152_aldps_en
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r8152_aldps_en
_r8152_aldps_en:                        ; @r8152_aldps_en
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
Lloh0:
	adrp	x9, _OCP_ALDPS_CONFIG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OCP_ALDPS_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENPWRSAVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENPWRSAVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ENPDNPS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENPDNPS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _LINKENA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LINKENA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _DIS_SDSAVE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _DIS_SDSAVE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w2, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ocp_reg_write
LBB0_2:
Lloh15:
	adrp	x8, _ENPDNPS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENPDNPS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _LINKENA@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LINKENA@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _DIS_SDSAVE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DIS_SDSAVE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_ocp_reg_write
	mov	w0, #20
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_msleep
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_OCP_ALDPS_CONFIG,4,2           ; @OCP_ALDPS_CONFIG
	.comm	_ENPWRSAVE,4,2                  ; @ENPWRSAVE
	.comm	_ENPDNPS,4,2                    ; @ENPDNPS
	.comm	_LINKENA,4,2                    ; @LINKENA
	.comm	_DIS_SDSAVE,4,2                 ; @DIS_SDSAVE
	.no_dead_strip	_r8152_aldps_en
.subsections_via_symbols
