	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pauseparam
_set_pauseparam:                        ## @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, %r12
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	16(%rax), %r14
	movq	(%r12), %rcx
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	_FW_PORT_CAP_ANEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.2:
	movq	_PAUSE_AUTONEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, 20(%rbx)
	cmpq	$0, 16(%r12)
	je	LBB0_5
## %bb.4:
	movq	_PAUSE_RX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 20(%rbx)
LBB0_5:
	cmpq	$0, 8(%r12)
	je	LBB0_7
## %bb.6:
	movq	_PAUSE_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 20(%rbx)
LBB0_7:
	movq	%r15, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	8(%rbx), %rdi
	movl	(%rdi), %esi
	movl	(%rbx), %edx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t4_link_start                  ## TAILCALL
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_DISABLE,8,3            ## @AUTONEG_DISABLE
	.comm	_FW_PORT_CAP_ANEG,4,2           ## @FW_PORT_CAP_ANEG
	.comm	_PAUSE_AUTONEG,4,2              ## @PAUSE_AUTONEG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PAUSE_RX,4,2                   ## @PAUSE_RX
	.comm	_PAUSE_TX,4,2                   ## @PAUSE_TX
	.no_dead_strip	_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_pauseparam
_set_pauseparam:                        ; @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	x22, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	add	x19, x0, #16
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_4
LBB0_2:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _FW_PORT_CAP_ANEG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FW_PORT_CAP_ANEG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.3:
Lloh6:
	adrp	x8, _PAUSE_AUTONEG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAUSE_AUTONEG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
LBB0_4:
	str	w8, [x20, #20]
	ldr	x9, [x22, #16]
	cbz	x9, LBB0_6
; %bb.5:
Lloh9:
	adrp	x9, _PAUSE_RX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PAUSE_RX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #20]
LBB0_6:
	ldr	x9, [x22, #8]
	cbz	x9, LBB0_8
; %bb.7:
Lloh12:
	adrp	x9, _PAUSE_TX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PAUSE_TX@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #20]
LBB0_8:
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x0, [x20, #8]
	ldr	w1, [x0]
	ldr	w2, [x20]
	mov	x3, x19
	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
	b	_t4_link_start
LBB0_10:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_DISABLE,8,3            ; @AUTONEG_DISABLE
	.comm	_FW_PORT_CAP_ANEG,4,2           ; @FW_PORT_CAP_ANEG
	.comm	_PAUSE_AUTONEG,4,2              ; @PAUSE_AUTONEG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PAUSE_RX,4,2                   ; @PAUSE_RX
	.comm	_PAUSE_TX,4,2                   ; @PAUSE_TX
	.no_dead_strip	_set_pauseparam
.subsections_via_symbols
