	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cas_init_mac
_cas_init_mac:                          ## @cas_init_mac
	.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
	movq	%rdi, %r14
	movq	40(%rdi), %rax
	movq	(%rax), %r12
	callq	_cas_mac_reset
	movq	_CAWR_RR_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_CAWR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	_CAS_FLAG_TARGET_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_2
## %bb.1:
	movq	_INF_BURST_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_INF_BURST@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
LBB0_2:
	movq	_REG_MAC_SEND_PAUSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$7152, %edi                     ## imm = 0x1BF0
	callq	_writel
	movq	_REG_MAC_IPG0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_IPG1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$8, %edi
	callq	_writel
	movq	_REG_MAC_IPG2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$4, %edi
	callq	_writel
	movq	_REG_MAC_SLOT_TIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$64, %edi
	callq	_writel
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$4, %edi
	movq	_REG_MAC_FRAMESIZE_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	_MAC_FRAMESIZE_MAX_BURST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$8192, %esi                     ## imm = 0x2000
	callq	_CAS_BASE
	movl	%eax, %ebx
	movq	_MAC_FRAMESIZE_MAX_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CAS_MAX_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx), %esi
	addl	$8, %esi
	callq	_CAS_BASE
	orl	%eax, %ebx
	movq	_REG_MAC_FRAMESIZE_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_CAS_FLAG_SATURN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.3:
	movl	$65, %edi
	cmpq	$0, 32(%r14)
	jne	LBB0_5
LBB0_4:
	movl	$7, %edi
LBB0_5:
	movq	_REG_MAC_PA_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	_REG_MAC_JAM_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$4, %edi
	callq	_writel
	movq	_REG_MAC_ATTEMPT_LIMIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$16, %edi
	callq	_writel
	movq	_REG_MAC_CTRL_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$34824, %edi                    ## imm = 0x8808
	callq	_writel
	movzbl	5(%r12), %eax
	movzbl	4(%r12), %edi
	andl	$3, %edi
	shll	$8, %edi
	orl	%eax, %edi
	movq	_REG_MAC_RANDOM_SEED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	_REG_MAC_ADDR_FILTER0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_ADDR_FILTER1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_ADDR_FILTER2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_ADDR_FILTER2_1_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_ADDR_FILTER0_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rbx
	movl	%r15d, %edi
	callq	_REG_MAC_ADDRN
	addq	%rax, %rbx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_writel
	incl	%r15d
	cmpl	$45, %r15d
	jne	LBB0_6
