	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pch_gbe_mac_force_mac_fc       ## -- Begin function pch_gbe_mac_force_mac_fc
	.p2align	4, 0x90
_pch_gbe_mac_force_mac_fc:              ## @pch_gbe_mac_force_mac_fc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_pch_gbe_hw_to_adapter
	movq	%rax, %r14
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	(%rbx), %rdi
	callq	_ioread32
	movl	8(%rbx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_PCH_GBE_FL_CTRL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	notl	%edx
	andl	%edx, %eax
	jmp	LBB0_8
LBB0_3:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_10
LBB0_4:
	movq	_PCH_GBE_FL_CTRL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, %eax
	jmp	LBB0_6
LBB0_5:
	movq	_PCH_GBE_FL_CTRL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	notl	%edx
	andl	%edx, %eax
LBB0_6:
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_7:
	movq	_PCH_GBE_FL_CTRL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, %eax
LBB0_8:
	movl	$1, %edx
LBB0_9:
	movl	%edx, 12(%rbx)
	movq	(%rbx), %rsi
	movq	16(%rbx), %rdx
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rdx
	notl	%ecx
	movl	$-1, %edi
	cmovel	%ecx, %edi
	andl	%eax, %edi
	callq	_iowrite32
	movl	(%r14), %r14d
	movq	(%rbx), %rdi
	callq	_ioread32
	movl	12(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_dbg
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac->fc = %u\n"

	.comm	_PCH_GBE_FL_CTRL_EN,4,2         ## @PCH_GBE_FL_CTRL_EN
L_.str.1:                               ## @.str.1
	.asciz	"Flow control param set incorrectly\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
L_.str.2:                               ## @.str.2
	.asciz	"RX_FCTRL reg : 0x%08x  mac->tx_fc_enable : %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pch_gbe_mac_force_mac_fc       ; -- Begin function pch_gbe_mac_force_mac_fc
	.p2align	2
_pch_gbe_mac_force_mac_fc:              ; @pch_gbe_mac_force_mac_fc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_pch_gbe_hw_to_adapter
	mov	x20, x0
	ldr	w0, [x0]
	ldr	w2, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19]
	bl	_ioread32
	ldr	w8, [x19, #8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, _PCH_GBE_FL_CTRL_EN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PCH_GBE_FL_CTRL_EN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w9, w0, w8
	b	LBB0_7
LBB0_3:
	ldr	w0, [x20]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_4:
	mov	w10, #0
Lloh12:
	adrp	x8, _PCH_GBE_FL_CTRL_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCH_GBE_FL_CTRL_EN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w9, w8, w0
	b	LBB0_8
LBB0_5:
	mov	w10, #0
Lloh15:
	adrp	x8, _PCH_GBE_FL_CTRL_EN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PCH_GBE_FL_CTRL_EN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	bic	w9, w0, w8
	b	LBB0_8
LBB0_6:
Lloh18:
	adrp	x8, _PCH_GBE_FL_CTRL_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCH_GBE_FL_CTRL_EN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w9, w8, w0
LBB0_7:
	mov	w10, #1
LBB0_8:
	str	w10, [x19, #12]
	ldr	x10, [x19, #16]
Lloh21:
	adrp	x11, _DUPLEX_HALF@GOTPAGE
Lloh22:
	ldr	x11, [x11, _DUPLEX_HALF@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
	cmp	x10, x11
	mov	w10, #-1
	csinv	w8, w10, w8, ne
	and	w0, w8, w9
	ldr	x1, [x19]
	bl	_iowrite32
	ldr	w20, [x20]
	ldr	x0, [x19]
	bl	_ioread32
	mov	x2, x0
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac->fc = %u\n"

	.comm	_PCH_GBE_FL_CTRL_EN,4,2         ; @PCH_GBE_FL_CTRL_EN
l_.str.1:                               ; @.str.1
	.asciz	"Flow control param set incorrectly\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
l_.str.2:                               ; @.str.2
	.asciz	"RX_FCTRL reg : 0x%08x  mac->tx_fc_enable : %d\n"

.subsections_via_symbols
