	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_init
_dma_init:                              ## @dma_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_set_mr
	movq	_FSL_DMA_IP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movq	_FSL_DMA_MR_BWC@GOTPCREL(%rip), %rax
	movq	_FSL_DMA_MR_EIE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_FSL_DMA_MR_EOLNIE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_FSL_DMA_MR_PRC_RM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FSL_DMA_MR_EOTIE@GOTPCREL(%rip), %rax
LBB0_4:
	orl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_mr                         ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_DMA_IP_MASK,4,2            ## @FSL_DMA_IP_MASK
	.comm	_FSL_DMA_MR_BWC,4,2             ## @FSL_DMA_MR_BWC
	.comm	_FSL_DMA_MR_EIE,4,2             ## @FSL_DMA_MR_EIE
	.comm	_FSL_DMA_MR_EOLNIE,4,2          ## @FSL_DMA_MR_EOLNIE
	.comm	_FSL_DMA_MR_EOTIE,4,2           ## @FSL_DMA_MR_EOTIE
	.comm	_FSL_DMA_MR_PRC_RM,4,2          ## @FSL_DMA_MR_PRC_RM
	.no_dead_strip	_dma_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_init
_dma_init:                              ; @dma_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #0
	bl	_set_mr
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _FSL_DMA_IP_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FSL_DMA_IP_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _FSL_DMA_MR_BWC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSL_DMA_MR_BWC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FSL_DMA_MR_EIE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FSL_DMA_MR_EIE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _FSL_DMA_MR_EOLNIE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FSL_DMA_MR_EOLNIE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _FSL_DMA_MR_PRC_RM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FSL_DMA_MR_PRC_RM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _FSL_DMA_MR_EOTIE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FSL_DMA_MR_EOTIE@GOTPAGEOFF]
LBB0_4:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_mr
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_DMA_IP_MASK,4,2            ; @FSL_DMA_IP_MASK
	.comm	_FSL_DMA_MR_BWC,4,2             ; @FSL_DMA_MR_BWC
	.comm	_FSL_DMA_MR_EIE,4,2             ; @FSL_DMA_MR_EIE
	.comm	_FSL_DMA_MR_EOLNIE,4,2          ; @FSL_DMA_MR_EOLNIE
	.comm	_FSL_DMA_MR_EOTIE,4,2           ; @FSL_DMA_MR_EOTIE
	.comm	_FSL_DMA_MR_PRC_RM,4,2          ; @FSL_DMA_MR_PRC_RM
	.no_dead_strip	_dma_init
.subsections_via_symbols
