	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_fc_enable_generic        ## -- Begin function ixgbe_fc_enable_generic
	.p2align	4, 0x90
_ixgbe_fc_enable_generic:               ## @ixgbe_fc_enable_generic
	.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, %r15
	cmpl	$0, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	8(%r15), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.2:
	cmpl	$0, 16(%r15)
	je	LBB0_6
## %bb.3:
	movq	%r15, %rdi
	callq	_ixgbe_fc_autoneg
	movq	_IXGBE_MFLCN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	%eax, %ebx
	movq	_IXGBE_MFLCN_RPFCE_MASK@GOTPCREL(%rip), %rax
	movq	_IXGBE_MFLCN_RFCE@GOTPCREL(%rip), %r12
	movl	(%r12), %r13d
	orl	(%rax), %r13d
	movq	_IXGBE_FCCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	20(%r15), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_7
## %bb.4:
	movl	%eax, %r14d
	notl	%r13d
	andl	%r13d, %ebx
	movq	_IXGBE_FCCFG_TFCE_802_3X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IXGBE_FCCFG_TFCE_PRIORITY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%eax, %edx
	notl	%edx
	andl	%edx, %r14d
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_8:
	orl	(%r12), %ebx
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_hw_dbg
	movq	_IXGBE_ERR_INVALID_LINK_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_23
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_hw_dbg
	movq	_IXGBE_ERR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_23
LBB0_9:
	orl	(%r12), %ebx
LBB0_10:
	orl	%eax, %r14d
LBB0_11:
	movq	_IXGBE_MFLCN_DPF@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IXGBE_MFLCN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_FCCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_21
## %bb.12:
	movl	(%r15), %r14d
	shll	$10, %r14d
	movq	_IXGBE_FCRTL_XONE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%ebx, %edi
	callq	_IXGBE_FCRTL_82599
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movl	%ebx, %edi
	callq	_IXGBE_RXPBSIZE
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, %r12d
	addl	$-32, %r12d
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%ebx, %edi
	callq	_IXGBE_FCRTH_82599
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	incq	%rbx
	movslq	(%r13), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	testb	$-128, 20(%r15)
	je	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r15), %rax
	cmpl	$0, (%rax,%rbx,4)
	je	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%ebx, %edi
	callq	_IXGBE_FCRTL_82599
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_IXGBE_WRITE_REG
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %r12d
	shll	$10, %r12d
	movq	_IXGBE_FCRTH_FCEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_14
LBB0_18:
	movl	16(%r15), %eax
	cmpl	$2, %ecx
	jl	LBB0_22
## %bb.19:
	movl	%eax, %r14d
	shll	$16, %r14d
	addl	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_IXGBE_FCTTV
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_IXGBE_WRITE_REG
	incl	%ebx
	movl	(%r13), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	cmpl	%ecx, %ebx
	jl	LBB0_20
LBB0_21:
	movl	16(%r15), %eax
LBB0_22:
	movq	_IXGBE_FCRTV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
	xorl	%eax, %eax
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid water mark configuration\n"

	.comm	_IXGBE_ERR_INVALID_LINK_SETTINGS,4,2 ## @IXGBE_ERR_INVALID_LINK_SETTINGS
	.comm	_IXGBE_MFLCN,4,2                ## @IXGBE_MFLCN
	.comm	_IXGBE_MFLCN_RPFCE_MASK,4,2     ## @IXGBE_MFLCN_RPFCE_MASK
	.comm	_IXGBE_MFLCN_RFCE,4,2           ## @IXGBE_MFLCN_RFCE
	.comm	_IXGBE_FCCFG,4,2                ## @IXGBE_FCCFG
	.comm	_IXGBE_FCCFG_TFCE_802_3X,4,2    ## @IXGBE_FCCFG_TFCE_802_3X
	.comm	_IXGBE_FCCFG_TFCE_PRIORITY,4,2  ## @IXGBE_FCCFG_TFCE_PRIORITY
L_.str.1:                               ## @.str.1
	.asciz	"Flow control param set incorrectly\n"

	.comm	_IXGBE_ERR_CONFIG,4,2           ## @IXGBE_ERR_CONFIG
	.comm	_IXGBE_MFLCN_DPF,4,2            ## @IXGBE_MFLCN_DPF
	.comm	_IXGBE_FCRTL_XONE,4,2           ## @IXGBE_FCRTL_XONE
	.comm	_MAX_TRAFFIC_CLASS,4,2          ## @MAX_TRAFFIC_CLASS
	.comm	_IXGBE_FCRTH_FCEN,4,2           ## @IXGBE_FCRTH_FCEN
	.comm	_IXGBE_FCRTV,4,2                ## @IXGBE_FCRTV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_fc_enable_generic        ; -- Begin function ixgbe_fc_enable_generic
	.p2align	2
_ixgbe_fc_enable_generic:               ; @ixgbe_fc_enable_generic
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_ixgbe_fc_autoneg
Lloh0:
	adrp	x21, _IXGBE_MFLCN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_MFLCN@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	mov	x20, x0
Lloh2:
	adrp	x8, _IXGBE_MFLCN_RPFCE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_MFLCN_RPFCE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w24, [x8]
Lloh5:
	adrp	x23, _IXGBE_MFLCN_RFCE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _IXGBE_MFLCN_RFCE@GOTPAGEOFF]
	ldr	w25, [x23]
