	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_dcb_map_cee_params
_qlcnic_dcb_map_cee_params:             ## @qlcnic_dcb_map_cee_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r15
	leaq	(%r15,%rsi,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rbx
	movq	%rsi, %r14
	shlq	$4, %r14
	movq	$0, (%rbx,%r14)
	movl	12(%rbx,%r14), %edi
	movq	_QLC_DCB_MAX_TC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	8(%rbx,%r14), %edi
	movq	_QLC_DCB_MAX_TC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r15,%r13,8), %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_qlcnic_dcb_pfc_hdr_valid
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r12)
	je	LBB0_3
## %bb.2:
	leaq	(%rbx,%r14), %rax
	addq	$4, %rax
	movl	$1, (%rax)
LBB0_3:
	addq	%r14, %rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_qlcnic_dcb_tsa_hdr_valid
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpq	$0, (%r12)
	je	LBB0_6
## %bb.5:
	movl	$1, (%rbx)
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_qlcnic_dcb_fill_cee_tc_params
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_dcb_fill_cee_pg_params
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qlcnic_dcb_fill_cee_app_params ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_DCB_MAX_TC,4,2             ## @QLC_DCB_MAX_TC
	.no_dead_strip	_qlcnic_dcb_map_cee_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_map_cee_params
_qlcnic_dcb_map_cee_params:             ; @qlcnic_dcb_map_cee_params
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldp	x24, x23, [x8]
	ldr	x8, [x23]
	add	x21, x8, x1, lsl #3
	ldr	x8, [x24, #16]
	add	x22, x8, x1, lsl #4
	mov	x25, x22
	str	wzr, [x25, #4]!
	str	wzr, [x22]
	ldr	w0, [x22, #12]
Lloh0:
	adrp	x26, _QLC_DCB_MAX_TC@GOTPAGE
Lloh1:
	ldr	x26, [x26, _QLC_DCB_MAX_TC@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	w0, [x22, #8]
	ldr	w8, [x26]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_qlcnic_dcb_pfc_hdr_valid
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x25]
LBB0_3:
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_qlcnic_dcb_tsa_hdr_valid
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x24]
	cbz	x8, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x22]
LBB0_6:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_qlcnic_dcb_fill_cee_tc_params
	mov	x0, x21
	mov	x1, x22
	bl	_qlcnic_dcb_fill_cee_pg_params
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_qlcnic_dcb_fill_cee_app_params
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_DCB_MAX_TC,4,2             ; @QLC_DCB_MAX_TC
	.no_dead_strip	_qlcnic_dcb_map_cee_params
.subsections_via_symbols
