	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_dcb_get_capability
_qlcnic_dcb_get_capability:             ## @qlcnic_dcb_get_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	%rdx, %r14
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_QLCNIC_DCB_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	$8, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	addl	$-128, %ebx
	cmpl	$6, %ebx
	ja	LBB0_7
## %bb.3:
	movl	$1, %eax
	movl	$53, %ecx
	btl	%ebx, %ecx
	jb	LBB0_8
## %bb.4:
	movl	$10, %eax
	btl	%ebx, %eax
	jae	LBB0_6
## %bb.5:
	movl	$128, %eax
	jmp	LBB0_8
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
LBB0_8:
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_DCB_STATE,4,2           ## @QLCNIC_DCB_STATE
	.no_dead_strip	_qlcnic_dcb_get_capability
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_dcb_get_capability
_qlcnic_dcb_get_capability:             ; @qlcnic_dcb_get_capability
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _QLCNIC_DCB_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_DCB_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x20]
	add	x1, x8, #8
	bl	_test_bit
	cbz	w0, LBB0_5
; %bb.1:
	sub	w9, w21, #128
	cmp	w9, #6
	b.hi	LBB0_6
; %bb.2:
	mov	w8, #1
	lsl	w10, w8, w9
	mov	w11, #53
	tst	w10, w11
	b.ne	LBB0_8
; %bb.3:
	mov	w8, #1
	lsl	w8, w8, w9
	mov	w9, #10
	tst	w8, w9
	b.eq	LBB0_7
; %bb.4:
	mov	w8, #128
	b	LBB0_8
LBB0_5:
	mov	w0, #1
	b	LBB0_9
LBB0_6:
	mov	w8, #0
	b	LBB0_8
LBB0_7:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w8, [x8]
LBB0_8:
	mov	w0, #0
	str	w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_DCB_STATE,4,2           ; @QLCNIC_DCB_STATE
	.no_dead_strip	_qlcnic_dcb_get_capability
.subsections_via_symbols
