	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a2xx_me_init
_a2xx_me_init:                          ## @a2xx_me_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	_CP_ME_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$18, %edx
	callq	_OUT_PKT3
	movq	%rbx, %rdi
	movl	$1023, %esi                     ## imm = 0x3FF
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	_REG_A2XX_RB_SURFACE_INFO@GOTPCREL(%rip), %rax
	movl	$-8192, %r15d                   ## imm = 0xE000
	movl	(%rax), %esi
	addl	%r15d, %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	_REG_A2XX_PA_SC_WINDOW_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	_REG_A2XX_VGT_MAX_VTX_INDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	_REG_A2XX_SQ_PROGRAM_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	_REG_A2XX_RB_DEPTHCONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	_REG_A2XX_PA_SU_POINT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	_REG_A2XX_PA_SC_LINE_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	_REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$-2147483264, %esi              ## imm = 0x80000180
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$536871410, %esi                ## imm = 0x200001F2
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	_CP_SET_PROTECTED_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_OUT_PKT3
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movq	(%r14), %rax
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_a2xx_idle                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CP_ME_INIT,4,2                 ## @CP_ME_INIT
	.comm	_REG_A2XX_RB_SURFACE_INFO,4,2   ## @REG_A2XX_RB_SURFACE_INFO
	.comm	_REG_A2XX_PA_SC_WINDOW_OFFSET,4,2 ## @REG_A2XX_PA_SC_WINDOW_OFFSET
	.comm	_REG_A2XX_VGT_MAX_VTX_INDX,4,2  ## @REG_A2XX_VGT_MAX_VTX_INDX
	.comm	_REG_A2XX_SQ_PROGRAM_CNTL,4,2   ## @REG_A2XX_SQ_PROGRAM_CNTL
	.comm	_REG_A2XX_RB_DEPTHCONTROL,4,2   ## @REG_A2XX_RB_DEPTHCONTROL
	.comm	_REG_A2XX_PA_SU_POINT_SIZE,4,2  ## @REG_A2XX_PA_SU_POINT_SIZE
	.comm	_REG_A2XX_PA_SC_LINE_CNTL,4,2   ## @REG_A2XX_PA_SC_LINE_CNTL
	.comm	_REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE,4,2 ## @REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE
	.comm	_CP_SET_PROTECTED_MODE,4,2      ## @CP_SET_PROTECTED_MODE
	.no_dead_strip	_a2xx_me_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a2xx_me_init
_a2xx_me_init:                          ; @a2xx_me_init
	.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
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _CP_ME_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CP_ME_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #18
	bl	_OUT_PKT3
	mov	x0, x20
	mov	w1, #1023
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #0
	bl	_OUT_RING
Lloh3:
	adrp	x8, _REG_A2XX_RB_SURFACE_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_A2XX_RB_SURFACE_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x20
	bl	_OUT_RING
Lloh6:
	adrp	x8, _REG_A2XX_PA_SC_WINDOW_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_A2XX_PA_SC_WINDOW_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sub	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x20
	bl	_OUT_RING
Lloh9:
	adrp	x8, _REG_A2XX_VGT_MAX_VTX_INDX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_A2XX_VGT_MAX_VTX_INDX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sub	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x20
	bl	_OUT_RING
Lloh12:
	adrp	x8, _REG_A2XX_SQ_PROGRAM_CNTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_A2XX_SQ_PROGRAM_CNTL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	sub	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x20
	bl	_OUT_RING
Lloh15:
	adrp	x8, _REG_A2XX_RB_DEPTHCONTROL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_A2XX_RB_DEPTHCONTROL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	sub	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x20
	bl	_OUT_RING
Lloh18:
	adrp	x8, _REG_A2XX_PA_SU_POINT_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REG_A2XX_PA_SU_POINT_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	sub	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x20
	bl	_OUT_RING
Lloh21:
	adrp	x8, _REG_A2XX_PA_SC_LINE_CNTL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_A2XX_PA_SC_LINE_CNTL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	sub	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x20
	bl	_OUT_RING
Lloh24:
	adrp	x8, _REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	sub	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x20
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #384
	movk	w1, #32768, lsl #16
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #1
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #498
	movk	w1, #8192, lsl #16
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x20
	mov	w1, #0
	bl	_OUT_RING
Lloh27:
	adrp	x8, _CP_SET_PROTECTED_MODE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CP_SET_PROTECTED_MODE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #1
	bl	_OUT_PKT3
	mov	x0, x20
	mov	w1, #1
	bl	_OUT_RING
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_a2xx_idle
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CP_ME_INIT,4,2                 ; @CP_ME_INIT
	.comm	_REG_A2XX_RB_SURFACE_INFO,4,2   ; @REG_A2XX_RB_SURFACE_INFO
	.comm	_REG_A2XX_PA_SC_WINDOW_OFFSET,4,2 ; @REG_A2XX_PA_SC_WINDOW_OFFSET
	.comm	_REG_A2XX_VGT_MAX_VTX_INDX,4,2  ; @REG_A2XX_VGT_MAX_VTX_INDX
	.comm	_REG_A2XX_SQ_PROGRAM_CNTL,4,2   ; @REG_A2XX_SQ_PROGRAM_CNTL
	.comm	_REG_A2XX_RB_DEPTHCONTROL,4,2   ; @REG_A2XX_RB_DEPTHCONTROL
	.comm	_REG_A2XX_PA_SU_POINT_SIZE,4,2  ; @REG_A2XX_PA_SU_POINT_SIZE
	.comm	_REG_A2XX_PA_SC_LINE_CNTL,4,2   ; @REG_A2XX_PA_SC_LINE_CNTL
	.comm	_REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE,4,2 ; @REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE
	.comm	_CP_SET_PROTECTED_MODE,4,2      ; @CP_SET_PROTECTED_MODE
	.no_dead_strip	_a2xx_me_init
.subsections_via_symbols
