	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function goya_init_mme_cmdq
_goya_init_mme_cmdq:                    ## @goya_init_mme_cmdq
	.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	_CFG_BASE@GOTPCREL(%rip), %rbx
	movq	_mmSYNC_MNGR_MON_PAY_ADDRL_0@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_lower_32_bits
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_upper_32_bits
	movl	%eax, %r13d
	movq	_mmSYNC_MNGR_SOB_OBJ_0@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_lower_32_bits
	movl	%eax, %r15d
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_upper_32_bits
	movl	%eax, %r14d
	movq	_mmGIC_DISTRIBUTOR__5_GICD_SETSPI_NSR@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rbx), %rdi
	callq	_lower_32_bits
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rdi
	addq	(%rbx), %rdi
	callq	_upper_32_bits
	movl	%eax, %ebx
	movq	_mmMME_CMDQ_CP_MSG_BASE0_ADDR_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_WREG32
	movq	_mmMME_CMDQ_CP_MSG_BASE0_ADDR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_WREG32
	movq	_mmMME_CMDQ_CP_MSG_BASE1_ADDR_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_WREG32
	movq	_mmMME_CMDQ_CP_MSG_BASE1_ADDR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_WREG32
	movq	_mmMME_CMDQ_CQ_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1310740, %esi                  ## imm = 0x140014
	callq	_WREG32
	movq	_mmMME_CMDQ_GLBL_ERR_ADDR_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_WREG32
	movq	_mmMME_CMDQ_GLBL_ERR_ADDR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_WREG32
	movq	_mmMME_CMDQ_GLBL_ERR_WDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GOYA_ASYNC_EVENT_ID_MME_CMDQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WREG32
	movq	_mmMME_CMDQ_GLBL_ERR_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMDQ_MME_ERR_MSG_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WREG32
	movq	_mmMME_CMDQ_GLBL_PROT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMDQ_MME_ERR_PROT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WREG32
	movq	_mmMME_CMDQ_GLBL_CFG0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMDQ_MME_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG_BASE,8,3                   ## @CFG_BASE
	.comm	_mmSYNC_MNGR_MON_PAY_ADDRL_0,8,3 ## @mmSYNC_MNGR_MON_PAY_ADDRL_0
	.comm	_mmSYNC_MNGR_SOB_OBJ_0,8,3      ## @mmSYNC_MNGR_SOB_OBJ_0
	.comm	_mmGIC_DISTRIBUTOR__5_GICD_SETSPI_NSR,8,3 ## @mmGIC_DISTRIBUTOR__5_GICD_SETSPI_NSR
	.comm	_MME_QMAN_BASE_OFFSET,8,3       ## @MME_QMAN_BASE_OFFSET
	.comm	_mmMME_CMDQ_CP_MSG_BASE0_ADDR_LO,4,2 ## @mmMME_CMDQ_CP_MSG_BASE0_ADDR_LO
	.comm	_mmMME_CMDQ_CP_MSG_BASE0_ADDR_HI,4,2 ## @mmMME_CMDQ_CP_MSG_BASE0_ADDR_HI
	.comm	_mmMME_CMDQ_CP_MSG_BASE1_ADDR_LO,4,2 ## @mmMME_CMDQ_CP_MSG_BASE1_ADDR_LO
	.comm	_mmMME_CMDQ_CP_MSG_BASE1_ADDR_HI,4,2 ## @mmMME_CMDQ_CP_MSG_BASE1_ADDR_HI
	.comm	_mmMME_CMDQ_CQ_CFG1,4,2         ## @mmMME_CMDQ_CQ_CFG1
	.comm	_mmMME_CMDQ_GLBL_ERR_ADDR_LO,4,2 ## @mmMME_CMDQ_GLBL_ERR_ADDR_LO
	.comm	_mmMME_CMDQ_GLBL_ERR_ADDR_HI,4,2 ## @mmMME_CMDQ_GLBL_ERR_ADDR_HI
	.comm	_mmMME_CMDQ_GLBL_ERR_WDATA,4,2  ## @mmMME_CMDQ_GLBL_ERR_WDATA
	.comm	_GOYA_ASYNC_EVENT_ID_MME_CMDQ,4,2 ## @GOYA_ASYNC_EVENT_ID_MME_CMDQ
	.comm	_mmMME_CMDQ_GLBL_ERR_CFG,4,2    ## @mmMME_CMDQ_GLBL_ERR_CFG
	.comm	_CMDQ_MME_ERR_MSG_EN,4,2        ## @CMDQ_MME_ERR_MSG_EN
	.comm	_mmMME_CMDQ_GLBL_PROT,4,2       ## @mmMME_CMDQ_GLBL_PROT
	.comm	_CMDQ_MME_ERR_PROT,4,2          ## @CMDQ_MME_ERR_PROT
	.comm	_mmMME_CMDQ_GLBL_CFG0,4,2       ## @mmMME_CMDQ_GLBL_CFG0
	.comm	_CMDQ_MME_ENABLE,4,2            ## @CMDQ_MME_ENABLE
	.no_dead_strip	_goya_init_mme_cmdq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function goya_init_mme_cmdq
_goya_init_mme_cmdq:                    ; @goya_init_mme_cmdq
	.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
Lloh0:
	adrp	x24, _CFG_BASE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CFG_BASE@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x20, _mmSYNC_MNGR_MON_PAY_ADDRL_0@GOTPAGE
