	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_guc_init_send_regs       ## -- Begin function intel_guc_init_send_regs
	.p2align	4, 0x90
_intel_guc_init_send_regs:              ## @intel_guc_init_send_regs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_guc_to_gt
	movq	%rax, %r14
	movl	4(%rax), %edi
	callq	_INTEL_GEN
	xorl	%edi, %edi
	cmpl	$11, %eax
	jl	LBB0_2
## %bb.1:
	callq	_GEN11_SOFT_SCRATCH
	movl	%eax, %edi
	callq	_i915_mmio_reg_offset
	movq	%rax, 8(%r15)
	movq	_GEN11_SOFT_SCRATCH_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %r12d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_guc_send_reg
	movq	_FW_REG_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_FW_REG_READ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_intel_uncore_forcewake_for_reg
	orl	%eax, %r13d
	incl	%ebx
	cmpl	(%r15), %ebx
	jb	LBB0_6
	jmp	LBB0_7
LBB0_2:
	callq	_SOFT_SCRATCH
	movl	%eax, %edi
	callq	_i915_mmio_reg_offset
	movq	%rax, 8(%r15)
	movq	_GUC_MAX_MMIO_MSG_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%eax, (%r15)
	movq	_SOFT_SCRATCH_COUNT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_BUILD_BUG_ON
	movl	(%r15), %eax
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	xorl	%r13d, %r13d
LBB0_7:
	movl	%r13d, 4(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN11_SOFT_SCRATCH_COUNT,4,2   ## @GEN11_SOFT_SCRATCH_COUNT
	.comm	_GUC_MAX_MMIO_MSG_LEN,8,3       ## @GUC_MAX_MMIO_MSG_LEN
	.comm	_SOFT_SCRATCH_COUNT,8,3         ## @SOFT_SCRATCH_COUNT
	.comm	_FW_REG_READ,4,2                ## @FW_REG_READ
	.comm	_FW_REG_WRITE,4,2               ## @FW_REG_WRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_guc_init_send_regs       ; -- Begin function intel_guc_init_send_regs
	.p2align	2
_intel_guc_init_send_regs:              ; @intel_guc_init_send_regs
	.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, x0
	bl	_guc_to_gt
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_INTEL_GEN
	cmp	w0, #11
	b.lt	LBB0_4
; %bb.1:
	mov	w0, #0
	bl	_GEN11_SOFT_SCRATCH
	bl	_i915_mmio_reg_offset
	str	x0, [x19, #8]
Lloh0:
	adrp	x8, _GEN11_SOFT_SCRATCH_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN11_SOFT_SCRATCH_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	cbz	w8, LBB0_5
LBB0_2:
	mov	w21, #0
	mov	w23, #0
Lloh3:
	adrp	x24, _FW_REG_READ@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FW_REG_READ@GOTPAGEOFF]
Lloh5:
	adrp	x25, _FW_REG_WRITE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _FW_REG_WRITE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_guc_send_reg
	mov	x1, x0
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	x0, x22
	bl	_intel_uncore_forcewake_for_reg
	orr	w23, w0, w23
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.lo	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	bl	_SOFT_SCRATCH
	bl	_i915_mmio_reg_offset
	str	x0, [x19, #8]
Lloh7:
	adrp	x8, _GUC_MAX_MMIO_MSG_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GUC_MAX_MMIO_MSG_LEN@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	w8, [x19]
Lloh10:
	adrp	x9, _SOFT_SCRATCH_COUNT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SOFT_SCRATCH_COUNT@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_BUILD_BUG_ON
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
LBB0_5:
	mov	w23, #0
LBB0_6:
	str	w23, [x19, #4]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN11_SOFT_SCRATCH_COUNT,4,2   ; @GEN11_SOFT_SCRATCH_COUNT
	.comm	_GUC_MAX_MMIO_MSG_LEN,8,3       ; @GUC_MAX_MMIO_MSG_LEN
	.comm	_SOFT_SCRATCH_COUNT,8,3         ; @SOFT_SCRATCH_COUNT
	.comm	_FW_REG_READ,4,2                ; @FW_REG_READ
	.comm	_FW_REG_WRITE,4,2               ; @FW_REG_WRITE
.subsections_via_symbols
