	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r600_scratch_init              ## -- Begin function r600_scratch_init
	.p2align	4, 0x90
_r600_scratch_init:                     ## @r600_scratch_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$7, (%rdi)
	movq	_SCRATCH_REG0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, 16(%rdi)
	movq	8(%rdi), %r8
	movq	24(%rdi), %rcx
	movl	$1, (%r8)
	movq	%rdx, (%rcx)
	cmpl	$2, (%rdi)
	jl	LBB0_3
## %bb.1:
	movl	$1, %edx
	movl	$4, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %esi
	andl	$-4, %esi
	addq	16(%rdi), %rsi
	movl	$1, (%r8,%rdx,4)
	movq	%rsi, (%rcx,%rdx,8)
	incq	%rdx
	movslq	(%rdi), %rsi
	addq	$4, %rax
	cmpq	%rsi, %rdx
	jl	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCRATCH_REG0,8,3               ## @SCRATCH_REG0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r600_scratch_init              ; -- Begin function r600_scratch_init
	.p2align	2
_r600_scratch_init:                     ; @r600_scratch_init
	.cfi_startproc
; %bb.0:
	mov	w8, #7
	str	w8, [x0]
Lloh0:
	adrp	x8, _SCRATCH_REG0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCRATCH_REG0@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
	str	x11, [x0, #16]
	ldr	x8, [x0, #8]
	ldr	x9, [x0, #24]
	mov	w10, #1
	str	w10, [x8]
	str	x11, [x9]
	ldr	w11, [x0]
	cmp	w11, #2
	b.lt	LBB0_3
; %bb.1:
	mov	w11, #4
	mov	w12, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x0, #16]
	str	w10, [x8, x12, lsl #2]
	and	x14, x11, #0xfffffffc
	add	x13, x13, x14
	str	x13, [x9, x12, lsl #3]
	add	x12, x12, #1
	ldrsw	x13, [x0]
	add	x11, x11, #4
	cmp	x12, x13
	b.lt	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCRATCH_REG0,8,3               ; @SCRATCH_REG0
.subsections_via_symbols
