	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8152b_enter_oob
_r8152b_enter_oob:                      ## @r8152b_enter_oob
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_PLA_OOB_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_ocp_read_byte
	movq	_NOW_IS_OOB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ocp_write_byte
	movl	(%r14), %esi
	movq	_PLA_RXFIFO_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RXFIFO_THR1_OOB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_ocp_write_dword
	movl	(%r14), %esi
	movq	_PLA_RXFIFO_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RXFIFO_THR2_OOB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_ocp_write_dword
	movl	(%r14), %esi
	movq	_PLA_RXFIFO_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RXFIFO_THR3_OOB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_ocp_write_dword
	movq	%r15, %rdi
	callq	_rtl_disable
	movl	$1000, %r12d                    ## imm = 0x3E8
	movq	_LINK_LIST_READY@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	_PLA_OOB_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ocp_read_byte
	testl	%eax, (%r13)
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	decl	%r12d
	jne	LBB0_1
LBB0_3:
	movl	(%r14), %esi
	movq	_PLA_SFF_STS_7@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ocp_read_word
	movq	_RE_INIT_LL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_ocp_write_word
	movl	$1000, %ebx                     ## imm = 0x3E8
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	_PLA_OOB_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ocp_read_byte
	testl	%eax, (%r13)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	decl	%ebx
	jne	LBB0_4
LBB0_6:
	movl	(%r14), %esi
	movq	_PLA_RMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RTL8152_RMS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_ocp_write_word
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rtl_rx_vlan_en
	movl	(%r14), %esi
	movq	_PLA_BDC_CR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ocp_read_word
	movq	_ALDPS_PROXY_MODE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_ocp_write_word
	movl	(%r14), %esi
	movq	_PLA_OOB_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ocp_read_byte
	movq	_DIS_MCU_CLROOB@GOTPCREL(%rip), %rcx
	movq	_NOW_IS_OOB@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_ocp_write_byte
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rxdy_gated_en
	movl	(%r14), %esi
	movq	_PLA_RCR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ocp_read_dword
	movq	_RCR_APM@GOTPCREL(%rip), %rcx
	movq	_RCR_AM@GOTPCREL(%rip), %rdx
	movq	_RCR_AB@GOTPCREL(%rip), %rsi
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ocp_write_dword                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCU_TYPE_PLA,4,2               ## @MCU_TYPE_PLA
	.comm	_PLA_OOB_CTRL,4,2               ## @PLA_OOB_CTRL
	.comm	_NOW_IS_OOB,4,2                 ## @NOW_IS_OOB
	.comm	_PLA_RXFIFO_CTRL0,4,2           ## @PLA_RXFIFO_CTRL0
	.comm	_RXFIFO_THR1_OOB,4,2            ## @RXFIFO_THR1_OOB
	.comm	_PLA_RXFIFO_CTRL1,4,2           ## @PLA_RXFIFO_CTRL1
	.comm	_RXFIFO_THR2_OOB,4,2            ## @RXFIFO_THR2_OOB
	.comm	_PLA_RXFIFO_CTRL2,4,2           ## @PLA_RXFIFO_CTRL2
	.comm	_RXFIFO_THR3_OOB,4,2            ## @RXFIFO_THR3_OOB
	.comm	_LINK_LIST_READY,4,2            ## @LINK_LIST_READY
	.comm	_PLA_SFF_STS_7,4,2              ## @PLA_SFF_STS_7
	.comm	_RE_INIT_LL,4,2                 ## @RE_INIT_LL
	.comm	_PLA_RMS,4,2                    ## @PLA_RMS
	.comm	_RTL8152_RMS,4,2                ## @RTL8152_RMS
	.comm	_PLA_BDC_CR,4,2                 ## @PLA_BDC_CR
	.comm	_ALDPS_PROXY_MODE,4,2           ## @ALDPS_PROXY_MODE
	.comm	_DIS_MCU_CLROOB,4,2             ## @DIS_MCU_CLROOB
	.comm	_PLA_RCR,4,2                    ## @PLA_RCR
	.comm	_RCR_APM,4,2                    ## @RCR_APM
	.comm	_RCR_AM,4,2                     ## @RCR_AM
	.comm	_RCR_AB,4,2                     ## @RCR_AB
	.no_dead_strip	_r8152b_enter_oob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r8152b_enter_oob
_r8152b_enter_oob:                      ; @r8152b_enter_oob
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x20, _MCU_TYPE_PLA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MCU_TYPE_PLA@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _PLA_OOB_CTRL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PLA_OOB_CTRL@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_ocp_read_byte
Lloh4:
	adrp	x22, _NOW_IS_OOB@GOTPAGE
