	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdoa_irq_handler
_vdoa_irq_handler:                      ## @vdoa_irq_handler
	.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	%rsi, %rbx
	movq	_VDOAIE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	16(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	_VDOAIST@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movl	%eax, %r15d
	movq	(%r12), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_VDOAIST_TERR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_VDOASR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_VDOASR_ERRW@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_6
LBB0_1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_7
LBB0_4:
	movq	_VDOAIST_EOT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_warn
LBB0_6:
	incl	4(%r14)
	movq	%r14, %rdi
	callq	_complete
LBB0_7:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VDOAIE,8,3                     ## @VDOAIE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Instance released before the end of transaction\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_VDOAIST,8,3                    ## @VDOAIST
	.comm	_VDOAIST_TERR,4,2               ## @VDOAIST_TERR
	.comm	_VDOASR,8,3                     ## @VDOASR
	.comm	_VDOASR_ERRW,4,2                ## @VDOASR_ERRW
L_.str.1:                               ## @.str.1
	.asciz	"AXI %s error\n"

L_.str.2:                               ## @.str.2
	.asciz	"write"

L_.str.3:                               ## @.str.3
	.asciz	"read"

	.comm	_VDOAIST_EOT,4,2                ## @VDOAIST_EOT
L_.str.4:                               ## @.str.4
	.asciz	"Spurious interrupt\n"

	.no_dead_strip	_vdoa_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdoa_irq_handler
_vdoa_irq_handler:                      ; @vdoa_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _VDOAIE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VDOAIE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x19, [x20, #16]
	cbz	x19, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x22, _VDOAIST@GOTPAGE
Lloh4:
	ldr	x22, [x22, _VDOAIST@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
Lloh5:
	adrp	x8, _VDOAIST_TERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VDOAIST_TERR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
Lloh8:
	adrp	x9, _VDOASR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VDOASR@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
Lloh11:
	adrp	x8, _VDOASR_ERRW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VDOASR_ERRW@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x8]
	ldr	w8, [x20]
Lloh14:
	adrp	x10, l_.str.2@PAGE
Lloh15:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh16:
	adrp	x11, l_.str.3@PAGE
Lloh17:
	add	x11, x11, l_.str.3@PAGEOFF
	tst	w9, w0
	csel	x2, x11, x10, eq
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_dev_err
	b	LBB0_6
LBB0_3:
	ldr	w0, [x20]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	b	LBB0_7
LBB0_4:
Lloh22:
	adrp	x8, _VDOAIST_EOT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VDOAIST_EOT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x20]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_warn
LBB0_6:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_complete
LBB0_7:
Lloh27:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_VDOAIE,8,3                     ; @VDOAIE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Instance released before the end of transaction\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_VDOAIST,8,3                    ; @VDOAIST
	.comm	_VDOAIST_TERR,4,2               ; @VDOAIST_TERR
	.comm	_VDOASR,8,3                     ; @VDOASR
	.comm	_VDOASR_ERRW,4,2                ; @VDOASR_ERRW
l_.str.1:                               ; @.str.1
	.asciz	"AXI %s error\n"

l_.str.2:                               ; @.str.2
	.asciz	"write"

l_.str.3:                               ; @.str.3
	.asciz	"read"

	.comm	_VDOAIST_EOT,4,2                ; @VDOAIST_EOT
l_.str.4:                               ; @.str.4
	.asciz	"Spurious interrupt\n"

	.no_dead_strip	_vdoa_irq_handler
.subsections_via_symbols
