	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_get_dcb_config            ## -- Begin function i40e_get_dcb_config
	.p2align	4, 0x90
_i40e_get_dcb_config:                   ## @i40e_get_dcb_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %rax
	movq	_I40E_MAC_XL710@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movl	(%rbx), %eax
	cmpl	$4, %eax
	jne	LBB0_6
## %bb.2:
	cmpl	$33, 4(%rbx)
	jl	LBB0_16
## %bb.3:
	jne	LBB0_7
## %bb.4:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_i40e_aq_get_cee_dcb_config
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movq	_I40E_DCBX_MODE_CEE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	24(%rbx), %r14
	movq	%rax, 32(%rbx)
	movl	-24(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, 24(%rbx)
	leaq	-24(%rbp), %rdi
	movq	%r14, %rsi
	callq	_i40e_cee_to_dcb_v1_config
	jmp	LBB0_9
LBB0_6:
	jge	LBB0_7
LBB0_16:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i40e_get_ieee_dcb_config       ## TAILCALL
LBB0_7:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_i40e_aq_get_cee_dcb_config
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	_I40E_DCBX_MODE_CEE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	24(%rbx), %r14
	movq	%rax, 32(%rbx)
	movl	-32(%rbp), %edi
	callq	_le32_to_cpu
	movl	%eax, 24(%rbx)
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_i40e_cee_to_dcb_config
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	movq	8(%rbx), %rcx
	movq	_I40E_AQ_RC_ENOENT@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rcx
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_i40e_get_ieee_dcb_config
	jmp	LBB0_15
LBB0_12:
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:
	movq	_I40E_AQ_LLDP_MIB_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	20(%rbx), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_i40e_aq_get_dcb_config
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	_I40E_AQ_LLDP_MIB_REMOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	16(%rbx), %rcx
	movq	%rbx, %rdi
	callq	_i40e_aq_get_dcb_config
	movq	%rax, %rcx
	movq	8(%rbx), %rdx
	xorl	%eax, %eax
	cmpq	(%r14), %rdx
	cmovneq	%rcx, %rax
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_MAC_XL710,8,3             ## @I40E_MAC_XL710
	.comm	_I40E_DCBX_MODE_CEE,8,3         ## @I40E_DCBX_MODE_CEE
	.comm	_I40E_AQ_RC_ENOENT,8,3          ## @I40E_AQ_RC_ENOENT
	.comm	_I40E_AQ_LLDP_MIB_LOCAL,4,2     ## @I40E_AQ_LLDP_MIB_LOCAL
	.comm	_I40E_AQ_LLDP_MIB_REMOTE,4,2    ## @I40E_AQ_LLDP_MIB_REMOTE
	.comm	_I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE,4,2 ## @I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_get_dcb_config            ; -- Begin function i40e_get_dcb_config
	.p2align	2
_i40e_get_dcb_config:                   ; @i40e_get_dcb_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #40]
Lloh0:
	adrp	x9, _I40E_MAC_XL710@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_MAC_XL710@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #4
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x19, #4]
	cmp	w8, #33
	b.lt	LBB0_7
; %bb.3:
	b.ne	LBB0_8
; %bb.4:
	mov	x1, sp
	mov	x0, x19
	mov	w2, #4
	mov	x3, #0
	bl	_i40e_aq_get_cee_dcb_config
	cbnz	x0, LBB0_11
; %bb.5:
Lloh3:
	adrp	x8, _I40E_DCBX_MODE_CEE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_DCBX_MODE_CEE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	ldr	w0, [sp]
	bl	_le16_to_cpu
	mov	x1, x19
	str	w0, [x1, #24]!
	mov	x0, sp
	bl	_i40e_cee_to_dcb_v1_config
	b	LBB0_10
LBB0_6:
	cmp	w8, #3
	b.gt	LBB0_8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_i40e_get_ieee_dcb_config
LBB0_8:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #4
	mov	x3, #0
	bl	_i40e_aq_get_cee_dcb_config
	cbnz	x0, LBB0_11
; %bb.9:
Lloh6:
	adrp	x8, _I40E_DCBX_MODE_CEE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_DCBX_MODE_CEE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	ldr	w0, [sp, #8]
	bl	_le32_to_cpu
	mov	x1, x19
	str	w0, [x1, #24]!
	add	x0, sp, #8
	bl	_i40e_cee_to_dcb_config
LBB0_10:
	mov	x0, #0
LBB0_11:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x20, _I40E_AQ_RC_ENOENT@GOTPAGE
Lloh10:
	ldr	x20, [x20, _I40E_AQ_RC_ENOENT@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_i40e_get_ieee_dcb_config
	b	LBB0_16
LBB0_13:
	cbnz	x0, LBB0_16
; %bb.14:
Lloh11:
	adrp	x8, _I40E_AQ_LLDP_MIB_LOCAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I40E_AQ_LLDP_MIB_LOCAL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x3, x19, #20
	mov	x0, x19
	mov	w2, #0
	bl	_i40e_aq_get_dcb_config
	cbnz	x0, LBB0_16
; %bb.15:
Lloh14:
	adrp	x8, _I40E_AQ_LLDP_MIB_REMOTE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _I40E_AQ_LLDP_MIB_REMOTE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	add	x3, x19, #16
	mov	x0, x19
	bl	_i40e_aq_get_dcb_config
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	csel	x0, xzr, x0, eq
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_MAC_XL710,8,3             ; @I40E_MAC_XL710
	.comm	_I40E_DCBX_MODE_CEE,8,3         ; @I40E_DCBX_MODE_CEE
	.comm	_I40E_AQ_RC_ENOENT,8,3          ; @I40E_AQ_RC_ENOENT
	.comm	_I40E_AQ_LLDP_MIB_LOCAL,4,2     ; @I40E_AQ_LLDP_MIB_LOCAL
	.comm	_I40E_AQ_LLDP_MIB_REMOTE,4,2    ; @I40E_AQ_LLDP_MIB_REMOTE
	.comm	_I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE,4,2 ; @I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE
.subsections_via_symbols
