	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_get_socclocks
_vega10_get_socclocks:                  ## @vega10_get_socclocks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r10
	testq	%r10, %r10
	je	LBB0_8
## %bb.1:
	movq	8(%rax), %rdi
	movq	8(%rsi), %r8
	movl	(%rsi), %r9d
	cmpq	$1, %r10
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	movq	%r10, %r11
	andq	$-2, %r11
	leaq	24(%r8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, -24(%rcx)
	movq	$0, -16(%rcx)
	movl	4(%rdi,%rdx,4), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, -8(%rcx)
	movq	$0, (%rcx)
	addq	$2, %rdx
	addq	$32, %rcx
	cmpq	%rdx, %r11
	jne	LBB0_4
LBB0_5:
	testb	$1, %r10b
	je	LBB0_7
## %bb.6:
	movl	(%rdi,%rdx,4), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	shlq	$4, %rdx
	movl	%eax, (%r8,%rdx)
	movq	$0, 8(%r8,%rdx)
LBB0_7:
	addl	%r10d, %r9d
	movl	%r9d, (%rsi)
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vega10_get_socclocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_get_socclocks
_vega10_get_socclocks:                  ; @vega10_get_socclocks
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8]
	ldr	x8, [x9]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x11, [x9, #8]
	ldr	x10, [x1, #8]
	ldr	w9, [x1]
	cmp	x8, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x12, #0
	b	LBB0_6
LBB0_3:
	and	x12, x8, #0xfffffffffffffffc
	add	x13, x10, #32
	add	x14, x11, #8
	mov	x15, x12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w16, w17, [x14, #-8]
	add	w16, w16, w16, lsl #2
	lsl	w16, w16, #1
	ldp	w0, w2, [x14], #16
	add	w17, w17, w17, lsl #2
	lsl	w17, w17, #1
	add	w0, w0, w0, lsl #2
	lsl	w0, w0, #1
	stur	w16, [x13, #-32]
	stur	w17, [x13, #-16]
	str	w0, [x13]
	add	w16, w2, w2, lsl #2
	lsl	w16, w16, #1
	str	w16, [x13, #16]
	stur	xzr, [x13, #-24]
	stur	xzr, [x13, #-8]
	str	xzr, [x13, #8]
	str	xzr, [x13, #24]
	add	x13, x13, #64
	subs	x15, x15, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x8, x12
	b.eq	LBB0_8
LBB0_6:
	sub	x13, x8, x12
	add	x11, x11, x12, lsl #2
	add	x10, x10, x12, lsl #4
	add	x10, x10, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11], #4
	add	w12, w12, w12, lsl #2
	lsl	w12, w12, #1
	stur	w12, [x10, #-8]
	str	xzr, [x10], #16
	subs	x13, x13, #1
	b.ne	LBB0_7
LBB0_8:
	add	w8, w9, w8
	str	w8, [x1]
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vega10_get_socclocks
.subsections_via_symbols
