	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_dcb_get_feat_cfg
_qlcnic_dcb_get_feat_cfg:               ## @qlcnic_dcb_get_feat_cfg
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_QLCNIC_DCB_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	addq	$8, %rsi
	callq	_test_bit
	movl	$1, %r15d
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_QLC_DCB_OPER_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, (%r14)
	cmpl	$130, %r13d
	je	LBB0_5
## %bb.2:
	cmpl	$129, %r13d
	je	LBB0_7
## %bb.3:
	cmpl	$128, %r13d
	jne	LBB0_11
## %bb.4:
	shlq	$4, %rcx
	cmpl	$0, 12(%rax,%rcx)
	je	LBB0_10
LBB0_5:
	movq	_DCB_FEATCFG_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	shlq	$4, %rcx
	cmpl	$0, 8(%rax,%rcx)
	je	LBB0_10
## %bb.8:
	movq	(%rax,%rcx), %rax
	movq	(%rax), %rax
	xorl	%r15d, %r15d
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.9:
	movq	_DCB_FEATCFG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_netdev_err
	jmp	LBB0_12
LBB0_10:
	movq	_DCB_FEATCFG_ERROR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%r15d, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_DCB_STATE,4,2           ## @QLCNIC_DCB_STATE
	.comm	_QLC_DCB_OPER_IDX,8,3           ## @QLC_DCB_OPER_IDX
	.comm	_DCB_FEATCFG_ENABLE,4,2         ## @DCB_FEATCFG_ENABLE
	.comm	_DCB_FEATCFG_ERROR,4,2          ## @DCB_FEATCFG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Feature ID %d\n"

	.no_dead_strip	_qlcnic_dcb_get_feat_cfg
.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_feat_cfg
_qlcnic_dcb_get_feat_cfg:               ; @qlcnic_dcb_get_feat_cfg
	.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	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _QLCNIC_DCB_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_DCB_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x22]
	add	x1, x8, #8
	bl	_test_bit
	cbz	w0, LBB0_9
; %bb.1:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _QLC_DCB_OPER_IDX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLC_DCB_OPER_IDX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	wzr, [x19]
	cmp	w20, #130
	b.eq	LBB0_7
; %bb.2:
	cmp	w20, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	w20, #128
	b.ne	LBB0_8
; %bb.4:
	add	x8, x8, x9, lsl #4
	ldr	w8, [x8, #12]
	cbnz	w8, LBB0_7
	b	LBB0_10
LBB0_5:
	add	x10, x8, x9, lsl #4
	ldr	w10, [x10, #8]
	cbz	w10, LBB0_10
; %bb.6:
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_13
LBB0_7:
	mov	w0, #0
Lloh6:
	adrp	x8, _DCB_FEATCFG_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DCB_FEATCFG_ENABLE@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_netdev_err
LBB0_9:
	mov	w0, #1
	b	LBB0_12
LBB0_10:
	mov	w0, #0
Lloh10:
	adrp	x8, _DCB_FEATCFG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DCB_FEATCFG_ERROR@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_12:
	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
LBB0_13:
	mov	w0, #0
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_DCB_STATE,4,2           ; @QLCNIC_DCB_STATE
	.comm	_QLC_DCB_OPER_IDX,8,3           ; @QLC_DCB_OPER_IDX
	.comm	_DCB_FEATCFG_ENABLE,4,2         ; @DCB_FEATCFG_ENABLE
	.comm	_DCB_FEATCFG_ERROR,4,2          ; @DCB_FEATCFG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Feature ID %d\n"

	.no_dead_strip	_qlcnic_dcb_get_feat_cfg
.subsections_via_symbols
