	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu7_notify_cac_buffer_info
_smu7_notify_cac_buffer_info:           ## @smu7_notify_cac_buffer_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movl	(%rdi), %r15d
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r14), %r13
	movq	_SMU_SoftRegisters@GOTPCREL(%rip), %rcx
	movq	_DRAM_LOG_ADDR_H@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rcx), %esi
	callq	_smum_get_offsetof
	addq	%rax, %r13
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_cgs_write_ind_register
	movl	(%r12), %r13d
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r14), %rbx
	movq	_SMU_SoftRegisters@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRAM_LOG_ADDR_L@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_smum_get_offsetof
	addq	%rax, %rbx
	movl	%r13d, %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_cgs_write_ind_register
	movl	(%r12), %r15d
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%r14), %rbx
	movq	_SMU_SoftRegisters@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRAM_LOG_PHY_ADDR_H@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_smum_get_offsetof
	addq	%rax, %rbx
	movl	%r15d, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_cgs_write_ind_register
	movl	(%r12), %r15d
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%r14), %rbx
	movq	_SMU_SoftRegisters@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRAM_LOG_PHY_ADDR_L@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_smum_get_offsetof
	addq	%rax, %rbx
	movl	%r15d, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	callq	_cgs_write_ind_register
	movl	(%r12), %r15d
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%r14), %rbx
	movq	_SMU_SoftRegisters@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRAM_LOG_BUFF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_smum_get_offsetof
	addq	%rax, %rbx
	movl	%r15d, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_cgs_write_ind_register
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CGS_IND_REG__SMC,4,2           ## @CGS_IND_REG__SMC
	.comm	_SMU_SoftRegisters,4,2          ## @SMU_SoftRegisters
	.comm	_DRAM_LOG_ADDR_H,4,2            ## @DRAM_LOG_ADDR_H
	.comm	_DRAM_LOG_ADDR_L,4,2            ## @DRAM_LOG_ADDR_L
	.comm	_DRAM_LOG_PHY_ADDR_H,4,2        ## @DRAM_LOG_PHY_ADDR_H
	.comm	_DRAM_LOG_PHY_ADDR_L,4,2        ## @DRAM_LOG_PHY_ADDR_L
	.comm	_DRAM_LOG_BUFF_SIZE,4,2         ## @DRAM_LOG_BUFF_SIZE
	.no_dead_strip	_smu7_notify_cac_buffer_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu7_notify_cac_buffer_info
_smu7_notify_cac_buffer_info:           ; @smu7_notify_cac_buffer_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	w1, w5, [sp, #8]                ; 8-byte Folded Spill
	mov	x23, x4
	mov	x24, x3
	mov	x22, x2
	mov	x20, x0
	ldr	x27, [x0, #8]
	ldr	w25, [x0]
Lloh0:
	adrp	x28, _CGS_IND_REG__SMC@GOTPAGE
Lloh1:
	ldr	x28, [x28, _CGS_IND_REG__SMC@GOTPAGEOFF]
	ldr	w26, [x28]
	ldr	x21, [x27]
Lloh2:
	adrp	x19, _SMU_SoftRegisters@GOTPAGE
Lloh3:
	ldr	x19, [x19, _SMU_SoftRegisters@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh4:
	adrp	x8, _DRAM_LOG_ADDR_H@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DRAM_LOG_ADDR_H@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_smum_get_offsetof
	add	x2, x0, x21
	mov	x0, x25
	mov	x1, x26
	mov	x3, x23
	bl	_cgs_write_ind_register
	ldr	w23, [x20]
	ldr	w25, [x28]
	ldr	x21, [x27]
	ldr	w1, [x19]
Lloh7:
	adrp	x8, _DRAM_LOG_ADDR_L@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DRAM_LOG_ADDR_L@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_smum_get_offsetof
	add	x2, x0, x21
	mov	x0, x23
	mov	x1, x25
	mov	x3, x24
	bl	_cgs_write_ind_register
	ldr	w23, [x20]
	ldr	w24, [x28]
	ldr	x21, [x27]
	ldr	w1, [x19]
Lloh10:
	adrp	x8, _DRAM_LOG_PHY_ADDR_H@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DRAM_LOG_PHY_ADDR_H@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_smum_get_offsetof
	add	x2, x0, x21
	mov	x0, x23
	mov	x1, x24
	mov	x3, x22
	bl	_cgs_write_ind_register
	ldr	w22, [x20]
	ldr	w23, [x28]
	ldr	x21, [x27]
	ldr	w1, [x19]
Lloh13:
	adrp	x8, _DRAM_LOG_PHY_ADDR_L@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DRAM_LOG_PHY_ADDR_L@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_smum_get_offsetof
	add	x2, x0, x21
	mov	x0, x22
	mov	x1, x23
	ldr	w3, [sp, #8]                    ; 4-byte Folded Reload
	bl	_cgs_write_ind_register
	ldr	w21, [x20]
	ldr	w22, [x28]
	ldr	x23, [x27]
	ldr	w1, [x19]
Lloh16:
	adrp	x8, _DRAM_LOG_BUFF_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DRAM_LOG_BUFF_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_smum_get_offsetof
	add	x2, x0, x23
	mov	x0, x21
	mov	x1, x22
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	bl	_cgs_write_ind_register
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CGS_IND_REG__SMC,4,2           ; @CGS_IND_REG__SMC
	.comm	_SMU_SoftRegisters,4,2          ; @SMU_SoftRegisters
	.comm	_DRAM_LOG_ADDR_H,4,2            ; @DRAM_LOG_ADDR_H
	.comm	_DRAM_LOG_ADDR_L,4,2            ; @DRAM_LOG_ADDR_L
	.comm	_DRAM_LOG_PHY_ADDR_H,4,2        ; @DRAM_LOG_PHY_ADDR_H
	.comm	_DRAM_LOG_PHY_ADDR_L,4,2        ; @DRAM_LOG_PHY_ADDR_L
	.comm	_DRAM_LOG_BUFF_SIZE,4,2         ; @DRAM_LOG_BUFF_SIZE
	.no_dead_strip	_smu7_notify_cac_buffer_info
.subsections_via_symbols
