	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_dcb_fill_cee_app_params
_qlcnic_dcb_fill_cee_app_params:        ## @qlcnic_dcb_fill_cee_app_params
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	8(%rdx), %rax
	movl	(%rax), %esi
	callq	_qlcnic_dcb_get_num_app
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %r14
	decq	%rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r15
	movl	$1, (%r15,%r14,8)
	movq	(%r13), %rax
	movl	(%rax,%r14), %edi
	callq	_QLC_DCB_GET_SELECTOR_APP
	decq	%rax
	movq	%rax, 24(%r15,%r14,8)
	movq	%rax, -64(%rbp)
	movq	(%r13), %rax
	movl	(%rax,%r14), %edi
	callq	_QLC_DCB_GET_PROTO_ID_APP
	movl	%eax, 16(%r15,%r14,8)
	movl	%eax, -72(%rbp)
	movq	(%r13), %rax
	movl	(%rax,%r14), %esi
	movq	%r12, %rdi
	callq	_qlcnic_dcb_get_prio_map_app
	movq	%rax, %rdi
	callq	_qlcnic_dcb_prio_count
	movq	_QLC_DCB_MAX_TC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$0, %ecx
	cmovaeq	%rcx, %rax
	movq	%rax, 8(%r15,%r14,8)
	movq	%rax, -80(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	_QLC_DCB_OPER_IDX@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-80(%rbp), %rsi
	callq	_dcb_setapp
	jmp	LBB0_5
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_DCB_MAX_TC,8,3             ## @QLC_DCB_MAX_TC
	.comm	_QLC_DCB_OPER_IDX,8,3           ## @QLC_DCB_OPER_IDX
	.no_dead_strip	_qlcnic_dcb_fill_cee_app_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_dcb_fill_cee_app_params
_qlcnic_dcb_fill_cee_app_params:        ; @qlcnic_dcb_fill_cee_app_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x2, #8]
	ldr	w1, [x8]
	bl	_qlcnic_dcb_get_num_app
	cbz	x0, LBB0_6
; %bb.1:
	mov	x23, x0
	mov	x24, #0
	mov	x25, #0
Lloh0:
	adrp	x28, _QLC_DCB_OPER_IDX@GOTPAGE
Lloh1:
	ldr	x28, [x28, _QLC_DCB_OPER_IDX@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	add	x24, x24, #32
	cmp	x23, x25
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x26, x8, x24
	mov	w8, #1
	str	w8, [x26]
	ldr	x8, [x20]
	lsl	x27, x25, #2
	ldr	w0, [x8, x27]
	bl	_QLC_DCB_GET_SELECTOR_APP
	sub	x8, x0, #1
	str	x8, [x26, #24]
	str	x8, [sp, #24]
	ldr	x8, [x20]
	ldr	w0, [x8, x27]
	bl	_QLC_DCB_GET_PROTO_ID_APP
	str	w0, [x26, #16]
	str	w0, [sp, #16]
	ldr	x8, [x20]
	ldr	w1, [x8, x27]
	mov	x0, x22
	bl	_qlcnic_dcb_get_prio_map_app
	bl	_qlcnic_dcb_prio_count
Lloh2:
	adrp	x8, _QLC_DCB_MAX_TC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QLC_DCB_MAX_TC@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	csel	x8, x0, xzr, lo
	str	x8, [x26, #8]
	str	x8, [sp, #8]
	ldr	x8, [x28]
	cmp	x8, x21
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22]
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	bl	_dcb_setapp
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_DCB_MAX_TC,8,3             ; @QLC_DCB_MAX_TC
	.comm	_QLC_DCB_OPER_IDX,8,3           ; @QLC_DCB_OPER_IDX
	.no_dead_strip	_qlcnic_dcb_fill_cee_app_params
.subsections_via_symbols