Lloh7:
	adrp	x22, _IXGBE_FCCFG@GOTPAGE
Lloh8:
	ldr	x22, [x22, _IXGBE_FCCFG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x19, #20]
	sub	w10, w8, #128
	cmp	w10, #3
	b.hi	LBB0_7
; %bb.4:
	orr	w8, w25, w24
	bic	w8, w20, w8
Lloh9:
	adrp	x9, _IXGBE_FCCFG_TFCE_802_3X@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGBE_FCCFG_TFCE_802_3X@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x11, _IXGBE_FCCFG_TFCE_PRIORITY@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IXGBE_FCCFG_TFCE_PRIORITY@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w11, w11, w9
	bic	w20, w0, w11
Lloh15:
	adrp	x11, lJTI0_0@PAGE
Lloh16:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_5
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_5:
	ldr	w9, [x23]
	orr	w8, w9, w8
	b	LBB0_10
LBB0_6:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
Lloh19:
	adrp	x8, _IXGBE_ERR_INVALID_LINK_SETTINGS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IXGBE_ERR_INVALID_LINK_SETTINGS@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	b	LBB0_22
LBB0_7:
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
Lloh24:
	adrp	x8, _IXGBE_ERR_CONFIG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IXGBE_ERR_CONFIG@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	b	LBB0_22
LBB0_8:
	ldr	w10, [x23]
	orr	w8, w10, w8
LBB0_9:
	orr	w20, w20, w9
LBB0_10:
Lloh27:
	adrp	x9, _IXGBE_MFLCN_DPF@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IXGBE_MFLCN_DPF@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
Lloh30:
	adrp	x23, _MAX_TRAFFIC_CLASS@GOTPAGE
Lloh31:
	ldr	x23, [x23, _MAX_TRAFFIC_CLASS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.11:
	mov	x20, #0
	ldr	w8, [x19]
Lloh32:
	adrp	x9, _IXGBE_FCRTL_XONE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IXGBE_FCRTL_XONE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w21, w9, w8, lsl #10
Lloh35:
	adrp	x24, _IXGBE_FCRTH_FCEN@GOTPAGE
Lloh36:
	ldr	x24, [x24, _IXGBE_FCRTH_FCEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	bl	_IXGBE_FCRTL_82599
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	mov	x0, x20
	bl	_IXGBE_RXPBSIZE
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	sub	w22, w0, #32
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	bl	_IXGBE_FCRTH_82599
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_IXGBE_WRITE_REG
	add	x20, x20, #1
	ldrsw	x9, [x23]
	cmp	x20, x9
	b.ge	LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19, #20]
	tbz	w8, #7, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x20, lsl #2]
	cbz	w8, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	bl	_IXGBE_FCRTL_82599
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x20, lsl #2]
	ldr	w9, [x24]
	orr	w22, w9, w8, lsl #10
	b	LBB0_13
LBB0_17:
	ldr	w8, [x19, #16]
	cmp	w9, #2
	b.lt	LBB0_21
; %bb.18:
	mov	w20, #0
	add	w21, w8, w8, lsl #16
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_IXGBE_FCTTV
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	add	w20, w20, #1
	ldr	w8, [x23]
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w20, w8, asr #1
	b.lt	LBB0_19
LBB0_20:
	ldr	w8, [x19, #16]
LBB0_21:
Lloh37:
	adrp	x9, _IXGBE_FCRTV@GOTPAGE
Lloh38:
	ldr	x9, [x9, _IXGBE_FCRTV@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x9]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w2, w8, #1
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	w0, #0
LBB0_22:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid water mark configuration\n"

	.comm	_IXGBE_ERR_INVALID_LINK_SETTINGS,4,2 ; @IXGBE_ERR_INVALID_LINK_SETTINGS
	.comm	_IXGBE_MFLCN,4,2                ; @IXGBE_MFLCN
	.comm	_IXGBE_MFLCN_RPFCE_MASK,4,2     ; @IXGBE_MFLCN_RPFCE_MASK
	.comm	_IXGBE_MFLCN_RFCE,4,2           ; @IXGBE_MFLCN_RFCE
	.comm	_IXGBE_FCCFG,4,2                ; @IXGBE_FCCFG
	.comm	_IXGBE_FCCFG_TFCE_802_3X,4,2    ; @IXGBE_FCCFG_TFCE_802_3X
	.comm	_IXGBE_FCCFG_TFCE_PRIORITY,4,2  ; @IXGBE_FCCFG_TFCE_PRIORITY
l_.str.1:                               ; @.str.1
	.asciz	"Flow control param set incorrectly\n"

	.comm	_IXGBE_ERR_CONFIG,4,2           ; @IXGBE_ERR_CONFIG
	.comm	_IXGBE_MFLCN_DPF,4,2            ; @IXGBE_MFLCN_DPF
	.comm	_IXGBE_FCRTL_XONE,4,2           ; @IXGBE_FCRTL_XONE
	.comm	_MAX_TRAFFIC_CLASS,4,2          ; @MAX_TRAFFIC_CLASS
	.comm	_IXGBE_FCRTH_FCEN,4,2           ; @IXGBE_FCRTH_FCEN
	.comm	_IXGBE_FCRTV,4,2                ; @IXGBE_FCRTV
.subsections_via_symbols
