	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cas_clear_mac_err
_cas_clear_mac_err:                     ## @cas_clear_mac_err
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_REG_MAC_COLL_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_COLL_FIRST@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_COLL_EXCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_COLL_LATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_TIMER_DEFER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_ATTEMPTS_PEAK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_RECV_FRAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_LEN_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_ALIGN_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_FCS_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_REG_MAC_RX_CODE_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MAC_COLL_NORMAL,8,3        ## @REG_MAC_COLL_NORMAL
	.comm	_REG_MAC_COLL_FIRST,8,3         ## @REG_MAC_COLL_FIRST
	.comm	_REG_MAC_COLL_EXCESS,8,3        ## @REG_MAC_COLL_EXCESS
	.comm	_REG_MAC_COLL_LATE,8,3          ## @REG_MAC_COLL_LATE
	.comm	_REG_MAC_TIMER_DEFER,8,3        ## @REG_MAC_TIMER_DEFER
	.comm	_REG_MAC_ATTEMPTS_PEAK,8,3      ## @REG_MAC_ATTEMPTS_PEAK
	.comm	_REG_MAC_RECV_FRAME,8,3         ## @REG_MAC_RECV_FRAME
	.comm	_REG_MAC_LEN_ERR,8,3            ## @REG_MAC_LEN_ERR
	.comm	_REG_MAC_ALIGN_ERR,8,3          ## @REG_MAC_ALIGN_ERR
	.comm	_REG_MAC_FCS_ERR,8,3            ## @REG_MAC_FCS_ERR
	.comm	_REG_MAC_RX_CODE_ERR,8,3        ## @REG_MAC_RX_CODE_ERR
	.no_dead_strip	_cas_clear_mac_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cas_clear_mac_err
_cas_clear_mac_err:                     ; @cas_clear_mac_err
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _REG_MAC_COLL_NORMAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_MAC_COLL_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _REG_MAC_COLL_FIRST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_MAC_COLL_FIRST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _REG_MAC_COLL_EXCESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_MAC_COLL_EXCESS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _REG_MAC_COLL_LATE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _REG_MAC_COLL_LATE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _REG_MAC_TIMER_DEFER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _REG_MAC_TIMER_DEFER@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _REG_MAC_ATTEMPTS_PEAK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REG_MAC_ATTEMPTS_PEAK@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _REG_MAC_RECV_FRAME@GOTPAGE
Lloh19:
	ldr	x9, [x9, _REG_MAC_RECV_FRAME@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _REG_MAC_LEN_ERR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _REG_MAC_LEN_ERR@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh24:
	adrp	x9, _REG_MAC_ALIGN_ERR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _REG_MAC_ALIGN_ERR@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh27:
	adrp	x9, _REG_MAC_FCS_ERR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _REG_MAC_FCS_ERR@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh30:
	adrp	x9, _REG_MAC_RX_CODE_ERR@GOTPAGE
Lloh31:
	ldr	x9, [x9, _REG_MAC_RX_CODE_ERR@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MAC_COLL_NORMAL,8,3        ; @REG_MAC_COLL_NORMAL
	.comm	_REG_MAC_COLL_FIRST,8,3         ; @REG_MAC_COLL_FIRST
	.comm	_REG_MAC_COLL_EXCESS,8,3        ; @REG_MAC_COLL_EXCESS
	.comm	_REG_MAC_COLL_LATE,8,3          ; @REG_MAC_COLL_LATE
	.comm	_REG_MAC_TIMER_DEFER,8,3        ; @REG_MAC_TIMER_DEFER
	.comm	_REG_MAC_ATTEMPTS_PEAK,8,3      ; @REG_MAC_ATTEMPTS_PEAK
	.comm	_REG_MAC_RECV_FRAME,8,3         ; @REG_MAC_RECV_FRAME
	.comm	_REG_MAC_LEN_ERR,8,3            ; @REG_MAC_LEN_ERR
	.comm	_REG_MAC_ALIGN_ERR,8,3          ; @REG_MAC_ALIGN_ERR
	.comm	_REG_MAC_FCS_ERR,8,3            ; @REG_MAC_FCS_ERR
	.comm	_REG_MAC_RX_CODE_ERR,8,3        ; @REG_MAC_RX_CODE_ERR
	.no_dead_strip	_cas_clear_mac_err
.subsections_via_symbols
