	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_82xx_dcb_get_hw_capability
_qlcnic_82xx_dcb_get_hw_capability:     ## @qlcnic_82xx_dcb_get_hw_capability
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	leaq	-28(%rbp), %rsi
	callq	___qlcnic_dcb_get_capability
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_DCB_CAP_DCBX_VER_CEE@GOTPCREL(%rip), %rax
	movq	_DCB_CAP_DCBX_LLD_MANAGED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	je	LBB0_5
## %bb.2:
	cmpq	$0, 16(%r15)
	je	LBB0_5
## %bb.3:
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.4:
	movq	_QLCNIC_DCB_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_DCB_CAP_DCBX_VER_CEE,4,2       ## @DCB_CAP_DCBX_VER_CEE
	.comm	_DCB_CAP_DCBX_LLD_MANAGED,4,2   ## @DCB_CAP_DCBX_LLD_MANAGED
	.comm	_QLCNIC_DCB_STATE,4,2           ## @QLCNIC_DCB_STATE
	.no_dead_strip	_qlcnic_82xx_dcb_get_hw_capability
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_82xx_dcb_get_hw_capability
_qlcnic_82xx_dcb_get_hw_capability:     ; @qlcnic_82xx_dcb_get_hw_capability
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x21, [x0, #8]
	add	x1, sp, #12
	bl	___qlcnic_dcb_get_capability
	mov	x20, x0
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
Lloh0:
	adrp	x8, _DCB_CAP_DCBX_VER_CEE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCB_CAP_DCBX_VER_CEE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DCB_CAP_DCBX_LLD_MANAGED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DCB_CAP_DCBX_LLD_MANAGED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x21]
	cbz	w8, LBB0_1
; %bb.3:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_1
; %bb.4:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_1
; %bb.5:
Lloh6:
	adrp	x8, _QLCNIC_DCB_STATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_DCB_STATE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DCB_CAP_DCBX_VER_CEE,4,2       ; @DCB_CAP_DCBX_VER_CEE
	.comm	_DCB_CAP_DCBX_LLD_MANAGED,4,2   ; @DCB_CAP_DCBX_LLD_MANAGED
	.comm	_QLCNIC_DCB_STATE,4,2           ; @QLCNIC_DCB_STATE
	.no_dead_strip	_qlcnic_82xx_dcb_get_hw_capability
.subsections_via_symbols
