	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_hw_hwfn_prepare
_qed_hw_hwfn_prepare:                   ## @qed_hw_hwfn_prepare
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_QED_IS_AH
	testq	%rax, %rax
	movl	(%rbx), %esi
	movq	_PGLUE_B_REG_PGL_ADDR_E8_F0_K2@GOTPCREL(%rip), %rax
	cmoveq	_PGLUE_B_REG_PGL_ADDR_88_F0_BB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PGLUE_B_REG_PGL_ADDR_EC_F0_K2@GOTPCREL(%rip), %r15
	cmoveq	_PGLUE_B_REG_PGL_ADDR_8C_F0_BB@GOTPCREL(%rip), %r15
	movq	_PGLUE_B_REG_PGL_ADDR_F0_F0_K2@GOTPCREL(%rip), %r12
	cmoveq	_PGLUE_B_REG_PGL_ADDR_90_F0_BB@GOTPCREL(%rip), %r12
	movq	_PGLUE_B_REG_PGL_ADDR_F4_F0_K2@GOTPCREL(%rip), %r14
	cmoveq	_PGLUE_B_REG_PGL_ADDR_94_F0_BB@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movl	(%rbx), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movl	(%rbx), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_qed_pglueb_clear_err
	movl	(%rbx), %esi
	movq	_PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_wr                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PGLUE_B_REG_PGL_ADDR_E8_F0_K2,4,2 ## @PGLUE_B_REG_PGL_ADDR_E8_F0_K2
	.comm	_PGLUE_B_REG_PGL_ADDR_EC_F0_K2,4,2 ## @PGLUE_B_REG_PGL_ADDR_EC_F0_K2
	.comm	_PGLUE_B_REG_PGL_ADDR_F0_F0_K2,4,2 ## @PGLUE_B_REG_PGL_ADDR_F0_F0_K2
	.comm	_PGLUE_B_REG_PGL_ADDR_F4_F0_K2,4,2 ## @PGLUE_B_REG_PGL_ADDR_F4_F0_K2
	.comm	_PGLUE_B_REG_PGL_ADDR_88_F0_BB,4,2 ## @PGLUE_B_REG_PGL_ADDR_88_F0_BB
	.comm	_PGLUE_B_REG_PGL_ADDR_8C_F0_BB,4,2 ## @PGLUE_B_REG_PGL_ADDR_8C_F0_BB
	.comm	_PGLUE_B_REG_PGL_ADDR_90_F0_BB,4,2 ## @PGLUE_B_REG_PGL_ADDR_90_F0_BB
	.comm	_PGLUE_B_REG_PGL_ADDR_94_F0_BB,4,2 ## @PGLUE_B_REG_PGL_ADDR_94_F0_BB
	.comm	_PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ,4,2 ## @PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ
	.no_dead_strip	_qed_hw_hwfn_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_hw_hwfn_prepare
_qed_hw_hwfn_prepare:                   ; @qed_hw_hwfn_prepare
	.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, x0
	ldr	w0, [x0, #4]
	bl	_QED_IS_AH
Lloh0:
	adrp	x8, _PGLUE_B_REG_PGL_ADDR_88_F0_BB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PGLUE_B_REG_PGL_ADDR_88_F0_BB@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh2:
	adrp	x9, _PGLUE_B_REG_PGL_ADDR_E8_F0_K2@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PGLUE_B_REG_PGL_ADDR_E8_F0_K2@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
Lloh4:
	adrp	x8, _PGLUE_B_REG_PGL_ADDR_8C_F0_BB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PGLUE_B_REG_PGL_ADDR_8C_F0_BB@GOTPAGEOFF]
Lloh6:
	adrp	x9, _PGLUE_B_REG_PGL_ADDR_EC_F0_K2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PGLUE_B_REG_PGL_ADDR_EC_F0_K2@GOTPAGEOFF]
	csel	x20, x8, x9, eq
Lloh8:
	adrp	x8, _PGLUE_B_REG_PGL_ADDR_90_F0_BB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PGLUE_B_REG_PGL_ADDR_90_F0_BB@GOTPAGEOFF]
Lloh10:
	adrp	x9, _PGLUE_B_REG_PGL_ADDR_F0_F0_K2@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PGLUE_B_REG_PGL_ADDR_F0_F0_K2@GOTPAGEOFF]
Lloh12:
	adrp	x10, _PGLUE_B_REG_PGL_ADDR_94_F0_BB@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PGLUE_B_REG_PGL_ADDR_94_F0_BB@GOTPAGEOFF]
Lloh14:
	adrp	x11, _PGLUE_B_REG_PGL_ADDR_F4_F0_K2@GOTPAGE
Lloh15:
	ldr	x11, [x11, _PGLUE_B_REG_PGL_ADDR_F4_F0_K2@GOTPAGEOFF]
	csel	x21, x8, x9, eq
	csel	x22, x10, x11, eq
	mov	x0, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	w1, [x19]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	w1, [x19]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	w1, [x19]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	w1, [x19]
	mov	x0, x19
	bl	_qed_pglueb_clear_err
Lloh16:
	adrp	x8, _PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	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
	b	_qed_wr
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PGLUE_B_REG_PGL_ADDR_E8_F0_K2,4,2 ; @PGLUE_B_REG_PGL_ADDR_E8_F0_K2
	.comm	_PGLUE_B_REG_PGL_ADDR_EC_F0_K2,4,2 ; @PGLUE_B_REG_PGL_ADDR_EC_F0_K2
	.comm	_PGLUE_B_REG_PGL_ADDR_F0_F0_K2,4,2 ; @PGLUE_B_REG_PGL_ADDR_F0_F0_K2
	.comm	_PGLUE_B_REG_PGL_ADDR_F4_F0_K2,4,2 ; @PGLUE_B_REG_PGL_ADDR_F4_F0_K2
	.comm	_PGLUE_B_REG_PGL_ADDR_88_F0_BB,4,2 ; @PGLUE_B_REG_PGL_ADDR_88_F0_BB
	.comm	_PGLUE_B_REG_PGL_ADDR_8C_F0_BB,4,2 ; @PGLUE_B_REG_PGL_ADDR_8C_F0_BB
	.comm	_PGLUE_B_REG_PGL_ADDR_90_F0_BB,4,2 ; @PGLUE_B_REG_PGL_ADDR_90_F0_BB
	.comm	_PGLUE_B_REG_PGL_ADDR_94_F0_BB,4,2 ; @PGLUE_B_REG_PGL_ADDR_94_F0_BB
	.comm	_PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ,4,2 ; @PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ
	.no_dead_strip	_qed_hw_hwfn_prepare
.subsections_via_symbols
