	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_get_ieee_dcb_config
_i40e_get_ieee_dcb_config:              ## @i40e_get_ieee_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_I40E_DCBX_MODE_IEEE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	12(%rdi), %rcx
	movl	%eax, 12(%rdi)
	movq	_I40E_AQ_LLDP_MIB_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_i40e_aq_get_dcb_config
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	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	8(%rbx), %rcx
	movq	%rbx, %rdi
	callq	_i40e_aq_get_dcb_config
	movq	%rax, %rcx
	movq	(%rbx), %rdx
	movq	_I40E_AQ_RC_ENOENT@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rdx
	cmovneq	%rcx, %rax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_DCBX_MODE_IEEE,4,2        ## @I40E_DCBX_MODE_IEEE
	.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
	.comm	_I40E_AQ_RC_ENOENT,8,3          ## @I40E_AQ_RC_ENOENT
	.no_dead_strip	_i40e_get_ieee_dcb_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_get_ieee_dcb_config
_i40e_get_ieee_dcb_config:              ; @i40e_get_ieee_dcb_config
	.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, x0
Lloh0:
	adrp	x8, _I40E_DCBX_MODE_IEEE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_DCBX_MODE_IEEE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x3, x0
	str	w8, [x3, #12]!
Lloh3:
	adrp	x8, _I40E_AQ_LLDP_MIB_LOCAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_AQ_LLDP_MIB_LOCAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_i40e_aq_get_dcb_config
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _I40E_AQ_LLDP_MIB_REMOTE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_AQ_LLDP_MIB_REMOTE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x3, x19, #8
	mov	x0, x19
	bl	_i40e_aq_get_dcb_config
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _I40E_AQ_RC_ENOENT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I40E_AQ_RC_ENOENT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x0, xzr, x0, eq
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_DCBX_MODE_IEEE,4,2        ; @I40E_DCBX_MODE_IEEE
	.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
	.comm	_I40E_AQ_RC_ENOENT,8,3          ; @I40E_AQ_RC_ENOENT
	.no_dead_strip	_i40e_get_ieee_dcb_config
.subsections_via_symbols
