	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gfx_v10_0_gpu_early_init
LCPI0_0:
	.long	8                               ## 0x8
	.long	32                              ## 0x20
	.long	256                             ## 0x100
	.long	1216                            ## 0x4c0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gfx_v10_0_gpu_early_init:              ## @gfx_v10_0_gpu_early_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	_gfx_v10_0_gfx_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rdi)
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movl	$0, 52(%rdi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [8,32,256,1216]
	movups	%xmm0, 8(%rdi)
	movq	_GC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_mmGB_ADDR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_RREG32_SOC15
	movl	%eax, 28(%rbx)
	movq	_GB_ADDR_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_NUM_PIPES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_REG_GET_FIELD
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	$1, %r14d
	movl	%edx, 32(%rbx)
	movl	%edx, 24(%rbx)
	movl	28(%rbx), %edi
	movl	(%r15), %esi
	movq	_MAX_COMPRESSED_FRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_REG_GET_FIELD
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%edx, 36(%rbx)
	movl	28(%rbx), %edi
	movl	(%r15), %esi
	movq	_NUM_RB_PER_SE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_REG_GET_FIELD
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%edx, 40(%rbx)
	movl	28(%rbx), %edi
	movl	(%r15), %esi
	movq	_NUM_SHADER_ENGINES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_REG_GET_FIELD
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%edx, 44(%rbx)
	movl	28(%rbx), %edi
	movl	(%r15), %esi
	movq	_PIPE_INTERLEAVE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_REG_GET_FIELD
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r14d
	movl	%r14d, 48(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_BUG
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_gfx_v10_0_gfx_funcs,4,2        ## @gfx_v10_0_gfx_funcs
	.comm	_GC,4,2                         ## @GC
	.comm	_mmGB_ADDR_CONFIG,4,2           ## @mmGB_ADDR_CONFIG
	.comm	_GB_ADDR_CONFIG,4,2             ## @GB_ADDR_CONFIG
	.comm	_NUM_PIPES,4,2                  ## @NUM_PIPES
	.comm	_MAX_COMPRESSED_FRAGS,4,2       ## @MAX_COMPRESSED_FRAGS
	.comm	_NUM_RB_PER_SE,4,2              ## @NUM_RB_PER_SE
	.comm	_NUM_SHADER_ENGINES,4,2         ## @NUM_SHADER_ENGINES
	.comm	_PIPE_INTERLEAVE_SIZE,4,2       ## @PIPE_INTERLEAVE_SIZE
	.no_dead_strip	_gfx_v10_0_gpu_early_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function gfx_v10_0_gpu_early_init
lCPI0_0:
	.long	8                               ; 0x8
	.long	32                              ; 0x20
	.long	256                             ; 0x100
	.long	1216                            ; 0x4c0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_gfx_v10_0_gpu_early_init:              ; @gfx_v10_0_gpu_early_init
	.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
Lloh0:
	adrp	x8, _gfx_v10_0_gfx_funcs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gfx_v10_0_gfx_funcs@GOTPAGEOFF]
	str	x8, [x0, #56]
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	mov	x19, x0
	str	wzr, [x0, #52]
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x0, #8]
Lloh4:
	adrp	x8, _GC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GC@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _mmGB_ADDR_CONFIG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mmGB_ADDR_CONFIG@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_RREG32_SOC15
	str	w0, [x19, #28]
Lloh10:
	adrp	x20, _GB_ADDR_CONFIG@GOTPAGE
Lloh11:
	ldr	x20, [x20, _GB_ADDR_CONFIG@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh12:
	adrp	x8, _NUM_PIPES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NUM_PIPES@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_REG_GET_FIELD
	mov	w21, #1
	lsl	w8, w21, w0
	str	w8, [x19, #32]
	str	w8, [x19, #24]
	ldr	w0, [x19, #28]
	ldr	w1, [x20]
Lloh15:
	adrp	x8, _MAX_COMPRESSED_FRAGS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAX_COMPRESSED_FRAGS@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_REG_GET_FIELD
	lsl	w8, w21, w0
	str	w8, [x19, #36]
	ldr	w0, [x19, #28]
	ldr	w1, [x20]
Lloh18:
	adrp	x8, _NUM_RB_PER_SE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NUM_RB_PER_SE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	bl	_REG_GET_FIELD
	lsl	w8, w21, w0
	str	w8, [x19, #40]
	ldr	w0, [x19, #28]
	ldr	w1, [x20]
Lloh21:
	adrp	x8, _NUM_SHADER_ENGINES@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NUM_SHADER_ENGINES@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_REG_GET_FIELD
	lsl	w8, w21, w0
	str	w8, [x19, #44]
	ldr	w0, [x19, #28]
	ldr	w1, [x20]
Lloh24:
	adrp	x8, _PIPE_INTERLEAVE_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PIPE_INTERLEAVE_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	bl	_REG_GET_FIELD
	add	w8, w0, #8
	lsl	w8, w21, w8
	str	w8, [x19, #48]
	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
	ret
LBB0_2:
	bl	_BUG
	brk	#0x1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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 AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_gfx_v10_0_gfx_funcs,4,2        ; @gfx_v10_0_gfx_funcs
	.comm	_GC,4,2                         ; @GC
	.comm	_mmGB_ADDR_CONFIG,4,2           ; @mmGB_ADDR_CONFIG
	.comm	_GB_ADDR_CONFIG,4,2             ; @GB_ADDR_CONFIG
	.comm	_NUM_PIPES,4,2                  ; @NUM_PIPES
	.comm	_MAX_COMPRESSED_FRAGS,4,2       ; @MAX_COMPRESSED_FRAGS
	.comm	_NUM_RB_PER_SE,4,2              ; @NUM_RB_PER_SE
	.comm	_NUM_SHADER_ENGINES,4,2         ; @NUM_SHADER_ENGINES
	.comm	_PIPE_INTERLEAVE_SIZE,4,2       ; @PIPE_INTERLEAVE_SIZE
	.no_dead_strip	_gfx_v10_0_gpu_early_init
.subsections_via_symbols
