	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_init_qm_params
_qed_init_qm_params:                    ## @qed_init_qm_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_QED_PQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RESC_START
	movq	%rax, 40(%rbx)
	movq	_QED_VPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_RESC_START
	movq	%rax, 32(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_MAX_NUM_PORTS_K2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_1
## %bb.2:
	movq	_NUM_PHYS_TCS_4PORT_K2@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_NUM_OF_PHYS_TCS@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	(%rdx), %edx
	movl	%edx, 24(%rbx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_8
## %bb.4:
	cmpq	%rcx, %rax
	jne	LBB0_5
## %bb.6:
	movq	_DCBX_TCP_OOO_K2_4PORT_TC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_DCBX_TCP_OOO_TC@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_PQ,4,2                     ## @QED_PQ
	.comm	_QED_VPORT,4,2                  ## @QED_VPORT
	.comm	_MAX_NUM_PORTS_K2,8,3           ## @MAX_NUM_PORTS_K2
	.comm	_NUM_PHYS_TCS_4PORT_K2,4,2      ## @NUM_PHYS_TCS_4PORT_K2
	.comm	_NUM_OF_PHYS_TCS,4,2            ## @NUM_OF_PHYS_TCS
	.comm	_DCBX_TCP_OOO_K2_4PORT_TC,8,3   ## @DCBX_TCP_OOO_K2_4PORT_TC
	.comm	_DCBX_TCP_OOO_TC,8,3            ## @DCBX_TCP_OOO_TC
	.no_dead_strip	_qed_init_qm_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_init_qm_params
_qed_init_qm_params:                    ; @qed_init_qm_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _QED_PQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_PQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_RESC_START
	str	x0, [x19, #40]
Lloh3:
	adrp	x8, _QED_VPORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_VPORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_RESC_START
	str	x0, [x19, #32]
	movi.2s	v0, #1
	str	d0, [x19, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MAX_NUM_PORTS_K2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_NUM_PORTS_K2@GOTPAGEOFF]
Lloh8:
	adrp	x10, _NUM_PHYS_TCS_4PORT_K2@GOTPAGE
Lloh9:
	ldr	x10, [x10, _NUM_PHYS_TCS_4PORT_K2@GOTPAGEOFF]
Lloh10:
	adrp	x11, _NUM_OF_PHYS_TCS@GOTPAGE
Lloh11:
	ldr	x11, [x11, _NUM_OF_PHYS_TCS@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x10, x10, x11, eq
	ldr	w10, [x10]
	str	w10, [x19, #24]
	ldr	x10, [x19, #16]
	cbnz	x10, LBB0_2
; %bb.1:
Lloh13:
	adrp	x10, _DCBX_TCP_OOO_K2_4PORT_TC@GOTPAGE
Lloh14:
	ldr	x10, [x10, _DCBX_TCP_OOO_K2_4PORT_TC@GOTPAGEOFF]
Lloh15:
	adrp	x11, _DCBX_TCP_OOO_TC@GOTPAGE
Lloh16:
	ldr	x11, [x11, _DCBX_TCP_OOO_TC@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_PQ,4,2                     ; @QED_PQ
	.comm	_QED_VPORT,4,2                  ; @QED_VPORT
	.comm	_MAX_NUM_PORTS_K2,8,3           ; @MAX_NUM_PORTS_K2
	.comm	_NUM_PHYS_TCS_4PORT_K2,4,2      ; @NUM_PHYS_TCS_4PORT_K2
	.comm	_NUM_OF_PHYS_TCS,4,2            ; @NUM_OF_PHYS_TCS
	.comm	_DCBX_TCP_OOO_K2_4PORT_TC,8,3   ; @DCBX_TCP_OOO_K2_4PORT_TC
	.comm	_DCBX_TCP_OOO_TC,8,3            ; @DCBX_TCP_OOO_TC
	.no_dead_strip	_qed_init_qm_params
.subsections_via_symbols
