	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_hw_init_common
_qed_hw_init_common:                    ## @qed_hw_init_common
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_qed_init_cau_rt_data
	movq	%r13, %rdi
	callq	_qed_gtt_init
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	movl	$1, 24(%r13)
LBB0_3:
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movl	$1, 28(%r13)
LBB0_5:
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	movq	8(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	44(%r13), %eax
	movl	%eax, -76(%rbp)
	movl	40(%r13), %eax
	movl	%eax, -80(%rbp)
	movups	24(%r13), %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_qed_qm_common_rt_init
	movq	%r13, %rdi
	callq	_qed_cxt_hw_init_common
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qed_init_cache_line_size
	movq	_PHASE_ENGINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ANY_PHASE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %r8d
	callq	_qed_init_run
	testl	%eax, %eax
	jne	LBB0_18
## %bb.6:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_PSWRQ2_REG_L2P_VALIDATE_VFID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	_PGLUE_B_REG_USE_CLIENTID_IN_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_qed_wr
	movq	8(%r13), %rdi
	callq	_QED_IS_BB
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdi
	callq	_NUM_OF_ENG_PFS
	testq	%rax, %rax
	jle	LBB0_10
## %bb.8:
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	movq	_PRS_REG_SEARCH_TCP@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_qed_fid_pretend
	movq	_PRS_REG_SEARCH_ROCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	incq	%r12
	cmpq	%r12, %rbx
	jne	LBB0_9
LBB0_10:
	movq	(%r13), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qed_fid_pretend
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_11:
	movq	%r12, %rdi
	callq	_QED_IS_AH
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:
	movq	_MAX_NUM_VFS_BB@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_MAX_NUM_VFS_K2@GOTPCREL(%rip), %rax
LBB0_14:
	movq	(%rax), %r12
	testq	%r12, %r12
	jle	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	movq	_TCFC_REG_WEAK_ENABLE_VF@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_qed_vfid_to_concrete
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_qed_fid_pretend
	movq	_CCFC_REG_STRONG_ENABLE_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_qed_wr
	movq	_CCFC_REG_WEAK_ENABLE_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	_TCFC_REG_STRONG_ENABLE_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_qed_wr
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_16
LBB0_17:
	movq	(%r13), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qed_fid_pretend
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_18:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHASE_ENGINE,4,2               ## @PHASE_ENGINE
	.comm	_ANY_PHASE_ID,4,2               ## @ANY_PHASE_ID
	.comm	_PSWRQ2_REG_L2P_VALIDATE_VFID,4,2 ## @PSWRQ2_REG_L2P_VALIDATE_VFID
	.comm	_PGLUE_B_REG_USE_CLIENTID_IN_TAG,4,2 ## @PGLUE_B_REG_USE_CLIENTID_IN_TAG
	.comm	_PRS_REG_SEARCH_ROCE,4,2        ## @PRS_REG_SEARCH_ROCE
	.comm	_PRS_REG_SEARCH_TCP,4,2         ## @PRS_REG_SEARCH_TCP
	.comm	_MAX_NUM_VFS_K2,8,3             ## @MAX_NUM_VFS_K2
	.comm	_MAX_NUM_VFS_BB,8,3             ## @MAX_NUM_VFS_BB
	.comm	_CCFC_REG_STRONG_ENABLE_VF,4,2  ## @CCFC_REG_STRONG_ENABLE_VF
	.comm	_CCFC_REG_WEAK_ENABLE_VF,4,2    ## @CCFC_REG_WEAK_ENABLE_VF
	.comm	_TCFC_REG_STRONG_ENABLE_VF,4,2  ## @TCFC_REG_STRONG_ENABLE_VF
	.comm	_TCFC_REG_WEAK_ENABLE_VF,4,2    ## @TCFC_REG_WEAK_ENABLE_VF
	.no_dead_strip	_qed_hw_init_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_hw_init_common
_qed_hw_init_common:                    ; @qed_hw_init_common
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
	mov	x0, x22
	bl	_qed_init_cau_rt_data
	mov	x0, x20
	bl	_qed_gtt_init
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.2:
	mov	w9, #1
	str	w9, [x20, #24]
LBB0_3:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x20, #28]
LBB0_5:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #28
	bl	_memset
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	d0, [x20, #40]
	str	d0, [sp, #16]
	ldur	q0, [x20, #24]
	str	q0, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_qed_qm_common_rt_init
	mov	x0, x20
	bl	_qed_cxt_hw_init_common
	mov	x0, x20
	mov	x1, x19
	bl	_qed_init_cache_line_size
Lloh0:
	adrp	x8, _PHASE_ENGINE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHASE_ENGINE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _ANY_PHASE_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ANY_PHASE_ID@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x4, x21
	bl	_qed_init_run
	mov	x21, x0
	cbnz	w0, LBB0_15
; %bb.6:
Lloh6:
	adrp	x8, _PSWRQ2_REG_L2P_VALIDATE_VFID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSWRQ2_REG_L2P_VALIDATE_VFID@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
Lloh9:
	adrp	x8, _PGLUE_B_REG_USE_CLIENTID_IN_TAG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PGLUE_B_REG_USE_CLIENTID_IN_TAG@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	bl	_qed_wr
	ldr	x0, [x20, #8]
	bl	_QED_IS_BB
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x0, [x20, #8]
	bl	_NUM_OF_ENG_PFS
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x23, x0
	mov	x24, #0
Lloh12:
	adrp	x25, _PRS_REG_SEARCH_ROCE@GOTPAGE
Lloh13:
	ldr	x25, [x25, _PRS_REG_SEARCH_ROCE@GOTPAGEOFF]
Lloh14:
	adrp	x26, _PRS_REG_SEARCH_TCP@GOTPAGE
Lloh15:
	ldr	x26, [x26, _PRS_REG_SEARCH_TCP@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_qed_fid_pretend
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	add	x24, x24, #1
	cmp	x23, x24
	b.ne	LBB0_9
LBB0_10:
	ldr	x2, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_fid_pretend
LBB0_11:
	mov	x0, x22
	bl	_QED_IS_AH
Lloh16:
	adrp	x8, _MAX_NUM_VFS_K2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MAX_NUM_VFS_K2@GOTPAGEOFF]
Lloh18:
	adrp	x9, _MAX_NUM_VFS_BB@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAX_NUM_VFS_BB@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	x23, [x8]
	cmp	x23, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x22, #0
Lloh20:
	adrp	x24, _CCFC_REG_STRONG_ENABLE_VF@GOTPAGE
Lloh21:
	ldr	x24, [x24, _CCFC_REG_STRONG_ENABLE_VF@GOTPAGEOFF]
Lloh22:
	adrp	x25, _CCFC_REG_WEAK_ENABLE_VF@GOTPAGE
Lloh23:
	ldr	x25, [x25, _CCFC_REG_WEAK_ENABLE_VF@GOTPAGEOFF]
Lloh24:
	adrp	x26, _TCFC_REG_STRONG_ENABLE_VF@GOTPAGE
Lloh25:
	ldr	x26, [x26, _TCFC_REG_STRONG_ENABLE_VF@GOTPAGEOFF]
Lloh26:
	adrp	x27, _TCFC_REG_WEAK_ENABLE_VF@GOTPAGE
Lloh27:
	ldr	x27, [x27, _TCFC_REG_WEAK_ENABLE_VF@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_qed_vfid_to_concrete
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_qed_fid_pretend
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	bl	_qed_wr
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	bl	_qed_wr
	ldr	w2, [x27]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	add	x22, x22, #1
	cmp	x23, x22
	b.ne	LBB0_13
LBB0_14:
	ldr	x2, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_fid_pretend
LBB0_15:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PHASE_ENGINE,4,2               ; @PHASE_ENGINE
	.comm	_ANY_PHASE_ID,4,2               ; @ANY_PHASE_ID
	.comm	_PSWRQ2_REG_L2P_VALIDATE_VFID,4,2 ; @PSWRQ2_REG_L2P_VALIDATE_VFID
	.comm	_PGLUE_B_REG_USE_CLIENTID_IN_TAG,4,2 ; @PGLUE_B_REG_USE_CLIENTID_IN_TAG
	.comm	_PRS_REG_SEARCH_ROCE,4,2        ; @PRS_REG_SEARCH_ROCE
	.comm	_PRS_REG_SEARCH_TCP,4,2         ; @PRS_REG_SEARCH_TCP
	.comm	_MAX_NUM_VFS_K2,8,3             ; @MAX_NUM_VFS_K2
	.comm	_MAX_NUM_VFS_BB,8,3             ; @MAX_NUM_VFS_BB
	.comm	_CCFC_REG_STRONG_ENABLE_VF,4,2  ; @CCFC_REG_STRONG_ENABLE_VF
	.comm	_CCFC_REG_WEAK_ENABLE_VF,4,2    ; @CCFC_REG_WEAK_ENABLE_VF
	.comm	_TCFC_REG_STRONG_ENABLE_VF,4,2  ; @TCFC_REG_STRONG_ENABLE_VF
	.comm	_TCFC_REG_WEAK_ENABLE_VF,4,2    ; @TCFC_REG_WEAK_ENABLE_VF
	.no_dead_strip	_qed_hw_init_common
.subsections_via_symbols
