	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_enable_cpu_port
_b53_enable_cpu_port:                   ## @b53_enable_cpu_port
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_is5325
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_is5365
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	_B53_CPU_PORT_25@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_B53_CPU_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	movq	_PORT_CTRL_RX_BCST_EN@GOTPCREL(%rip), %rax
	movq	_PORT_CTRL_RX_MCST_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_PORT_CTRL_RX_UCST_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_B53_CTRL_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r14d, %edi
	callq	_B53_PORT_CTRL
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_b53_write8
	movl	(%r15), %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b53_brcm_hdr_setup             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B53_CPU_PORT_25,4,2            ## @B53_CPU_PORT_25
	.comm	_B53_CPU_PORT,4,2               ## @B53_CPU_PORT
	.comm	_PORT_CTRL_RX_BCST_EN,4,2       ## @PORT_CTRL_RX_BCST_EN
	.comm	_PORT_CTRL_RX_MCST_EN,4,2       ## @PORT_CTRL_RX_MCST_EN
	.comm	_PORT_CTRL_RX_UCST_EN,4,2       ## @PORT_CTRL_RX_UCST_EN
	.comm	_B53_CTRL_PAGE,4,2              ## @B53_CTRL_PAGE
	.no_dead_strip	_b53_enable_cpu_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b53_enable_cpu_port
_b53_enable_cpu_port:                   ; @b53_enable_cpu_port
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_is5325
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_is5365
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _B53_CPU_PORT_25@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B53_CPU_PORT_25@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _B53_CPU_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B53_CPU_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
LBB0_4:
Lloh6:
	adrp	x8, _PORT_CTRL_RX_BCST_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORT_CTRL_RX_BCST_EN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PORT_CTRL_RX_MCST_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PORT_CTRL_RX_MCST_EN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PORT_CTRL_RX_UCST_EN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PORT_CTRL_RX_UCST_EN@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	orr	w21, w8, w9
Lloh15:
	adrp	x8, _B53_CTRL_PAGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B53_CTRL_PAGE@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_B53_PORT_CTRL
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_b53_write8
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_b53_brcm_hdr_setup
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_B53_CPU_PORT_25,4,2            ; @B53_CPU_PORT_25
	.comm	_B53_CPU_PORT,4,2               ; @B53_CPU_PORT
	.comm	_PORT_CTRL_RX_BCST_EN,4,2       ; @PORT_CTRL_RX_BCST_EN
	.comm	_PORT_CTRL_RX_MCST_EN,4,2       ; @PORT_CTRL_RX_MCST_EN
	.comm	_PORT_CTRL_RX_UCST_EN,4,2       ; @PORT_CTRL_RX_UCST_EN
	.comm	_B53_CTRL_PAGE,4,2              ; @B53_CTRL_PAGE
	.no_dead_strip	_b53_enable_cpu_port
.subsections_via_symbols
