	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh_veu_isr
_sh_veu_isr:                            ## @sh_veu_isr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	_VEU_EVTR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_sh_veu_reg_read
	movl	%eax, %ebx
	movq	_IRQ_NONE@GOTPCREL(%rip), %r13
	testb	$1, %bl
	je	LBB0_4
## %bb.1:
	movq	_VEU_EIER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_sh_veu_reg_write
	movq	_VEU_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_sh_veu_reg_write
	movl	(%r14), %esi
	andl	$-2, %ebx
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_sh_veu_reg_write
	movl	8(%r12), %edi
	callq	_v4l2_m2m_dst_buf_remove
	movq	%rax, %r14
	movl	8(%r12), %edi
	callq	_v4l2_m2m_src_buf_remove
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	%rax, %r15
	movl	8(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	andl	(%r14), %ecx
	movl	%ecx, (%r14)
	movl	(%rax), %eax
	andl	(%r15), %eax
	orl	%ecx, %eax
	movl	%eax, (%r14)
	movl	4(%r15), %eax
	movl	%eax, 4(%r14)
	leaq	4(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	_VB2_BUF_STATE_DONE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_v4l2_m2m_buf_done
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_v4l2_m2m_buf_done
	movq	%rbx, %rdi
	callq	_spin_unlock
	incl	(%r12)
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %r13
LBB0_4:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VEU_EVTR,4,2                   ## @VEU_EVTR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_VEU_EIER,4,2                   ## @VEU_EIER
	.comm	_VEU_STR,4,2                    ## @VEU_STR
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK,4,2 ## @V4L2_BUF_FLAG_TSTAMP_SRC_MASK
	.comm	_VB2_BUF_STATE_DONE,4,2         ## @VB2_BUF_STATE_DONE
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.no_dead_strip	_sh_veu_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh_veu_isr
_sh_veu_isr:                            ; @sh_veu_isr
	.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, x1
Lloh0:
	adrp	x21, _VEU_EVTR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VEU_EVTR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sh_veu_reg_read
	tbnz	w0, #0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x20, x0
Lloh4:
	adrp	x8, _VEU_EIER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VEU_EIER@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_sh_veu_reg_write
Lloh7:
	adrp	x8, _VEU_STR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VEU_STR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_sh_veu_reg_write
	ldr	w1, [x21]
	and	w2, w20, #0xfffffffe
	mov	x0, x19
	bl	_sh_veu_reg_write
	ldr	w0, [x19, #8]
	bl	_v4l2_m2m_dst_buf_remove
	mov	x20, x0
	ldr	w0, [x19, #8]
	bl	_v4l2_m2m_src_buf_remove
Lloh10:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.3:
	cbz	x20, LBB0_5
; %bb.4:
	mov	x21, x0
Lloh12:
	adrp	x8, _V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	w10, [x20]
	bic	w9, w10, w9
	str	w9, [x20]
	ldr	w10, [x0]
	ldr	w8, [x8]
	and	w8, w8, w10
	orr	w8, w8, w9
	str	w8, [x20]
	ldur	d0, [x0, #4]
	stur	d0, [x20, #4]
	add	x22, x19, #4
	mov	x0, x22
	bl	_spin_lock
Lloh14:
	adrp	x23, _VB2_BUF_STATE_DONE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _VB2_BUF_STATE_DONE@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	bl	_v4l2_m2m_buf_done
	ldr	w1, [x23]
	mov	x0, x20
	bl	_v4l2_m2m_buf_done
	mov	x0, x22
	bl	_spin_unlock
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
Lloh16:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VEU_EVTR,4,2                   ; @VEU_EVTR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_VEU_EIER,4,2                   ; @VEU_EIER
	.comm	_VEU_STR,4,2                    ; @VEU_STR
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK,4,2 ; @V4L2_BUF_FLAG_TSTAMP_SRC_MASK
	.comm	_VB2_BUF_STATE_DONE,4,2         ; @VB2_BUF_STATE_DONE
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.no_dead_strip	_sh_veu_isr
.subsections_via_symbols