## %bb.7:
	movzwl	4(%r12), %eax
	rolw	$8, %ax
	movzwl	%ax, %r15d
	movq	8(%r14), %rbx
	xorl	%edi, %edi
	callq	_REG_MAC_ADDRN
	addq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movzwl	2(%r12), %eax
	rolw	$8, %ax
	movzwl	%ax, %r15d
	movq	8(%r14), %rbx
	movl	$1, %edi
	callq	_REG_MAC_ADDRN
	addq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movzwl	(%r12), %eax
	rolw	$8, %ax
	movzwl	%ax, %r15d
	movq	8(%r14), %rbx
	movl	$2, %edi
	callq	_REG_MAC_ADDRN
	addq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	8(%r14), %rbx
	movl	$42, %edi
	callq	_REG_MAC_ADDRN
	addq	%rax, %rbx
	movl	$1, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	8(%r14), %rbx
	movl	$43, %edi
	callq	_REG_MAC_ADDRN
	addq	%rax, %rbx
	movl	$49664, %edi                    ## imm = 0xC200
	movq	%rbx, %rsi
	callq	_writel
	movq	8(%r14), %rbx
	movl	$44, %edi
	callq	_REG_MAC_ADDRN
	addq	%rax, %rbx
	movl	$384, %edi                      ## imm = 0x180
	movq	%rbx, %rsi
	callq	_writel
	movq	%r14, %rdi
	callq	_cas_setup_multicast
	movl	%eax, 24(%r14)
	movq	_N_TX_RINGS@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	16(%r14), %rdi
	callq	_spin_lock
	movq	%r14, %rdi
	callq	_cas_clear_mac_err
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	16(%r14), %rdi
	callq	_spin_unlock
	movq	_MAC_TX_FRAME_XMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_MAC_TX_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	_MAC_RX_FRAME_RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_MAC_RX_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	_REG_MAC_CTRL_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$-1, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CAWR_RR_DIS,4,2                ## @CAWR_RR_DIS
	.comm	_REG_CAWR,8,3                   ## @REG_CAWR
	.comm	_CAS_FLAG_TARGET_ABORT,4,2      ## @CAS_FLAG_TARGET_ABORT
	.comm	_INF_BURST_EN,4,2               ## @INF_BURST_EN
	.comm	_REG_INF_BURST,8,3              ## @REG_INF_BURST
	.comm	_REG_MAC_SEND_PAUSE,8,3         ## @REG_MAC_SEND_PAUSE
	.comm	_REG_MAC_IPG0,8,3               ## @REG_MAC_IPG0
	.comm	_REG_MAC_IPG1,8,3               ## @REG_MAC_IPG1
	.comm	_REG_MAC_IPG2,8,3               ## @REG_MAC_IPG2
	.comm	_REG_MAC_SLOT_TIME,8,3          ## @REG_MAC_SLOT_TIME
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_REG_MAC_FRAMESIZE_MIN,8,3      ## @REG_MAC_FRAMESIZE_MIN
	.comm	_MAC_FRAMESIZE_MAX_BURST,4,2    ## @MAC_FRAMESIZE_MAX_BURST
	.comm	_MAC_FRAMESIZE_MAX_FRAME,4,2    ## @MAC_FRAMESIZE_MAX_FRAME
	.comm	_CAS_MAX_MTU,4,2                ## @CAS_MAX_MTU
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_REG_MAC_FRAMESIZE_MAX,8,3      ## @REG_MAC_FRAMESIZE_MAX
	.comm	_CAS_FLAG_SATURN,4,2            ## @CAS_FLAG_SATURN
	.comm	_REG_MAC_PA_SIZE,8,3            ## @REG_MAC_PA_SIZE
	.comm	_REG_MAC_JAM_SIZE,8,3           ## @REG_MAC_JAM_SIZE
	.comm	_REG_MAC_ATTEMPT_LIMIT,8,3      ## @REG_MAC_ATTEMPT_LIMIT
	.comm	_REG_MAC_CTRL_TYPE,8,3          ## @REG_MAC_CTRL_TYPE
	.comm	_REG_MAC_RANDOM_SEED,8,3        ## @REG_MAC_RANDOM_SEED
	.comm	_REG_MAC_ADDR_FILTER0,8,3       ## @REG_MAC_ADDR_FILTER0
	.comm	_REG_MAC_ADDR_FILTER1,8,3       ## @REG_MAC_ADDR_FILTER1
	.comm	_REG_MAC_ADDR_FILTER2,8,3       ## @REG_MAC_ADDR_FILTER2
	.comm	_REG_MAC_ADDR_FILTER2_1_MASK,8,3 ## @REG_MAC_ADDR_FILTER2_1_MASK
	.comm	_REG_MAC_ADDR_FILTER0_MASK,8,3  ## @REG_MAC_ADDR_FILTER0_MASK
	.comm	_N_TX_RINGS,8,3                 ## @N_TX_RINGS
	.comm	_MAC_TX_FRAME_XMIT,4,2          ## @MAC_TX_FRAME_XMIT
	.comm	_REG_MAC_TX_MASK,8,3            ## @REG_MAC_TX_MASK
	.comm	_MAC_RX_FRAME_RECV,4,2          ## @MAC_RX_FRAME_RECV
	.comm	_REG_MAC_RX_MASK,8,3            ## @REG_MAC_RX_MASK
	.comm	_REG_MAC_CTRL_MASK,8,3          ## @REG_MAC_CTRL_MASK
	.no_dead_strip	_cas_init_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cas_init_mac
