	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_dma_do_interrupt
_fsl_dma_do_interrupt:                  ## @fsl_dma_do_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_FSL_DMA_BIG_ENDIAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	16(%rsi), %edi
	testl	%eax, (%rsi)
	je	LBB0_2
## %bb.1:
	callq	_in_be32
	jmp	LBB0_3
LBB0_2:
	callq	_in_le32
LBB0_3:
	bsfl	%eax, %ecx
	shrl	$3, %ecx
	xorl	$3, %ecx
	testl	%eax, %eax
	movl	$4, %eax
	cmovnel	%ecx, %eax
	movq	8(%rbx), %rcx
	movq	(%rcx,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fsl_dma_chan_do_interrupt      ## TAILCALL
LBB0_4:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_DMA_BIG_ENDIAN,4,2         ## @FSL_DMA_BIG_ENDIAN
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_fsl_dma_do_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_dma_do_interrupt
_fsl_dma_do_interrupt:                  ; @fsl_dma_do_interrupt
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _FSL_DMA_BIG_ENDIAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FSL_DMA_BIG_ENDIAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w0, [x1, #16]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_in_be32
	b	LBB0_3
LBB0_2:
	bl	_in_le32
LBB0_3:
	rbit	w8, w0
	clz	w8, w8
	lsr	w8, w8, #3
	eor	w8, w8, #0x3
	mov	w9, #4
	cmp	w0, #0
	csel	w8, w9, w8, eq
	ldr	x9, [x20, #8]
	ldr	x1, [x9, w8, uxtw #3]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fsl_dma_chan_do_interrupt
LBB0_5:
Lloh3:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_DMA_BIG_ENDIAN,4,2         ; @FSL_DMA_BIG_ENDIAN
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_fsl_dma_do_interrupt
.subsections_via_symbols
