	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_xlate
_sdma_xlate:                            ## @sdma_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	$32, %rsp
	movq	8(%rsi), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	cmpl	$3, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	movl	%ecx, -16(%rbp)
	movl	4(%rax), %ecx
	movl	%ecx, -20(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	$0, -32(%rbp)
	movq	_sdma_filter_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rsi), %ecx
	leaq	-4(%rbp), %rdi
	leaq	-32(%rbp), %rdx
	movl	%eax, %esi
	callq	___dma_request_channel
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sdma_filter_fn,4,2             ## @sdma_filter_fn
	.no_dead_strip	_sdma_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_xlate
_sdma_xlate:                            ; @sdma_xlate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1, #8]
	ldr	w8, [x8]
	stur	w8, [x29, #-4]
	ldr	w8, [x0]
	cmp	w8, #3
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	str	w9, [sp, #16]
	ldr	w9, [x8, #4]
	str	w9, [sp, #12]
	ldr	w8, [x8, #8]
	str	w8, [sp, #8]
	str	xzr, [sp]
Lloh0:
	adrp	x8, _sdma_filter_fn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sdma_filter_fn@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w3, [x1]
	sub	x0, x29, #4
	mov	x2, sp
	mov	x1, x8
	bl	___dma_request_channel
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sdma_filter_fn,4,2             ; @sdma_filter_fn
	.no_dead_strip	_sdma_xlate
.subsections_via_symbols
