	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_get_dcbx_status           ## -- Begin function i40e_get_dcbx_status
	.p2align	4, 0x90
_i40e_get_dcbx_status:                  ## @i40e_get_dcbx_status
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	_I40E_PRTDCB_GENS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rd32
	movq	_I40E_PRTDCB_GENS_DCBX_STATUS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_I40E_PRTDCB_GENS_DCBX_STATUS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cltq
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_ERR_PARAM,4,2             ## @I40E_ERR_PARAM
	.comm	_I40E_PRTDCB_GENS,4,2           ## @I40E_PRTDCB_GENS
	.comm	_I40E_PRTDCB_GENS_DCBX_STATUS_MASK,4,2 ## @I40E_PRTDCB_GENS_DCBX_STATUS_MASK
	.comm	_I40E_PRTDCB_GENS_DCBX_STATUS_SHIFT,4,2 ## @I40E_PRTDCB_GENS_DCBX_STATUS_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_get_dcbx_status           ; -- Begin function i40e_get_dcbx_status
	.p2align	2
_i40e_get_dcbx_status:                  ; @i40e_get_dcbx_status
	.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
	cbz	x1, LBB0_2
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _I40E_PRTDCB_GENS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_PRTDCB_GENS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rd32
	mov	x8, x0
	mov	w0, #0
Lloh3:
	adrp	x9, _I40E_PRTDCB_GENS_DCBX_STATUS_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I40E_PRTDCB_GENS_DCBX_STATUS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _I40E_PRTDCB_GENS_DCBX_STATUS_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40E_PRTDCB_GENS_DCBX_STATUS_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sxtw	x8, w8
	str	x8, [x19]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_ERR_PARAM,4,2             ; @I40E_ERR_PARAM
	.comm	_I40E_PRTDCB_GENS,4,2           ; @I40E_PRTDCB_GENS
	.comm	_I40E_PRTDCB_GENS_DCBX_STATUS_MASK,4,2 ; @I40E_PRTDCB_GENS_DCBX_STATUS_MASK
	.comm	_I40E_PRTDCB_GENS_DCBX_STATUS_SHIFT,4,2 ; @I40E_PRTDCB_GENS_DCBX_STATUS_SHIFT
.subsections_via_symbols
