	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dma_base
_get_dma_base:                          ## @get_dma_base
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-1(%rdi), %eax
	movl	$3, %ecx
	subl	%edi, %ecx
	cmpl	$2, %eax
	cmovael	%edi, %ecx
	movq	_REG_DMA_BASE@GOTPCREL(%rip), %rdx
	shll	$3, %ecx
	leal	(%rcx,%rcx,2), %eax
	cltq
	addq	(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_DMA_BASE,8,3               ## @REG_DMA_BASE
	.no_dead_strip	_get_dma_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dma_base
_get_dma_base:                          ; @get_dma_base
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #1
	mov	w9, #3
	sub	w9, w9, w0
Lloh0:
	adrp	x10, _REG_DMA_BASE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _REG_DMA_BASE@GOTPAGEOFF]
	cmp	w8, #2
	csel	w8, w9, w0, lo
Lloh2:
	ldr	x9, [x10]
	add	w8, w8, w8, lsl #1
	lsl	w8, w8, #3
	add	x0, x9, w8, sxtw
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_DMA_BASE,8,3               ; @REG_DMA_BASE
	.no_dead_strip	_get_dma_base
.subsections_via_symbols
