	.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	%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	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %r12
	leaq	(%rax,%rax,4), %rbx
	movq	(%rsi), %rcx
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r12,%rbx,8)
	je	LBB0_13
## %bb.2:
	movq	_PAUSE_AUTONEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	leaq	(%r12,%rbx,8), %r15
	addq	$16, %r15
	movl	%eax, (%r15)
	cmpq	$0, 16(%rsi)
	je	LBB0_5
## %bb.4:
	movq	_PAUSE_RX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r15)
LBB0_5:
	cmpq	$0, 8(%rsi)
	je	LBB0_7
## %bb.6:
	movq	_PAUSE_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r15)
LBB0_7:
	leaq	(%r12,%rbx,8), %r13
	movq	24(%r12,%rbx,8), %rcx
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.8:
	callq	_netif_running
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movl	8(%r12,%rbx,8), %edi
	movq	(%r13), %rsi
	movq	%r15, %rdx
	callq	_t1_link_start
	jmp	LBB0_12
LBB0_10:
	movq	_PAUSE_RX@GOTPCREL(%rip), %rcx
	movq	_PAUSE_TX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	andl	%eax, %edx
	movl	%edx, 32(%r12,%rbx,8)
	callq	_netif_running
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	(%r12,%rbx,8), %rax
	addq	$32, %rax
	movq	(%r13), %rdi
	movq	(%rdi), %rbx
	movl	(%rax), %ecx
	movl	$-1, %esi
	movl	$-1, %edx
	callq	*(%rbx)
	jmp	LBB0_12
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_DISABLE,8,3            ## @AUTONEG_DISABLE
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.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
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.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
	ldp	x20, x8, [x0]
	ldr	x21, [x8]
	ldr	x8, [x1]
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:
	mov	w8, #40
	madd	x8, x20, x8, x21
	ldr	w8, [x8, #20]
Lloh3:
	adrp	x9, _SUPPORTED_Autoneg@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.3:
Lloh6:
	adrp	x8, _PAUSE_AUTONEG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAUSE_AUTONEG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
LBB0_4:
	mov	w9, #40
	madd	x22, x20, x9, x21
	add	x19, x22, #16
	str	w8, [x19]
	ldr	x10, [x1, #16]
Lloh9:
	adrp	x9, _PAUSE_RX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PAUSE_RX@GOTPAGEOFF]
	cbz	x10, LBB0_6
; %bb.5:
	ldr	w10, [x9]
	orr	w8, w8, w10
	str	w8, [x19]
LBB0_6:
	ldr	x11, [x1, #8]
Lloh11:
	adrp	x10, _PAUSE_TX@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PAUSE_TX@GOTPAGEOFF]
	cbz	x11, LBB0_8
; %bb.7:
	ldr	w11, [x10]
	orr	w8, w8, w11
	str	w8, [x19]
LBB0_8:
	mov	w11, #40
	madd	x11, x20, x11, x21
	ldr	x11, [x11, #24]
Lloh13:
	adrp	x12, _AUTONEG_ENABLE@GOTPAGE
Lloh14:
	ldr	x12, [x12, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh15:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_11
; %bb.9:
	bl	_netif_running
	cbz	x0, LBB0_15
; %bb.10:
	mov	w8, #40
	madd	x8, x20, x8, x21
	ldr	w0, [x8, #8]
	ldr	x1, [x22]
	mov	x2, x19
	bl	_t1_link_start
	b	LBB0_13
LBB0_11:
	ldr	w9, [x9]
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w8, w9, w8
	mov	w9, #40
	madd	x19, x20, x9, x21
	str	w8, [x19, #32]!
	bl	_netif_running
	cbz	x0, LBB0_15
; %bb.12:
	ldr	x0, [x22]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w3, [x19]
	mov	w1, #-1
	mov	w2, #-1
	blr	x8
LBB0_13:
	mov	w0, #0
	b	LBB0_15
LBB0_14:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_DISABLE,8,3            ; @AUTONEG_DISABLE
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.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
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.no_dead_strip	_set_pauseparam
.subsections_via_symbols
