	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_dcb_get_hw_capability
_qlcnic_83xx_dcb_get_hw_capability:     ## @qlcnic_83xx_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_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-28(%rbp), %eax
	movq	_BIT_2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_DCB_CAP_DCBX_VER_CEE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movl	-28(%rbp), %eax
LBB0_3:
	movq	_BIT_3@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.5:
	movq	_DCB_CAP_DCBX_VER_IEEE@GOTPCREL(%rip), %rcx
	movl	(%r15), %eax
	orl	(%rcx), %eax
	movl	%eax, (%r15)
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_10
LBB0_4:
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_10
LBB0_7:
	movq	_DCB_CAP_DCBX_LLD_MANAGED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r15)
	cmpq	$0, 16(%r15)
	je	LBB0_10
## %bb.8:
	cmpq	$0, 8(%r15)
	je	LBB0_10
## %bb.9:
	movq	_QLCNIC_DCB_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT_2,4,2                      ## @BIT_2
	.comm	_DCB_CAP_DCBX_VER_CEE,4,2       ## @DCB_CAP_DCBX_VER_CEE
	.comm	_BIT_3,4,2                      ## @BIT_3
	.comm	_DCB_CAP_DCBX_VER_IEEE,4,2      ## @DCB_CAP_DCBX_VER_IEEE
	.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_83xx_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_83xx_dcb_get_hw_capability
_qlcnic_83xx_dcb_get_hw_capability:     ; @qlcnic_83xx_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:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _BIT_2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BIT_2@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _DCB_CAP_DCBX_VER_CEE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCB_CAP_DCBX_VER_CEE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21]
	ldr	w8, [sp, #12]
LBB0_4:
Lloh6:
	adrp	x9, _BIT_3@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BIT_3@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _DCB_CAP_DCBX_VER_IEEE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DCB_CAP_DCBX_VER_IEEE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	cbnz	w8, LBB0_7
	b	LBB0_1
LBB0_6:
	ldr	w8, [x21]
	cbz	w8, LBB0_1
LBB0_7:
Lloh12:
	adrp	x9, _DCB_CAP_DCBX_LLD_MANAGED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DCB_CAP_DCBX_LLD_MANAGED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x21]
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_1
; %bb.8:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_1
; %bb.9:
Lloh15:
	adrp	x8, _QLCNIC_DCB_STATE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QLCNIC_DCB_STATE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT_2,4,2                      ; @BIT_2
	.comm	_DCB_CAP_DCBX_VER_CEE,4,2       ; @DCB_CAP_DCBX_VER_CEE
	.comm	_BIT_3,4,2                      ; @BIT_3
	.comm	_DCB_CAP_DCBX_VER_IEEE,4,2      ; @DCB_CAP_DCBX_VER_IEEE
	.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_83xx_dcb_get_hw_capability
.subsections_via_symbols
