	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imxdma_xlate
_imxdma_xlate:                          ## @imxdma_xlate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	(%rdi), %ecx
	movq	(%rsi), %rax
	movq	%rax, -8(%rbp)
	cmpl	$1, %ecx
	jne	LBB0_1
## %bb.2:
	movq	8(%rdi), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -16(%rbp)
	movl	(%rax), %edi
	movq	_imxdma_filter_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_dma_request_channel
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_imxdma_filter_fn,4,2           ## @imxdma_filter_fn
	.no_dead_strip	_imxdma_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imxdma_xlate
_imxdma_xlate:                          ; @imxdma_xlate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	w9, [x0]
	ldr	x8, [x1]
	str	x8, [sp, #8]
	cmp	w9, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
	str	w9, [sp]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _imxdma_filter_fn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _imxdma_filter_fn@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_dma_request_channel
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_imxdma_filter_fn,4,2           ; @imxdma_filter_fn
	.no_dead_strip	_imxdma_xlate
.subsections_via_symbols
