	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_sdma_base_addr
_get_sdma_base_addr:                    ## @get_sdma_base_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_SDMA1_REGISTER_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	(%rdi), %eax
	movq	_KFD_VI_SDMA_QUEUE_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	imull	4(%rdi), %ebx
	addl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_debug
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDMA1_REGISTER_OFFSET,4,2      ## @SDMA1_REGISTER_OFFSET
	.comm	_KFD_VI_SDMA_QUEUE_OFFSET,4,2   ## @KFD_VI_SDMA_QUEUE_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sdma base address: 0x%x\n"

	.no_dead_strip	_get_sdma_base_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_sdma_base_addr
_get_sdma_base_addr:                    ; @get_sdma_base_addr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _SDMA1_REGISTER_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDMA1_REGISTER_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x0]
	mul	w8, w8, w9
Lloh3:
	adrp	x9, _KFD_VI_SDMA_QUEUE_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KFD_VI_SDMA_QUEUE_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	madd	w19, w9, w10, w8
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDMA1_REGISTER_OFFSET,4,2      ; @SDMA1_REGISTER_OFFSET
	.comm	_KFD_VI_SDMA_QUEUE_OFFSET,4,2   ; @KFD_VI_SDMA_QUEUE_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sdma base address: 0x%x\n"

	.no_dead_strip	_get_sdma_base_addr
.subsections_via_symbols
