	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phylink_ethtool_set_pauseparam ## -- Begin function phylink_ethtool_set_pauseparam
	.p2align	4, 0x90
_phylink_ethtool_set_pauseparam:        ## @phylink_ethtool_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movl	12(%r14), %edi
	movq	_Pause@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phylink_test
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	12(%r14), %edi
	movq	_Asym_Pause@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phylink_test
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	12(%r14), %edi
	movq	_Asym_Pause@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phylink_test
	movq	16(%r15), %rbx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.5:
	movq	(%r15), %rax
	xorl	%ebx, %ebx
	cmpq	8(%r15), %rax
	jne	LBB0_6
LBB0_7:
	leaq	16(%r14), %r12
	movq	_MLO_PAUSE_AN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MLO_PAUSE_TXRX_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ecx, %edx
	notl	%edx
	andl	(%r12), %edx
	xorl	%eax, %eax
	testq	%rbx, %rbx
	cmovnel	%ecx, %eax
	orl	%edx, %eax
	movl	%eax, (%r12)
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.8:
	movq	_MLO_PAUSE_RX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
LBB0_9:
	cmpq	$0, 8(%r15)
	je	LBB0_11
## %bb.10:
	movq	_MLO_PAUSE_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
LBB0_11:
	movq	_PHYLINK_DISABLE_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.12:
	movl	(%r14), %eax
	cmpl	$130, %eax
	je	LBB0_18
## %bb.13:
	cmpl	$129, %eax
	je	LBB0_19
## %bb.14:
	cmpl	$128, %eax
	jne	LBB0_20
## %bb.15:
	movl	4(%r14), %edi
	testl	%edi, %edi
	je	LBB0_17
## %bb.16:
	callq	_netif_carrier_off
LBB0_17:
	movq	%r14, %rdi
	callq	_phylink_run_resolve
	jmp	LBB0_20
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_20
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_20
LBB0_18:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_phylink_resolve_flow
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_phylink_mac_config
	jmp	LBB0_20
LBB0_19:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_phylink_mac_config
	movq	%r14, %rdi
	callq	_phylink_mac_an_restart
LBB0_20:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pause,4,2                      ## @Pause
	.comm	_Asym_Pause,4,2                 ## @Asym_Pause
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLO_PAUSE_AN,4,2               ## @MLO_PAUSE_AN
	.comm	_MLO_PAUSE_TXRX_MASK,4,2        ## @MLO_PAUSE_TXRX_MASK
	.comm	_MLO_PAUSE_RX,4,2               ## @MLO_PAUSE_RX
	.comm	_MLO_PAUSE_TX,4,2               ## @MLO_PAUSE_TX
	.comm	_PHYLINK_DISABLE_STOPPED,4,2    ## @PHYLINK_DISABLE_STOPPED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phylink_ethtool_set_pauseparam ; -- Begin function phylink_ethtool_set_pauseparam
	.p2align	2
_phylink_ethtool_set_pauseparam:        ; @phylink_ethtool_set_pauseparam
	.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
	bl	_ASSERT_RTNL
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x8, _Pause@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Pause@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_phylink_test
Lloh3:
	adrp	x21, _Asym_Pause@GOTPAGE
Lloh4:
	ldr	x21, [x21, _Asym_Pause@GOTPAGEOFF]
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #12]
	ldr	w1, [x21]
	bl	_phylink_test
	cbz	w0, LBB0_18
LBB0_2:
	ldr	w0, [x19, #12]
	ldr	w1, [x21]
	bl	_phylink_test
	ldr	x8, [x20, #16]
	cmp	w0, #0
	ccmp	x8, #0, #0, eq
	b.ne	LBB0_5
; %bb.3:
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.4:
	mov	x8, #0
LBB0_5:
	add	x21, x19, #16
Lloh5:
	adrp	x9, _MLO_PAUSE_AN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MLO_PAUSE_AN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _MLO_PAUSE_TXRX_MASK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MLO_PAUSE_TXRX_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w10, w10, w9
	ldr	w11, [x21]
	bic	w10, w11, w10
	cmp	x8, #0
	csel	w8, wzr, w9, eq
	orr	w8, w10, w8
	str	w8, [x21]
	ldr	x9, [x20]
	cbz	x9, LBB0_7
; %bb.6:
Lloh11:
	adrp	x9, _MLO_PAUSE_RX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MLO_PAUSE_RX@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x21]
LBB0_7:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_9
; %bb.8:
Lloh14:
	adrp	x9, _MLO_PAUSE_TX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MLO_PAUSE_TX@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x21]
LBB0_9:
Lloh17:
	adrp	x8, _PHYLINK_DISABLE_STOPPED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PHYLINK_DISABLE_STOPPED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	w0, LBB0_11
LBB0_10:
	mov	w0, #0
	b	LBB0_20
LBB0_11:
	ldr	w8, [x19]
	cmp	w8, #130
	b.eq	LBB0_21
; %bb.12:
	cmp	w8, #129
	b.eq	LBB0_22
; %bb.13:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.14:
	ldr	w0, [x19, #4]
	cbz	w0, LBB0_16
; %bb.15:
	bl	_netif_carrier_off
LBB0_16:
	mov	x0, x19
	bl	_phylink_run_resolve
	b	LBB0_10
LBB0_17:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh22:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_20:
	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
LBB0_21:
	mov	x0, x19
	mov	x1, x21
	bl	_phylink_resolve_flow
	mov	x0, x19
	mov	x1, x21
	bl	_phylink_mac_config
	b	LBB0_10
LBB0_22:
	mov	x0, x19
	mov	x1, x21
	bl	_phylink_mac_config
	mov	x0, x19
	bl	_phylink_mac_an_restart
	b	LBB0_10
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_Pause,4,2                      ; @Pause
	.comm	_Asym_Pause,4,2                 ; @Asym_Pause
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLO_PAUSE_AN,4,2               ; @MLO_PAUSE_AN
	.comm	_MLO_PAUSE_TXRX_MASK,4,2        ; @MLO_PAUSE_TXRX_MASK
	.comm	_MLO_PAUSE_RX,4,2               ; @MLO_PAUSE_RX
	.comm	_MLO_PAUSE_TX,4,2               ; @MLO_PAUSE_TX
	.comm	_PHYLINK_DISABLE_STOPPED,4,2    ; @PHYLINK_DISABLE_STOPPED
.subsections_via_symbols
