	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_dma_sirfsoc_xlate
_of_dma_sirfsoc_xlate:                  ## @of_dma_sirfsoc_xlate
	.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
	movl	(%rax), %edi
	movq	_SIRFSOC_DMA_CHANNELS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jae	LBB0_1
## %bb.2:
	movq	(%rsi), %rax
	shlq	$2, %rdi
	addq	(%rax), %rdi
	popq	%rbp
	jmp	_dma_get_slave_channel          ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIRFSOC_DMA_CHANNELS,4,2       ## @SIRFSOC_DMA_CHANNELS
	.no_dead_strip	_of_dma_sirfsoc_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_dma_sirfsoc_xlate
_of_dma_sirfsoc_xlate:                  ; @of_dma_sirfsoc_xlate
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _SIRFSOC_DMA_CHANNELS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIRFSOC_DMA_CHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_2
; %bb.1:
	ldr	x9, [x1]
	ldr	x9, [x9]
	add	x0, x9, x8, lsl #2
	b	_dma_get_slave_channel
LBB0_2:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIRFSOC_DMA_CHANNELS,4,2       ; @SIRFSOC_DMA_CHANNELS
	.no_dead_strip	_of_dma_sirfsoc_xlate
.subsections_via_symbols
