	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10dmac_intr
_a10dmac_intr:                          ## @a10dmac_intr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_AWIN_DMA_IRQ_PEND_STA_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_DMA_READ
	movl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_DMA_WRITE
	movq	_AWIN_DMA_IRQ_END_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	andl	%ebx, %eax
	je	LBB0_8
## %bb.1:
	movq	_AWIN_DMA_IRQ_NDMA@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %eax
	andl	%ebx, %eax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	bsfl	%eax, %ecx
	btrl	%ecx, %ebx
	movl	%ecx, %eax
	shrl	%eax
	andl	$7, %eax
	movl	(%r12), %edx
	btl	%ecx, %edx
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rcx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	shlq	$4, %rax
	movq	8(%rcx,%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %rcx
	movl	(%rcx), %edi
	callq	*%rdx
	jmp	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AWIN_DMA_IRQ_PEND_STA_REG,4,2  ## @AWIN_DMA_IRQ_PEND_STA_REG
	.comm	_AWIN_DMA_IRQ_END_MASK,4,2      ## @AWIN_DMA_IRQ_END_MASK
	.comm	_AWIN_DMA_IRQ_NDMA,4,2          ## @AWIN_DMA_IRQ_NDMA
	.no_dead_strip	_a10dmac_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10dmac_intr
_a10dmac_intr:                          ; @a10dmac_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _AWIN_DMA_IRQ_PEND_STA_REG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AWIN_DMA_IRQ_PEND_STA_REG@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_DMA_READ
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_DMA_WRITE
Lloh2:
	adrp	x21, _AWIN_DMA_IRQ_END_MASK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AWIN_DMA_IRQ_END_MASK@GOTPAGEOFF]
	ldr	w8, [x21]
	ands	w8, w8, w20
	b.eq	LBB0_8
; %bb.1:
	mov	w22, #1
Lloh4:
	adrp	x23, _AWIN_DMA_IRQ_NDMA@GOTPAGE
Lloh5:
	ldr	x23, [x23, _AWIN_DMA_IRQ_NDMA@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bic	w20, w20, w24
	ldr	w8, [x21]
	ands	w8, w8, w20
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	rbit	w8, w8
	clz	w8, w8
	lsl	w24, w22, w8
	ubfx	w8, w8, #1, #3
	ldr	w9, [x23]
	tst	w9, w24
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, x8, lsl #4
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x9]
	blr	x8
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AWIN_DMA_IRQ_PEND_STA_REG,4,2  ; @AWIN_DMA_IRQ_PEND_STA_REG
	.comm	_AWIN_DMA_IRQ_END_MASK,4,2      ; @AWIN_DMA_IRQ_END_MASK
	.comm	_AWIN_DMA_IRQ_NDMA,4,2          ; @AWIN_DMA_IRQ_NDMA
	.no_dead_strip	_a10dmac_intr
.subsections_via_symbols
