	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_set_pauseparam
_igc_set_pauseparam:                    ## @igc_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, %r12
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %r14
	movq	(%r12), %rax
	movq	%rax, (%r15)
	leaq	8(%r15), %rbx
	movq	___IGC_RESETTING@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	jmp	LBB0_1
LBB0_3:
	movq	(%r14), %rax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	_igc_fc_default@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	12(%r14), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%r14, %rdi
	callq	_igc_down
	movq	%r14, %rdi
	callq	_igc_up
	jmp	LBB0_11
LBB0_6:
	addq	$16, %r15
	cmpq	$0, 8(%r12)
	movq	_igc_fc_tx_pause@GOTPCREL(%rip), %rax
	cmoveq	_igc_fc_none@GOTPCREL(%rip), %rax
	movq	_igc_fc_full@GOTPCREL(%rip), %rcx
	cmoveq	_igc_fc_rx_pause@GOTPCREL(%rip), %rcx
	cmpq	$0, 16(%r12)
	cmoveq	%rax, %rcx
	movl	(%rcx), %eax
	movl	%eax, 24(%r14)
	movl	%eax, 28(%r14)
	movq	16(%r14), %rax
	movq	_igc_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_igc_force_mac_fc
	jmp	LBB0_9
LBB0_8:
	movq	%r15, %rdi
	callq	_igc_setup_link
LBB0_9:
	movl	%eax, %r14d
	jmp	LBB0_12
LBB0_10:
	movq	%r14, %rdi
	callq	_igc_reset
LBB0_11:
	xorl	%r14d, %r14d
LBB0_12:
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___IGC_RESETTING,4,2            ## @__IGC_RESETTING
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.comm	_igc_fc_default,4,2             ## @igc_fc_default
	.comm	_igc_fc_full,4,2                ## @igc_fc_full
	.comm	_igc_fc_rx_pause,4,2            ## @igc_fc_rx_pause
	.comm	_igc_fc_tx_pause,4,2            ## @igc_fc_tx_pause
	.comm	_igc_fc_none,4,2                ## @igc_fc_none
	.comm	_igc_media_type_copper,8,3      ## @igc_media_type_copper
	.no_dead_strip	_igc_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_set_pauseparam
_igc_set_pauseparam:                    ; @igc_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	x21, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x21]
	mov	x19, x0
	str	x8, [x19], #8
Lloh0:
	adrp	x22, ___IGC_RESETTING@GOTPAGE
Lloh1:
	ldr	x22, [x22, ___IGC_RESETTING@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	b	LBB0_1
LBB0_3:
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _igc_fc_default@GOTPAGE
Lloh6:
	ldr	x8, [x8, _igc_fc_default@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	ldr	w0, [x20, #12]
	bl	_netif_running
	cbz	x0, LBB0_10
; %bb.5:
	mov	x0, x20
	bl	_igc_down
	mov	x0, x20
	bl	_igc_up
	b	LBB0_11
LBB0_6:
	ldp	x9, x8, [x21, #8]
Lloh8:
	adrp	x10, _igc_fc_none@GOTPAGE
Lloh9:
	ldr	x10, [x10, _igc_fc_none@GOTPAGEOFF]
Lloh10:
	adrp	x11, _igc_fc_tx_pause@GOTPAGE
Lloh11:
	ldr	x11, [x11, _igc_fc_tx_pause@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x10, x11, eq
Lloh12:
	adrp	x10, _igc_fc_rx_pause@GOTPAGE
Lloh13:
	ldr	x10, [x10, _igc_fc_rx_pause@GOTPAGEOFF]
Lloh14:
	adrp	x11, _igc_fc_full@GOTPAGE
Lloh15:
	ldr	x11, [x11, _igc_fc_full@GOTPAGEOFF]
	add	x0, x20, #16
	csel	x10, x10, x11, eq
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	stp	w8, w8, [x20, #24]
	ldr	x8, [x20, #16]
Lloh16:
	adrp	x9, _igc_media_type_copper@GOTPAGE
Lloh17:
	ldr	x9, [x9, _igc_media_type_copper@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	bl	_igc_force_mac_fc
	b	LBB0_9
LBB0_8:
	bl	_igc_setup_link
LBB0_9:
	mov	x20, x0
	b	LBB0_12
LBB0_10:
	mov	x0, x20
	bl	_igc_reset
LBB0_11:
	mov	w20, #0
LBB0_12:
	ldr	w0, [x22]
	mov	x1, x19
	bl	_clear_bit
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	___IGC_RESETTING,4,2            ; @__IGC_RESETTING
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.comm	_igc_fc_default,4,2             ; @igc_fc_default
	.comm	_igc_fc_full,4,2                ; @igc_fc_full
	.comm	_igc_fc_rx_pause,4,2            ; @igc_fc_rx_pause
	.comm	_igc_fc_tx_pause,4,2            ; @igc_fc_tx_pause
	.comm	_igc_fc_none,4,2                ; @igc_fc_none
	.comm	_igc_media_type_copper,8,3      ; @igc_media_type_copper
	.no_dead_strip	_igc_set_pauseparam
.subsections_via_symbols
