	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_setup_fc_x550em
_ixgbe_setup_fc_x550em:                 ## @ixgbe_setup_fc_x550em
	.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, %rbx
	cmpq	$0, 16(%rdi)
	movl	8(%rdi), %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hw_err
	movq	_IXGBE_ERR_INVALID_LINK_SETTINGS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	jmp	LBB0_14
LBB0_3:
	movq	_ixgbe_fc_default@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movl	$131, 8(%rbx)
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_5:
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_12
## %bb.6:
	testb	$1, %al
	sete	%r14b
	andb	$15, %cl
	cmpb	$2, %cl
	sete	%r15b
LBB0_7:
	movl	(%rbx), %ecx
	leal	-133(%rcx), %eax
	cmpl	$3, %eax
	jae	LBB0_10
## %bb.8:
	movq	40(%rbx), %r13
	movl	24(%rbx), %edi
	callq	_IXGBE_KRM_AN_CNTL_1
	movq	_IXGBE_SB_IOSF_TARGET_KR_PHY@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r13
	testl	%eax, %eax
	jne	LBB0_14
## %bb.9:
	movq	_IXGBE_KRM_AN_CNTL_1_SYM_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IXGBE_KRM_AN_CNTL_1_ASM_PAUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	notl	%edx
	andl	-44(%rbp), %edx
	xorl	%esi, %esi
	testb	%r14b, %r14b
	cmovnel	%esi, %eax
	testb	%r15b, %r15b
	cmovnel	%esi, %ecx
	orl	%eax, %ecx
	orl	%edx, %ecx
	movl	%ecx, -44(%rbp)
	movq	32(%rbx), %r14
	movl	24(%rbx), %edi
	callq	_IXGBE_KRM_AN_CNTL_1
	movl	(%r12), %edx
	movl	-44(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r14
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
	cmpl	$132, %ecx
	jne	LBB0_14
LBB0_11:
	movl	$1, 12(%rbx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hw_err
	movq	_IXGBE_ERR_CONFIG@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ixgbe_fc_rx_pause not valid in strict IEEE mode\n"

	.comm	_IXGBE_ERR_INVALID_LINK_SETTINGS,4,2 ## @IXGBE_ERR_INVALID_LINK_SETTINGS
	.comm	_ixgbe_fc_default,4,2           ## @ixgbe_fc_default
L_.str.1:                               ## @.str.1
	.asciz	"Flow control param set incorrectly\n"

	.comm	_IXGBE_ERR_CONFIG,4,2           ## @IXGBE_ERR_CONFIG
	.comm	_IXGBE_SB_IOSF_TARGET_KR_PHY,4,2 ## @IXGBE_SB_IOSF_TARGET_KR_PHY
	.comm	_IXGBE_KRM_AN_CNTL_1_SYM_PAUSE,4,2 ## @IXGBE_KRM_AN_CNTL_1_SYM_PAUSE
	.comm	_IXGBE_KRM_AN_CNTL_1_ASM_PAUSE,4,2 ## @IXGBE_KRM_AN_CNTL_1_ASM_PAUSE
	.no_dead_strip	_ixgbe_setup_fc_x550em
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_setup_fc_x550em
_ixgbe_setup_fc_x550em:                 ; @ixgbe_setup_fc_x550em
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x9, [x0, #16]
	ldr	w8, [x0, #8]
	cbz	x9, LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_err
Lloh2:
	adrp	x8, _IXGBE_ERR_INVALID_LINK_SETTINGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_ERR_INVALID_LINK_SETTINGS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_3:
Lloh5:
	adrp	x9, _ixgbe_fc_default@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ixgbe_fc_default@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
	mov	w20, #0
	mov	w21, #0
	mov	w8, #131
	str	w8, [x19, #8]
	b	LBB0_7
LBB0_5:
	sub	w9, w8, #128
	cmp	w9, #4
	b.hs	LBB0_13
; %bb.6:
	tst	w8, #0x1
	cset	w20, eq
	and	w8, w9, #0xf
	cmp	w8, #2
	cset	w21, eq
LBB0_7:
	ldr	w8, [x19]
	sub	w9, w8, #133
	cmp	w9, #3
	b.hs	LBB0_10
; %bb.8:
	ldr	x23, [x19, #40]
	ldr	w0, [x19, #24]
	bl	_IXGBE_KRM_AN_CNTL_1
	mov	x1, x0
Lloh8:
	adrp	x22, _IXGBE_SB_IOSF_TARGET_KR_PHY@GOTPAGE
Lloh9:
	ldr	x22, [x22, _IXGBE_SB_IOSF_TARGET_KR_PHY@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #12
	mov	x0, x19
	blr	x23
	cbnz	w0, LBB0_15
; %bb.9:
Lloh10:
	adrp	x8, _IXGBE_KRM_AN_CNTL_1_SYM_PAUSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_KRM_AN_CNTL_1_SYM_PAUSE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _IXGBE_KRM_AN_CNTL_1_ASM_PAUSE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IXGBE_KRM_AN_CNTL_1_ASM_PAUSE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w10, w9, w8
	ldr	w11, [sp, #12]
	bic	w10, w11, w10
	cmp	w20, #0
	csel	w8, wzr, w8, ne
	orr	w8, w10, w8
	cmp	w21, #0
	csel	w9, wzr, w9, ne
	orr	w8, w8, w9
	str	w8, [sp, #12]
	ldr	x20, [x19, #32]
	ldr	w0, [x19, #24]
	bl	_IXGBE_KRM_AN_CNTL_1
	mov	x1, x0
	ldr	w2, [x22]
	ldr	w3, [sp, #12]
	mov	x0, x19
	blr	x20
	b	LBB0_12
LBB0_10:
	cmp	w8, #132
	b.ne	LBB0_14
; %bb.11:
	mov	w0, #0
LBB0_12:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_15
LBB0_13:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_hw_err
Lloh18:
	adrp	x8, _IXGBE_ERR_CONFIG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IXGBE_ERR_CONFIG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ixgbe_fc_rx_pause not valid in strict IEEE mode\n"

	.comm	_IXGBE_ERR_INVALID_LINK_SETTINGS,4,2 ; @IXGBE_ERR_INVALID_LINK_SETTINGS
	.comm	_ixgbe_fc_default,4,2           ; @ixgbe_fc_default
l_.str.1:                               ; @.str.1
	.asciz	"Flow control param set incorrectly\n"

	.comm	_IXGBE_ERR_CONFIG,4,2           ; @IXGBE_ERR_CONFIG
	.comm	_IXGBE_SB_IOSF_TARGET_KR_PHY,4,2 ; @IXGBE_SB_IOSF_TARGET_KR_PHY
	.comm	_IXGBE_KRM_AN_CNTL_1_SYM_PAUSE,4,2 ; @IXGBE_KRM_AN_CNTL_1_SYM_PAUSE
	.comm	_IXGBE_KRM_AN_CNTL_1_ASM_PAUSE,4,2 ; @IXGBE_KRM_AN_CNTL_1_ASM_PAUSE
	.no_dead_strip	_ixgbe_setup_fc_x550em
.subsections_via_symbols
