	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_set_pauseparam
_igb_set_pauseparam:                    ## @igb_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
	callq	_netdev_priv
	cmpq	$0, 32(%rax)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_15
LBB0_2:
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	%rax, (%r14)
	leaq	8(%r14), %rbx
	movq	___IGB_RESETTING@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	jmp	LBB0_3
LBB0_5:
	movq	(%r14), %rax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	_e1000_fc_default@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	12(%r14), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%r14, %rdi
	callq	_igb_down
	movq	%r14, %rdi
	callq	_igb_up
	jmp	LBB0_13
LBB0_8:
	movq	%r14, %rdi
	addq	$16, %rdi
	cmpq	$0, 8(%r15)
	movq	_e1000_fc_tx_pause@GOTPCREL(%rip), %rax
	cmoveq	_e1000_fc_none@GOTPCREL(%rip), %rax
	movq	_e1000_fc_full@GOTPCREL(%rip), %rcx
	cmoveq	_e1000_fc_rx_pause@GOTPCREL(%rip), %rcx
	cmpq	$0, 16(%r15)
	cmoveq	%rax, %rcx
	movl	(%rcx), %eax
	movl	%eax, 24(%r14)
	movl	%eax, 28(%r14)
	movq	16(%r14), %rax
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	callq	_igb_force_mac_fc
	jmp	LBB0_11
LBB0_10:
	callq	_igb_setup_link
LBB0_11:
	movl	%eax, %r14d
	jmp	LBB0_14
LBB0_12:
	movq	%r14, %rdi
	callq	_igb_reset
LBB0_13:
	xorl	%r14d, %r14d
LBB0_14:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
LBB0_15:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	___IGB_RESETTING,4,2            ## @__IGB_RESETTING
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.comm	_e1000_fc_default,4,2           ## @e1000_fc_default
	.comm	_e1000_fc_full,4,2              ## @e1000_fc_full
	.comm	_e1000_fc_rx_pause,4,2          ## @e1000_fc_rx_pause
	.comm	_e1000_fc_tx_pause,4,2          ## @e1000_fc_tx_pause
	.comm	_e1000_fc_none,4,2              ## @e1000_fc_none
	.comm	_e1000_media_type_copper,8,3    ## @e1000_media_type_copper
	.no_dead_strip	_igb_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_set_pauseparam
_igb_set_pauseparam:                    ; @igb_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
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_15
LBB0_2:
	mov	x20, x0
	ldr	x8, [x21]
	mov	x19, x0
	str	x8, [x19], #8
Lloh3:
	adrp	x22, ___IGB_RESETTING@GOTPAGE
Lloh4:
	ldr	x22, [x22, ___IGB_RESETTING@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	b	LBB0_3
LBB0_5:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
Lloh8:
	adrp	x8, _e1000_fc_default@GOTPAGE
Lloh9:
	ldr	x8, [x8, _e1000_fc_default@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	ldr	w0, [x20, #12]
	bl	_netif_running
	cbz	x0, LBB0_12
; %bb.7:
	mov	x0, x20
	bl	_igb_down
	mov	x0, x20
	bl	_igb_up
	b	LBB0_13
LBB0_8:
	ldp	x9, x8, [x21, #8]
Lloh11:
	adrp	x10, _e1000_fc_none@GOTPAGE
Lloh12:
	ldr	x10, [x10, _e1000_fc_none@GOTPAGEOFF]
Lloh13:
	adrp	x11, _e1000_fc_tx_pause@GOTPAGE
Lloh14:
	ldr	x11, [x11, _e1000_fc_tx_pause@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x10, x11, eq
Lloh15:
	adrp	x10, _e1000_fc_rx_pause@GOTPAGE
Lloh16:
	ldr	x10, [x10, _e1000_fc_rx_pause@GOTPAGEOFF]
Lloh17:
	adrp	x11, _e1000_fc_full@GOTPAGE
Lloh18:
	ldr	x11, [x11, _e1000_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]
Lloh19:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh20:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	bl	_igb_force_mac_fc
	b	LBB0_11
LBB0_10:
	bl	_igb_setup_link
LBB0_11:
	mov	x20, x0
	b	LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_igb_reset
LBB0_13:
	mov	w20, #0
LBB0_14:
	ldr	w0, [x22]
	mov	x1, x19
	bl	_clear_bit
LBB0_15:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	___IGB_RESETTING,4,2            ; @__IGB_RESETTING
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.comm	_e1000_fc_default,4,2           ; @e1000_fc_default
	.comm	_e1000_fc_full,4,2              ; @e1000_fc_full
	.comm	_e1000_fc_rx_pause,4,2          ; @e1000_fc_rx_pause
	.comm	_e1000_fc_tx_pause,4,2          ; @e1000_fc_tx_pause
	.comm	_e1000_fc_none,4,2              ; @e1000_fc_none
	.comm	_e1000_media_type_copper,8,3    ; @e1000_media_type_copper
	.no_dead_strip	_igb_set_pauseparam
.subsections_via_symbols
