	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmp_tdma_xlate
_mmp_tdma_xlate:                        ## @mmp_tdma_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
	movq	8(%rsi), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	cmpl	$1, (%rdi)
	jne	LBB0_4
## %bb.1:
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_TDMA_CHANNEL_NUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.2:
	movq	_mmp_tdma_filter_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rsi), %ecx
	leaq	-4(%rbp), %rdi
	leaq	-16(%rbp), %rdx
	movl	%eax, %esi
	callq	___dma_request_channel
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TDMA_CHANNEL_NUM,8,3           ## @TDMA_CHANNEL_NUM
	.comm	_mmp_tdma_filter_fn,4,2         ## @mmp_tdma_filter_fn
	.no_dead_strip	_mmp_tdma_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmp_tdma_xlate
_mmp_tdma_xlate:                        ; @mmp_tdma_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	x8, [x1, #8]
	ldr	w8, [x8]
	stur	w8, [x29, #-4]
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	str	x8, [sp]
Lloh0:
	adrp	x9, _TDMA_CHANNEL_NUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TDMA_CHANNEL_NUM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _mmp_tdma_filter_fn@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mmp_tdma_filter_fn@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w3, [x1]
	sub	x0, x29, #4
	mov	x2, sp
	mov	x1, x8
	bl	___dma_request_channel
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TDMA_CHANNEL_NUM,8,3           ; @TDMA_CHANNEL_NUM
	.comm	_mmp_tdma_filter_fn,4,2         ; @mmp_tdma_filter_fn
	.no_dead_strip	_mmp_tdma_xlate
.subsections_via_symbols