_cas_init_mac:                          ; @cas_init_mac
	.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, x0
	ldr	x8, [x0, #40]
	ldr	x21, [x8]
	bl	_cas_mac_reset
Lloh0:
	adrp	x8, _CAWR_RR_DIS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAWR_RR_DIS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _REG_CAWR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_CAWR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _CAS_FLAG_TARGET_ABORT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CAS_FLAG_TARGET_ABORT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _INF_BURST_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INF_BURST_EN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _REG_INF_BURST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _REG_INF_BURST@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_2:
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _REG_MAC_SEND_PAUSE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REG_MAC_SEND_PAUSE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #7152
	bl	_writel
	ldr	x8, [x19, #8]
Lloh18:
	adrp	x9, _REG_MAC_IPG0@GOTPAGE
Lloh19:
	ldr	x9, [x9, _REG_MAC_IPG0@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19, #8]
Lloh21:
	adrp	x9, _REG_MAC_IPG1@GOTPAGE
Lloh22:
	ldr	x9, [x9, _REG_MAC_IPG1@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh24:
	adrp	x9, _REG_MAC_IPG2@GOTPAGE
Lloh25:
	ldr	x9, [x9, _REG_MAC_IPG2@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #4
	bl	_writel
	ldr	x8, [x19, #8]
Lloh27:
	adrp	x9, _REG_MAC_SLOT_TIME@GOTPAGE
Lloh28:
	ldr	x9, [x9, _REG_MAC_SLOT_TIME@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #64
	bl	_writel
Lloh30:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	add	w0, w8, #4
	ldr	x8, [x19, #8]
Lloh33:
	adrp	x9, _REG_MAC_FRAMESIZE_MIN@GOTPAGE
Lloh34:
	ldr	x9, [x9, _REG_MAC_FRAMESIZE_MIN@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh36:
	adrp	x8, _MAC_FRAMESIZE_MAX_BURST@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MAC_FRAMESIZE_MAX_BURST@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	w1, #8192
	bl	_CAS_BASE
	mov	x20, x0
Lloh39:
	adrp	x8, _MAC_FRAMESIZE_MAX_FRAME@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MAC_FRAMESIZE_MAX_FRAME@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _CAS_MAX_MTU@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CAS_MAX_MTU@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh46:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	add	w8, w8, w9
	add	w1, w8, #8
	bl	_CAS_BASE
	orr	w0, w0, w20
	ldr	x8, [x19, #8]
Lloh48:
	adrp	x9, _REG_MAC_FRAMESIZE_MAX@GOTPAGE
Lloh49:
	ldr	x9, [x9, _REG_MAC_FRAMESIZE_MAX@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19]
Lloh51:
	adrp	x9, _CAS_FLAG_SATURN@GOTPAGE
Lloh52:
	ldr	x9, [x9, _CAS_FLAG_SATURN@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w0, #65
	b	LBB0_6
LBB0_5:
	mov	w0, #7
LBB0_6:
	ldr	x8, [x19, #8]
Lloh54:
	adrp	x9, _REG_MAC_PA_SIZE@GOTPAGE
Lloh55:
	ldr	x9, [x9, _REG_MAC_PA_SIZE@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh57:
	adrp	x9, _REG_MAC_JAM_SIZE@GOTPAGE
Lloh58:
	ldr	x9, [x9, _REG_MAC_JAM_SIZE@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #4
	bl	_writel
	ldr	x8, [x19, #8]
Lloh60:
	adrp	x9, _REG_MAC_ATTEMPT_LIMIT@GOTPAGE
Lloh61:
	ldr	x9, [x9, _REG_MAC_ATTEMPT_LIMIT@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #16
	bl	_writel
	ldr	x8, [x19, #8]
Lloh63:
	adrp	x9, _REG_MAC_CTRL_TYPE@GOTPAGE
Lloh64:
	ldr	x9, [x9, _REG_MAC_CTRL_TYPE@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #34824
	bl	_writel
	ldrb	w0, [x21, #5]
	ldrb	w8, [x21, #4]
	bfi	w0, w8, #8, #2
	ldr	x8, [x19, #8]
Lloh66:
	adrp	x9, _REG_MAC_RANDOM_SEED@GOTPAGE
Lloh67:
	ldr	x9, [x9, _REG_MAC_RANDOM_SEED@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh69:
	adrp	x9, _REG_MAC_ADDR_FILTER0@GOTPAGE
Lloh70:
	ldr	x9, [x9, _REG_MAC_ADDR_FILTER0@GOTPAGEOFF]
Lloh71:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19, #8]
Lloh72:
	adrp	x9, _REG_MAC_ADDR_FILTER1@GOTPAGE
Lloh73:
	ldr	x9, [x9, _REG_MAC_ADDR_FILTER1@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19, #8]
Lloh75:
	adrp	x9, _REG_MAC_ADDR_FILTER2@GOTPAGE
Lloh76:
	ldr	x9, [x9, _REG_MAC_ADDR_FILTER2@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19, #8]
Lloh78:
	adrp	x9, _REG_MAC_ADDR_FILTER2_1_MASK@GOTPAGE
Lloh79:
	ldr	x9, [x9, _REG_MAC_ADDR_FILTER2_1_MASK@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19, #8]
Lloh81:
	adrp	x9, _REG_MAC_ADDR_FILTER0_MASK@GOTPAGE
Lloh82:
	ldr	x9, [x9, _REG_MAC_ADDR_FILTER0_MASK@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	mov	w20, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x19, #8]
	mov	x0, x20
	bl	_REG_MAC_ADDRN
	add	x1, x0, x22
	mov	w0, #0
	bl	_writel
	add	w20, w20, #1
	cmp	w20, #45
	b.ne	LBB0_7
; %bb.8:
	ldrh	w8, [x21, #4]
	rev16	w20, w8
	ldr	x22, [x19, #8]
	mov	w0, #0
	bl	_REG_MAC_ADDRN
	add	x1, x0, x22
	mov	x0, x20
	bl	_writel
	ldrh	w8, [x21, #2]
	rev16	w20, w8
	ldr	x22, [x19, #8]
	mov	w0, #1
	bl	_REG_MAC_ADDRN
	add	x1, x0, x22
	mov	x0, x20
	bl	_writel
	ldrh	w8, [x21]
	rev16	w20, w8
	ldr	x21, [x19, #8]
	mov	w0, #2
	bl	_REG_MAC_ADDRN
	add	x1, x0, x21
	mov	x0, x20
	bl	_writel
	ldr	x20, [x19, #8]
	mov	w0, #42
	bl	_REG_MAC_ADDRN
	add	x1, x0, x20
	mov	w0, #1
	bl	_writel
	ldr	x20, [x19, #8]
	mov	w0, #43
	bl	_REG_MAC_ADDRN
	add	x1, x0, x20
	mov	w0, #49664
	bl	_writel
	ldr	x20, [x19, #8]
	mov	w0, #44
	bl	_REG_MAC_ADDRN
	add	x1, x0, x20
	mov	w0, #384
	bl	_writel
	mov	x0, x19
	bl	_cas_setup_multicast
	str	w0, [x19, #24]
	ldr	x8, [x19, #16]
Lloh84:
	adrp	x20, _N_TX_RINGS@GOTPAGE
Lloh85:
	ldr	x20, [x20, _N_TX_RINGS@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x8, x9, lsl #2
	bl	_spin_lock
	mov	x0, x19
	bl	_cas_clear_mac_err
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	add	x0, x8, x9, lsl #2
	bl	_spin_unlock
Lloh86:
	adrp	x8, _MAC_TX_FRAME_XMIT@GOTPAGE
Lloh87:
	ldr	x8, [x8, _MAC_TX_FRAME_XMIT@GOTPAGEOFF]
Lloh88:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh89:
	adrp	x9, _REG_MAC_TX_MASK@GOTPAGE
Lloh90:
	ldr	x9, [x9, _REG_MAC_TX_MASK@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh92:
	adrp	x8, _MAC_RX_FRAME_RECV@GOTPAGE
Lloh93:
	ldr	x8, [x8, _MAC_RX_FRAME_RECV@GOTPAGEOFF]
Lloh94:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh95:
	adrp	x9, _REG_MAC_RX_MASK@GOTPAGE
Lloh96:
	ldr	x9, [x9, _REG_MAC_RX_MASK@GOTPAGEOFF]
Lloh97:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh98:
	adrp	x9, _REG_MAC_CTRL_MASK@GOTPAGE
Lloh99:
	ldr	x9, [x9, _REG_MAC_CTRL_MASK@GOTPAGEOFF]
Lloh100:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #-1
	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	_writel
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_CAWR_RR_DIS,4,2                ; @CAWR_RR_DIS
	.comm	_REG_CAWR,8,3                   ; @REG_CAWR
	.comm	_CAS_FLAG_TARGET_ABORT,4,2      ; @CAS_FLAG_TARGET_ABORT
	.comm	_INF_BURST_EN,4,2               ; @INF_BURST_EN
	.comm	_REG_INF_BURST,8,3              ; @REG_INF_BURST
	.comm	_REG_MAC_SEND_PAUSE,8,3         ; @REG_MAC_SEND_PAUSE
	.comm	_REG_MAC_IPG0,8,3               ; @REG_MAC_IPG0
	.comm	_REG_MAC_IPG1,8,3               ; @REG_MAC_IPG1
	.comm	_REG_MAC_IPG2,8,3               ; @REG_MAC_IPG2
	.comm	_REG_MAC_SLOT_TIME,8,3          ; @REG_MAC_SLOT_TIME
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_REG_MAC_FRAMESIZE_MIN,8,3      ; @REG_MAC_FRAMESIZE_MIN
	.comm	_MAC_FRAMESIZE_MAX_BURST,4,2    ; @MAC_FRAMESIZE_MAX_BURST
	.comm	_MAC_FRAMESIZE_MAX_FRAME,4,2    ; @MAC_FRAMESIZE_MAX_FRAME
	.comm	_CAS_MAX_MTU,4,2                ; @CAS_MAX_MTU
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_REG_MAC_FRAMESIZE_MAX,8,3      ; @REG_MAC_FRAMESIZE_MAX
	.comm	_CAS_FLAG_SATURN,4,2            ; @CAS_FLAG_SATURN
	.comm	_REG_MAC_PA_SIZE,8,3            ; @REG_MAC_PA_SIZE
	.comm	_REG_MAC_JAM_SIZE,8,3           ; @REG_MAC_JAM_SIZE
	.comm	_REG_MAC_ATTEMPT_LIMIT,8,3      ; @REG_MAC_ATTEMPT_LIMIT
	.comm	_REG_MAC_CTRL_TYPE,8,3          ; @REG_MAC_CTRL_TYPE
	.comm	_REG_MAC_RANDOM_SEED,8,3        ; @REG_MAC_RANDOM_SEED
	.comm	_REG_MAC_ADDR_FILTER0,8,3       ; @REG_MAC_ADDR_FILTER0
	.comm	_REG_MAC_ADDR_FILTER1,8,3       ; @REG_MAC_ADDR_FILTER1
	.comm	_REG_MAC_ADDR_FILTER2,8,3       ; @REG_MAC_ADDR_FILTER2
	.comm	_REG_MAC_ADDR_FILTER2_1_MASK,8,3 ; @REG_MAC_ADDR_FILTER2_1_MASK
	.comm	_REG_MAC_ADDR_FILTER0_MASK,8,3  ; @REG_MAC_ADDR_FILTER0_MASK
	.comm	_N_TX_RINGS,8,3                 ; @N_TX_RINGS
	.comm	_MAC_TX_FRAME_XMIT,4,2          ; @MAC_TX_FRAME_XMIT
	.comm	_REG_MAC_TX_MASK,8,3            ; @REG_MAC_TX_MASK
	.comm	_MAC_RX_FRAME_RECV,4,2          ; @MAC_RX_FRAME_RECV
	.comm	_REG_MAC_RX_MASK,8,3            ; @REG_MAC_RX_MASK
	.comm	_REG_MAC_CTRL_MASK,8,3          ; @REG_MAC_CTRL_MASK
	.no_dead_strip	_cas_init_mac
.subsections_via_symbols
