	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_gbe_set_pauseparam
_pch_gbe_set_pauseparam:                ## @pch_gbe_set_pauseparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	cmpq	$0, 8(%rbx)
	movq	_PCH_GBE_FC_TX_PAUSE@GOTPCREL(%rip), %rcx
	cmoveq	_PCH_GBE_FC_NONE@GOTPCREL(%rip), %rcx
	movq	_PCH_GBE_FC_FULL@GOTPCREL(%rip), %rdx
	cmoveq	_PCH_GBE_FC_RX_PAUSE@GOTPCREL(%rip), %rdx
	cmpq	$0, 16(%rbx)
	cmoveq	%rcx, %rdx
	movl	(%rdx), %ecx
	movl	%ecx, 16(%r14)
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	(%r14), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	callq	_pch_gbe_down
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pch_gbe_up                     ## TAILCALL
LBB0_3:
	addq	$8, %r14
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pch_gbe_mac_force_mac_fc       ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	callq	_pch_gbe_reset
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_GBE_FC_FULL,4,2            ## @PCH_GBE_FC_FULL
	.comm	_PCH_GBE_FC_RX_PAUSE,4,2        ## @PCH_GBE_FC_RX_PAUSE
	.comm	_PCH_GBE_FC_TX_PAUSE,4,2        ## @PCH_GBE_FC_TX_PAUSE
	.comm	_PCH_GBE_FC_NONE,4,2            ## @PCH_GBE_FC_NONE
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.no_dead_strip	_pch_gbe_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_gbe_set_pauseparam
_pch_gbe_set_pauseparam:                ; @pch_gbe_set_pauseparam
	.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	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldp	x8, x9, [x20]
	str	x8, [x0, #8]!
Lloh0:
	adrp	x10, _PCH_GBE_FC_NONE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PCH_GBE_FC_NONE@GOTPAGEOFF]
	ldr	x11, [x20, #16]
Lloh2:
	adrp	x12, _PCH_GBE_FC_TX_PAUSE@GOTPAGE
Lloh3:
	ldr	x12, [x12, _PCH_GBE_FC_TX_PAUSE@GOTPAGEOFF]
Lloh4:
	adrp	x13, _PCH_GBE_FC_RX_PAUSE@GOTPAGE
Lloh5:
	ldr	x13, [x13, _PCH_GBE_FC_RX_PAUSE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x10, x12, eq
Lloh6:
	adrp	x10, _PCH_GBE_FC_FULL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PCH_GBE_FC_FULL@GOTPAGEOFF]
	csel	x10, x13, x10, eq
	cmp	x11, #0
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	str	w9, [x19, #16]
Lloh8:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19]
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_pch_gbe_down
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pch_gbe_up
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pch_gbe_mac_force_mac_fc
LBB0_4:
	mov	x0, x19
	bl	_pch_gbe_reset
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_GBE_FC_FULL,4,2            ; @PCH_GBE_FC_FULL
	.comm	_PCH_GBE_FC_RX_PAUSE,4,2        ; @PCH_GBE_FC_RX_PAUSE
	.comm	_PCH_GBE_FC_TX_PAUSE,4,2        ; @PCH_GBE_FC_TX_PAUSE
	.comm	_PCH_GBE_FC_NONE,4,2            ; @PCH_GBE_FC_NONE
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.no_dead_strip	_pch_gbe_set_pauseparam
.subsections_via_symbols
