	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_set_pauseparam
_stmmac_set_pauseparam:                 ## @stmmac_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	24(%rax), %r12
	movq	_FLOW_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	4(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	xorl	%eax, %eax
	cmpq	$0, 8(%r13)
	movl	$0, %edx
	je	LBB0_2
## %bb.1:
	movq	_FLOW_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_2:
	orl	%r14d, %edx
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.3:
	movq	_FLOW_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%eax, %edx
	movl	%edx, (%rbx)
	cmpq	$0, 16(%r12)
	je	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_ETHTOOL_NWAY_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	28(%r12), %eax
	movl	%eax, -60(%rbp)
	movl	24(%r12), %eax
	movl	%eax, -64(%rbp)
	movq	16(%r12), %rax
	movq	%rax, -72(%rbp)
	movl	8(%r12), %eax
	movl	%eax, -80(%rbp)
	movl	(%r12), %eax
	movl	%eax, -84(%rbp)
	movl	4(%r12), %eax
	movl	%eax, -88(%rbp)
	leaq	-88(%rbp), %rsi
	movq	%r12, %rdi
	callq	_phy_ethtool_sset
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	(%r15), %rdi
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%r12), %esi
	movl	8(%rbx), %ecx
	callq	*(%rax)
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_OFF,4,2                   ## @FLOW_OFF
	.comm	_FLOW_RX,4,2                    ## @FLOW_RX
	.comm	_FLOW_TX,4,2                    ## @FLOW_TX
	.comm	_ETHTOOL_NWAY_RST,4,2           ## @ETHTOOL_NWAY_RST
	.no_dead_strip	_stmmac_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_set_pauseparam
_stmmac_set_pauseparam:                 ; @stmmac_set_pauseparam
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x22, x0
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x8, _FLOW_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLOW_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock
Lloh3:
	adrp	x8, _FLOW_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLOW_RX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	x10, x9, [x23]
	cmp	x9, #0
	csel	w8, wzr, w8, eq
	orr	w8, w8, w24
Lloh6:
	adrp	x9, _FLOW_TX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FLOW_TX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w2, w8, w9
	str	w2, [x22]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _ETHTOOL_NWAY_RST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETHTOOL_NWAY_RST@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	d0, [x20, #24]
	str	d0, [sp, #32]
	ldr	x8, [x20, #16]
	str	x8, [sp, #24]
	ldr	w8, [x20, #8]
	str	w8, [sp, #16]
	ldr	d0, [x20]
	rev64.2s	v0, v0
	str	d0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_phy_ethtool_sset
	mov	x20, x0
	b	LBB0_5
LBB0_3:
	ldr	x0, [x21]
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x20]
	ldr	w3, [x22, #8]
	blr	x8
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_OFF,4,2                   ; @FLOW_OFF
	.comm	_FLOW_RX,4,2                    ; @FLOW_RX
	.comm	_FLOW_TX,4,2                    ; @FLOW_TX
	.comm	_ETHTOOL_NWAY_RST,4,2           ; @ETHTOOL_NWAY_RST
	.no_dead_strip	_stmmac_set_pauseparam
.subsections_via_symbols