Lloh5:
	ldr	x22, [x22, _NOW_IS_OOB@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w3, w0, w8
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ocp_write_byte
	ldr	w1, [x20]
Lloh6:
	adrp	x8, _PLA_RXFIFO_CTRL0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PLA_RXFIFO_CTRL0@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _RXFIFO_THR1_OOB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RXFIFO_THR1_OOB@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_ocp_write_dword
	ldr	w1, [x20]
Lloh12:
	adrp	x8, _PLA_RXFIFO_CTRL1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PLA_RXFIFO_CTRL1@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _RXFIFO_THR2_OOB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RXFIFO_THR2_OOB@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_ocp_write_dword
	ldr	w1, [x20]
Lloh18:
	adrp	x8, _PLA_RXFIFO_CTRL2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PLA_RXFIFO_CTRL2@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _RXFIFO_THR3_OOB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RXFIFO_THR3_OOB@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_ocp_write_dword
	mov	x0, x19
	bl	_rtl_disable
	mov	w24, #1000
Lloh24:
	adrp	x23, _LINK_LIST_READY@GOTPAGE
Lloh25:
	ldr	x23, [x23, _LINK_LIST_READY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ocp_read_byte
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	subs	w24, w24, #1
	b.ne	LBB0_1
LBB0_3:
	ldr	w1, [x20]
Lloh26:
	adrp	x24, _PLA_SFF_STS_7@GOTPAGE
Lloh27:
	ldr	x24, [x24, _PLA_SFF_STS_7@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_ocp_read_word
Lloh28:
	adrp	x8, _RE_INIT_LL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RE_INIT_LL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	orr	w3, w8, w0
	ldr	w1, [x20]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_ocp_write_word
	mov	w24, #1000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ocp_read_byte
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	subs	w24, w24, #1
	b.ne	LBB0_4
LBB0_6:
	ldr	w1, [x20]
Lloh31:
	adrp	x8, _PLA_RMS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PLA_RMS@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x8, _RTL8152_RMS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _RTL8152_RMS@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_ocp_write_word
	mov	x0, x19
	mov	w1, #1
	bl	_rtl_rx_vlan_en
	ldr	w1, [x20]
Lloh37:
	adrp	x23, _PLA_BDC_CR@GOTPAGE
Lloh38:
	ldr	x23, [x23, _PLA_BDC_CR@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_ocp_read_word
Lloh39:
	adrp	x8, _ALDPS_PROXY_MODE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ALDPS_PROXY_MODE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	orr	w3, w8, w0
	ldr	w1, [x20]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_ocp_write_word
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ocp_read_byte
Lloh42:
	adrp	x8, _DIS_MCU_CLROOB@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DIS_MCU_CLROOB@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh44:
	ldr	w8, [x8]
	orr	w9, w9, w0
	orr	w3, w9, w8
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ocp_write_byte
	mov	x0, x19
	mov	w1, #0
	bl	_rxdy_gated_en
	ldr	w1, [x20]
Lloh45:
	adrp	x21, _PLA_RCR@GOTPAGE
Lloh46:
	ldr	x21, [x21, _PLA_RCR@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ocp_read_dword
Lloh47:
	adrp	x8, _RCR_APM@GOTPAGE
Lloh48:
	ldr	x8, [x8, _RCR_APM@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _RCR_AM@GOTPAGE
Lloh51:
	ldr	x9, [x9, _RCR_AM@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
Lloh53:
	adrp	x10, _RCR_AB@GOTPAGE
Lloh54:
	ldr	x10, [x10, _RCR_AB@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w3, w8, w10
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ocp_write_dword
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_MCU_TYPE_PLA,4,2               ; @MCU_TYPE_PLA
	.comm	_PLA_OOB_CTRL,4,2               ; @PLA_OOB_CTRL
	.comm	_NOW_IS_OOB,4,2                 ; @NOW_IS_OOB
	.comm	_PLA_RXFIFO_CTRL0,4,2           ; @PLA_RXFIFO_CTRL0
	.comm	_RXFIFO_THR1_OOB,4,2            ; @RXFIFO_THR1_OOB
	.comm	_PLA_RXFIFO_CTRL1,4,2           ; @PLA_RXFIFO_CTRL1
	.comm	_RXFIFO_THR2_OOB,4,2            ; @RXFIFO_THR2_OOB
	.comm	_PLA_RXFIFO_CTRL2,4,2           ; @PLA_RXFIFO_CTRL2
	.comm	_RXFIFO_THR3_OOB,4,2            ; @RXFIFO_THR3_OOB
	.comm	_LINK_LIST_READY,4,2            ; @LINK_LIST_READY
	.comm	_PLA_SFF_STS_7,4,2              ; @PLA_SFF_STS_7
	.comm	_RE_INIT_LL,4,2                 ; @RE_INIT_LL
	.comm	_PLA_RMS,4,2                    ; @PLA_RMS
	.comm	_RTL8152_RMS,4,2                ; @RTL8152_RMS
	.comm	_PLA_BDC_CR,4,2                 ; @PLA_BDC_CR
	.comm	_ALDPS_PROXY_MODE,4,2           ; @ALDPS_PROXY_MODE
	.comm	_DIS_MCU_CLROOB,4,2             ; @DIS_MCU_CLROOB
	.comm	_PLA_RCR,4,2                    ; @PLA_RCR
	.comm	_RCR_APM,4,2                    ; @RCR_APM
	.comm	_RCR_AM,4,2                     ; @RCR_AM
	.comm	_RCR_AB,4,2                     ; @RCR_AB
	.no_dead_strip	_r8152b_enter_oob
.subsections_via_symbols
