	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_set_pauseparam
_xgbe_set_pauseparam:                   ## @xgbe_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	%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
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rsi
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	8(%rsi), %rcx
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
LBB0_3:
	addq	$40, %rbx
	movq	%rax, 32(%rsi)
	movdqu	(%r15), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movdqu	%xmm0, 16(%rsi)
	movq	_Pause@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_XGBE_CLR_ADV
	movq	_Asym_Pause@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_XGBE_CLR_ADV
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.4:
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_XGBE_SET_ADV
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_XGBE_SET_ADV
LBB0_5:
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.6:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_XGBE_ADV
	movl	(%r12), %esi
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	callq	_XGBE_CLR_ADV
	jmp	LBB0_9
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_8:
	callq	_XGBE_SET_ADV
LBB0_9:
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rdi)                         ## TAILCALL
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"autoneg disabled, pause autoneg not available\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_Pause,4,2                      ## @Pause
	.comm	_Asym_Pause,4,2                 ## @Asym_Pause
	.no_dead_strip	_xgbe_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_set_pauseparam
_xgbe_set_pauseparam:                   ; @xgbe_set_pauseparam
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x20, #8]
Lloh0:
	adrp	x10, _AUTONEG_ENABLE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
LBB0_2:
	add	x21, x20, #40
	str	x8, [x20, #32]
	ldr	q0, [x22]
	ext.16b	v0, v0, v0, #8
	str	q0, [x20, #16]
Lloh3:
	adrp	x24, _Pause@GOTPAGE
Lloh4:
	ldr	x24, [x24, _Pause@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	bl	_XGBE_CLR_ADV
Lloh5:
	adrp	x23, _Asym_Pause@GOTPAGE
Lloh6:
	ldr	x23, [x23, _Asym_Pause@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	bl	_XGBE_CLR_ADV
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_XGBE_SET_ADV
	ldr	w1, [x23]
	mov	x0, x21
	bl	_XGBE_SET_ADV
LBB0_4:
	ldr	x8, [x22]
	cbz	x8, LBB0_9
; %bb.5:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_XGBE_ADV
	ldr	w1, [x23]
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x21
	bl	_XGBE_CLR_ADV
	b	LBB0_9
LBB0_7:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_8:
	mov	x0, x21
	bl	_XGBE_SET_ADV
LBB0_9:
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x1, [x20]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x1
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"autoneg disabled, pause autoneg not available\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_Pause,4,2                      ; @Pause
	.comm	_Asym_Pause,4,2                 ; @Asym_Pause
	.no_dead_strip	_xgbe_set_pauseparam
.subsections_via_symbols
