	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gbe_stats_mod_visible_ver14
_gbe_stats_mod_visible_ver14:           ## @gbe_stats_mod_visible_ver14
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_switch_regs@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_stat_port_en@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_GBE_REG_ADDR
	movl	%eax, %edi
	callq	_readl
	movl	%eax, %r15d
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_3
## %bb.1:
	addl	$-130, %ebx
	cmpl	$1, %ebx
	ja	LBB0_5
## %bb.2:
	movq	_GBE_STATS_CD_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	jmp	LBB0_4
LBB0_3:
	movq	_GBE_STATS_CD_SEL@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_4:
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_GBE_REG_ADDR
	movl	%r15d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_switch_regs,4,2                ## @switch_regs
	.comm	_stat_port_en,4,2               ## @stat_port_en
	.comm	_GBE_STATS_CD_SEL,4,2           ## @GBE_STATS_CD_SEL
	.no_dead_strip	_gbe_stats_mod_visible_ver14
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gbe_stats_mod_visible_ver14
_gbe_stats_mod_visible_ver14:           ; @gbe_stats_mod_visible_ver14
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _switch_regs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _switch_regs@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _stat_port_en@GOTPAGE
Lloh3:
	ldr	x22, [x22, _stat_port_en@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_GBE_REG_ADDR
	bl	_readl
	sub	w8, w20, #128
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.1:
	sub	w8, w20, #130
	cmp	w8, #1
	b.hi	LBB0_5
; %bb.2:
Lloh4:
	adrp	x8, _GBE_STATS_CD_SEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GBE_STATS_CD_SEL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w20, w0, w8
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x8, _GBE_STATS_CD_SEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GBE_STATS_CD_SEL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w20, w8, w0
LBB0_4:
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_GBE_REG_ADDR
	mov	x1, x0
	mov	x0, x20
	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
LBB0_5:
	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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_switch_regs,4,2                ; @switch_regs
	.comm	_stat_port_en,4,2               ; @stat_port_en
	.comm	_GBE_STATS_CD_SEL,4,2           ; @GBE_STATS_CD_SEL
	.no_dead_strip	_gbe_stats_mod_visible_ver14
.subsections_via_symbols
