	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function amdgpu_atomfirmware_get_clock_info
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_amdgpu_atomfirmware_get_clock_info
	.p2align	4, 0x90
_amdgpu_atomfirmware_get_clock_info:    ## @amdgpu_atomfirmware_get_clock_info
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	_atom_master_list_of_data_tables_v2_1@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_firmwareinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_index_into_master_table
	movq	(%rbx), %rdi
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-40(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_amdgpu_atom_parse_data_header
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %r14
	movq	-40(%rbp), %r12
	movl	8(%r12,%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, 24(%rbx)
	movl	4(%r12,%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, 16(%rbx)
	movq	24(%rbx), %rcx
	movq	%rcx, 136(%rbx)
	movq	%rax, 128(%rbx)
	movl	(%r12,%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%rbx)
	xorl	%r14d, %r14d
LBB0_2:
	movl	(%r15), %edi
	movq	_smu_info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_index_into_master_table
	movq	(%rbx), %rdi
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-40(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_amdgpu_atom_parse_data_header
	movabsq	$1095216660484, %r12            ## imm = 0xFF00000004
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	-40(%rbp), %rcx
	movl	(%rcx,%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 120(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,2,255]
	movups	%xmm0, 80(%rbx)
	movq	%r12, 96(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 104(%rbx)
	xorl	%r14d, %r14d
LBB0_4:
	movl	(%r15), %edi
	movq	_umc_info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_index_into_master_table
	movq	(%rbx), %rdi
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-40(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_amdgpu_atom_parse_data_header
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	-40(%rbp), %rcx
	movl	(%rcx,%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 72(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,2,255]
	movups	%xmm0, 32(%rbx)
	movq	%r12, 48(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_atom_master_list_of_data_tables_v2_1,4,2 ## @atom_master_list_of_data_tables_v2_1
	.comm	_firmwareinfo,4,2               ## @firmwareinfo
	.comm	_smu_info,4,2                   ## @smu_info
	.comm	_umc_info,4,2                   ## @umc_info
.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 amdgpu_atomfirmware_get_clock_info
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	255                             ; 0xff
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	4                               ; 0x4
	.long	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_amdgpu_atomfirmware_get_clock_info
	.p2align	2
_amdgpu_atomfirmware_get_clock_info:    ; @amdgpu_atomfirmware_get_clock_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x21, _atom_master_list_of_data_tables_v2_1@GOTPAGE
Lloh4:
	ldr	x21, [x21, _atom_master_list_of_data_tables_v2_1@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _firmwareinfo@GOTPAGE
Lloh6:
	ldr	x8, [x8, _firmwareinfo@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_get_index_into_master_table
	mov	x1, x0
	ldr	x0, [x19]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x5, sp
	mov	x2, #0
	bl	_amdgpu_atom_parse_data_header
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [sp]
	add	x20, x9, x8
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	str	x0, [x19, #24]
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	str	x0, [x19, #16]
	ldr	x8, [x19, #24]
	stp	x0, x8, [x19, #128]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	mov	w20, #0
	str	x0, [x19, #8]
	b	LBB0_3
LBB0_2:
	neg	w20, w20
LBB0_3:
	ldr	w0, [x21]
Lloh8:
	adrp	x8, _smu_info@GOTPAGE
Lloh9:
	ldr	x8, [x8, _smu_info@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_get_index_into_master_table
	mov	x1, x0
	ldr	x0, [x19]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x5, sp
	mov	x2, #0
	bl	_amdgpu_atom_parse_data_header
	adrp	x23, lCPI0_0@PAGE
	adrp	x22, lCPI0_1@PAGE
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [sp]
	ldr	w0, [x9, x8]
	bl	_le32_to_cpu
	mov	w20, #0
	stp	xzr, x0, [x19, #112]
	ldr	q0, [x23, lCPI0_0@PAGEOFF]
	str	q0, [x19, #80]
	ldr	d0, [x22, lCPI0_1@PAGEOFF]
	str	d0, [x19, #96]
	str	xzr, [x19, #104]
LBB0_5:
	ldr	w0, [x21]
Lloh11:
	adrp	x8, _umc_info@GOTPAGE
Lloh12:
	ldr	x8, [x8, _umc_info@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_get_index_into_master_table
	mov	x1, x0
	ldr	x0, [x19]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x5, sp
	mov	x2, #0
	bl	_amdgpu_atom_parse_data_header
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [sp]
	ldr	w0, [x9, x8]
	bl	_le32_to_cpu
	mov	w20, #0
	stp	xzr, x0, [x19, #64]
	ldr	q0, [x23, lCPI0_0@PAGEOFF]
	str	q0, [x19, #32]
	ldr	d0, [x22, lCPI0_1@PAGEOFF]
	str	d0, [x19, #48]
	str	xzr, [x19, #56]
LBB0_7:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_atom_master_list_of_data_tables_v2_1,4,2 ; @atom_master_list_of_data_tables_v2_1
	.comm	_firmwareinfo,4,2               ; @firmwareinfo
	.comm	_smu_info,4,2                   ; @smu_info
	.comm	_umc_info,4,2                   ; @umc_info
.subsections_via_symbols
