	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_get_pauseparam
_i40e_get_pauseparam:                   ## @i40e_get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_I40E_AQ_AN_COMPLETED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	16(%rax), %ecx
	jne	LBB0_1
## %bb.2:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.4:
	movq	$0, (%rbx)
	jmp	LBB0_11
LBB0_5:
	movq	(%rax), %rax
	movq	_I40E_FC_RX_PAUSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movl	$1, (%rbx)
	jmp	LBB0_11
LBB0_7:
	movq	_I40E_FC_TX_PAUSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movl	$1, 4(%rbx)
	jmp	LBB0_11
LBB0_9:
	movq	_I40E_FC_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_AQ_AN_COMPLETED,4,2       ## @I40E_AQ_AN_COMPLETED
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_I40E_FC_RX_PAUSE,8,3           ## @I40E_FC_RX_PAUSE
	.comm	_I40E_FC_TX_PAUSE,8,3           ## @I40E_FC_TX_PAUSE
	.comm	_I40E_FC_FULL,8,3               ## @I40E_FC_FULL
	.no_dead_strip	_i40e_get_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_get_pauseparam
_i40e_get_pauseparam:                   ; @i40e_get_pauseparam
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w9, [x8, #16]
Lloh0:
	adrp	x10, _I40E_AQ_AN_COMPLETED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _I40E_AQ_AN_COMPLETED@GOTPAGEOFF]
Lloh2:
	adrp	x11, _AUTONEG_ENABLE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh4:
	adrp	x12, _AUTONEG_DISABLE@GOTPAGE
Lloh5:
	ldr	x12, [x12, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	tst	w10, w9
	csel	x9, x12, x11, eq
	ldr	w9, [x9]
	str	w9, [x19, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
	str	xzr, [x19]
	b	LBB0_8
LBB0_2:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _I40E_FC_RX_PAUSE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _I40E_FC_RX_PAUSE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_8
LBB0_4:
Lloh10:
	adrp	x9, _I40E_FC_TX_PAUSE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _I40E_FC_TX_PAUSE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_8
LBB0_6:
Lloh13:
	adrp	x9, _I40E_FC_FULL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _I40E_FC_FULL@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	movi.2s	v0, #1
	str	d0, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_AQ_AN_COMPLETED,4,2       ; @I40E_AQ_AN_COMPLETED
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_I40E_FC_RX_PAUSE,8,3           ; @I40E_FC_RX_PAUSE
	.comm	_I40E_FC_TX_PAUSE,8,3           ; @I40E_FC_TX_PAUSE
	.comm	_I40E_FC_FULL,8,3               ; @I40E_FC_FULL
	.no_dead_strip	_i40e_get_pauseparam
.subsections_via_symbols