Lloh3:
	ldr	x20, [x20, _mmSYNC_MNGR_MON_PAY_ADDRL_0@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_lower_32_bits
	mov	x19, x0
	ldr	x8, [x24]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_upper_32_bits
	mov	x20, x0
	ldr	x8, [x24]
Lloh4:
	adrp	x22, _mmSYNC_MNGR_SOB_OBJ_0@GOTPAGE
Lloh5:
	ldr	x22, [x22, _mmSYNC_MNGR_SOB_OBJ_0@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_lower_32_bits
	mov	x21, x0
	ldr	x8, [x24]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_upper_32_bits
	mov	x22, x0
	ldr	x8, [x24]
Lloh6:
	adrp	x25, _mmGIC_DISTRIBUTOR__5_GICD_SETSPI_NSR@GOTPAGE
Lloh7:
	ldr	x25, [x25, _mmGIC_DISTRIBUTOR__5_GICD_SETSPI_NSR@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x0, x9, x8
	bl	_lower_32_bits
	mov	x23, x0
	ldr	x8, [x24]
	ldr	x9, [x25]
	add	x0, x9, x8
	bl	_upper_32_bits
	mov	x24, x0
Lloh8:
	adrp	x8, _mmMME_CMDQ_CP_MSG_BASE0_ADDR_LO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mmMME_CMDQ_CP_MSG_BASE0_ADDR_LO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_WREG32
Lloh11:
	adrp	x8, _mmMME_CMDQ_CP_MSG_BASE0_ADDR_HI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mmMME_CMDQ_CP_MSG_BASE0_ADDR_HI@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_WREG32
Lloh14:
	adrp	x8, _mmMME_CMDQ_CP_MSG_BASE1_ADDR_LO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mmMME_CMDQ_CP_MSG_BASE1_ADDR_LO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_WREG32
Lloh17:
	adrp	x8, _mmMME_CMDQ_CP_MSG_BASE1_ADDR_HI@GOTP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_MME_ERR_MSG_EN@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_WREG32
Lloh41:
	adrp	x8, _mmMME_CMDQ_GLBL_PROT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _mmMME_CMDQ_GLBL_PROT@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x8, _CMDQ_MME_ERR_PROT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CMDQ_MME_ERR_PROT@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	bl	_WREG32
Lloh47:
	adrp	x8, _mmMME_CMDQ_GLBL_CFG0@GOTPAGE
Lloh48:
	ldr	x8, [x8, _mmMME_CMDQ_GLBL_CFG0@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x8, _CMDQ_MME_ENABLE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _CMDQ_MME_ENABLE@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	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	_WREG32
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG_BASE,8,3                   ; @CFG_BASE
	.comm	_mmSYNC_MNGR_MON_PAY_ADDRL_0,8,3 ; @mmSYNC_MNGR_MON_PAY_ADDRL_0
	.comm	_mmSYNC_MNGR_SOB_OBJ_0,8,3      ; @mmSYNC_MNGR_SOB_OBJ_0
	.comm	_mmGIC_DISTRIBUTOR__5_GICD_SETSPI_NSR,8,3 ; @mmGIC_DISTRIBUTOR__5_GICD_SETSPI_NSR
	.comm	_MME_QMAN_BASE_OFFSET,8,3       ; @MME_QMAN_BASE_OFFSET
	.comm	_mmMME_CMDQ_CP_MSG_BASE0_ADDR_LO,4,2 ; @mmMME_CMDQ_CP_MSG_BASE0_ADDR_LO
	.comm	_mmMME_CMDQ_CP_MSG_BASE0_ADDR_HI,4,2 ; @mmMME_CMDQ_CP_MSG_BASE0_ADDR_HI
	.comm	_mmMME_CMDQ_CP_MSG_BASE1_ADDR_LO,4,2 ; @mmMME_CMDQ_CP_MSG_BASE1_ADDR_LO
	.comm	_mmMME_CMDQ_CP_MSG_BASE1_ADDR_HI,4,2 ; @mmMME_CMDQ_CP_MSG_BASE1_ADDR_HI
	.comm	_mmMME_CMDQ_CQ_CFG1,4,2         ; @mmMME_CMDQ_CQ_CFG1
	.comm	_mmMME_CMDQ_GLBL_ERR_ADDR_LO,4,2 ; @mmMME_CMDQ_GLBL_ERR_ADDR_LO
	.comm	_mmMME_CMDQ_GLBL_ERR_ADDR_HI,4,2 ; @mmMME_CMDQ_GLBL_ERR_ADDR_HI
	.comm	_mmMME_CMDQ_GLBL_ERR_WDATA,4,2  ; @mmMME_CMDQ_GLBL_ERR_WDATA
	.comm	_GOYA_ASYNC_EVENT_ID_MME_CMDQ,4,2 ; @GOYA_ASYNC_EVENT_ID_MME_CMDQ
	.comm	_mmMME_CMDQ_GLBL_ERR_CFG,4,2    ; @mmMME_CMDQ_GLBL_ERR_CFG
	.comm	_CMDQ_MME_ERR_MSG_EN,4,2        ; @CMDQ_MME_ERR_MSG_EN
	.comm	_mmMME_CMDQ_GLBL_PROT,4,2       ; @mmMME_CMDQ_GLBL_PROT
	.comm	_CMDQ_MME_ERR_PROT,4,2          ; @CMDQ_MME_ERR_PROT
	.comm	_mmMME_CMDQ_GLBL_CFG0,4,2       ; @mmMME_CMDQ_GLBL_CFG0
	.comm	_CMDQ_MME_ENABLE,4,2            ; @CMDQ_MME_ENABLE
	.no_dead_strip	_goya_init_mme_cmdq
.subsections_via_symbols
