	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meye_irq
_meye_irq:                              ## @meye_irq
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MCHIP_MM_INTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mchip_read
	movq	_meye@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_MCHIP_HIC_MODE_CONT_OUT@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_3
## %bb.1:
	movq	_MCHIP_HIC_MODE_CONT_COMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_3:
	xorl	%eax, %eax
	callq	_mchip_get_frame
	movl	%eax, %ebx
	movq	_MCHIP_MM_FIR_RDY@GOTPCREL(%rip), %r12
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	testl	%ebx, (%r12)
	je	LBB0_15
## %bb.4:
	leaq	52(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	48(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %r14
	leaq	16(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_ktime_get_ns
	movq	24(%r13), %rcx
	movslq	-44(%rbp), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rax, 8(%rcx,%rdx,8)
	movl	_meye_irq.sequence(%rip), %eax
	leal	1(%rax), %esi
	movl	%esi, _meye_irq.sequence(%rip)
	movl	%eax, 4(%rcx,%rdx,8)
	leaq	12(%r13), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_kfifo_in_locked
	leaq	8(%r13), %rdi
	callq	_wake_up_interruptible
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_mchip_free_frame
	xorl	%eax, %eax
	callq	_mchip_get_frame
	movl	%eax, %ebx
	testl	%eax, (%r12)
	je	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	cmpq	(%r15), %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	$4, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_kfifo_out_locked
	cmpl	$4, %eax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_gbufsize@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	-44(%rbp), %r12
	imulq	%rax, %r12
	addq	40(%r13), %r12
	xorl	%eax, %eax
	callq	_mchip_hsize
	movq	%r13, %r14
	movq	%r15, %r13
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_mchip_vsize
	imull	%eax, %r15d
	addl	%r15d, %r15d
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	_MCHIP_MM_FIR_RDY@GOTPCREL(%rip), %r12
	movl	%r15d, %edx
	movq	%r13, %r15
	movq	%r14, %r13
	leaq	-44(%rbp), %r14
	callq	_mchip_cont_read_frame
	xorl	%eax, %eax
	callq	_mchip_hsize
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_mchip_vsize
	imull	%ebx, %eax
	addl	%eax, %eax
	movq	24(%r13), %rcx
	movslq	-44(%rbp), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	%eax, (%rcx,%rdx,8)
	movq	_MEYE_BUF_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-44(%rbp), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rax, 16(%rcx,%rdx,8)
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	32(%r13), %esi
	movq	_gbufsize@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_mchip_comp_read_frame
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	$4, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_kfifo_out_locked
	cmpl	$4, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_gbufsize@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	-44(%rbp), %rdi
	imulq	%rax, %rdi
	addq	40(%r13), %rdi
	movl	32(%r13), %esi
	movl	%ebx, %edx
	callq	_memcpy
	movq	24(%r13), %rax
	movslq	-44(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%ebx, (%rax,%rcx,8)
	movq	_MEYE_BUF_DONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	-44(%rbp), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rcx, 16(%rax,%rdx,8)
	jmp	LBB0_12
LBB0_7:
	xorl	%eax, %eax
	callq	_mchip_free_frame
LBB0_14:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_meye_irq.sequence,4,2 ## @meye_irq.sequence
	.comm	_MCHIP_MM_INTA,4,2              ## @MCHIP_MM_INTA
	.comm	_meye,56,3                      ## @meye
	.comm	_MCHIP_HIC_MODE_CONT_OUT,8,3    ## @MCHIP_HIC_MODE_CONT_OUT
	.comm	_MCHIP_HIC_MODE_CONT_COMP,8,3   ## @MCHIP_HIC_MODE_CONT_COMP
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_MCHIP_MM_FIR_RDY,4,2           ## @MCHIP_MM_FIR_RDY
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_gbufsize,4,2                   ## @gbufsize
	.comm	_MEYE_BUF_DONE,8,3              ## @MEYE_BUF_DONE
	.no_dead_strip	_meye_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meye_irq
_meye_irq:                              ; @meye_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _MCHIP_MM_INTA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCHIP_MM_INTA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_mchip_read
Lloh3:
	adrp	x22, _meye@GOTPAGE
Lloh4:
	ldr	x22, [x22, _meye@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh5:
	adrp	x23, _MCHIP_HIC_MODE_CONT_OUT@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MCHIP_HIC_MODE_CONT_OUT@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh7:
	adrp	x10, _MCHIP_HIC_MODE_CONT_COMP@GOTPAGE
Lloh8:
	ldr	x10, [x10, _MCHIP_HIC_MODE_CONT_COMP@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_11
; %bb.1:
	bl	_mchip_get_frame
Lloh10:
	adrp	x25, _MCHIP_MM_FIR_RDY@GOTPAGE
Lloh11:
	ldr	x25, [x25, _MCHIP_MM_FIR_RDY@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.2:
	mov	x19, x0
Lloh12:
	adrp	x26, _gbufsize@GOTPAGE
Lloh13:
	ldr	x26, [x26, _gbufsize@GOTPAGEOFF]
	mov	w27, #24
Lloh14:
	adrp	x28, _MEYE_BUF_DONE@GOTPAGE
Lloh15:
	ldr	x28, [x28, _MEYE_BUF_DONE@GOTPAGEOFF]
	adrp	x24, _meye_irq.sequence@PAGE
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_ktime_get_ns
	ldr	x8, [x22, #24]
	ldrsw	x9, [sp, #12]
	madd	x8, x9, x27, x8
	str	x0, [x8, #8]
	ldr	w9, [x24, _meye_irq.sequence@PAGEOFF]
	add	w10, w9, #1
	str	w10, [x24, _meye_irq.sequence@PAGEOFF]
	str	w9, [x8, #4]
	add	x0, x22, #16
	add	x3, x22, #12
	add	x1, sp, #12
	mov	w2, #4
	bl	_kfifo_in_locked
	add	x0, x22, #8
	bl	_wake_up_interruptible
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_mchip_free_frame
	bl	_mchip_get_frame
	mov	x19, x0
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x22, #52
	add	x3, x22, #48
	add	x1, sp, #12
	mov	w2, #4
	bl	_kfifo_out_locked
	cmp	w0, #4
	b.ne	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #40]
	ldrsw	x9, [x26]
	ldrsw	x10, [sp, #12]
	madd	x20, x10, x9, x8
	bl	_mchip_hsize
	mov	x21, x0
	bl	_mchip_vsize
	mul	w8, w21, w0
	lsl	w2, w8, #1
	mov	x0, x19
	mov	x1, x20
	bl	_mchip_cont_read_frame
	bl	_mchip_hsize
	mov	x19, x0
	bl	_mchip_vsize
	mul	w8, w19, w0
	lsl	w8, w8, #1
	ldr	x9, [x22, #24]
	ldrsw	x10, [sp, #12]
	mul	x10, x10, x27
	str	w8, [x9, x10]
	ldr	x8, [x28]
	ldrsw	x10, [sp, #12]
	madd	x9, x10, x27, x9
	str	x8, [x9, #16]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x22, #32]
	ldr	w2, [x26]
	mov	x0, x19
	bl	_mchip_comp_read_frame
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x19, x0
	add	x0, x22, #52
	add	x3, x22, #48
	add	x1, sp, #12
	mov	w2, #4
	bl	_kfifo_out_locked
	cmp	w0, #4
	b.ne	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #40]
	ldrsw	x9, [x26]
	ldrsw	x10, [sp, #12]
	madd	x0, x10, x9, x8
	ldr	w1, [x22, #32]
	mov	x2, x19
	bl	_memcpy
	ldr	x8, [x22, #24]
	ldrsw	x9, [sp, #12]
	mul	x9, x9, x27
	str	w19, [x8, x9]
	ldr	x9, [x28]
	ldrsw	x10, [sp, #12]
	madd	x8, x10, x27, x8
	str	x9, [x8, #16]
	b	LBB0_3
LBB0_11:
Lloh16:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	bl	_mchip_free_frame
LBB0_13:
Lloh18:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_meye_irq.sequence,4,2 ; @meye_irq.sequence
	.comm	_MCHIP_MM_INTA,4,2              ; @MCHIP_MM_INTA
	.comm	_meye,56,3                      ; @meye
	.comm	_MCHIP_HIC_MODE_CONT_OUT,8,3    ; @MCHIP_HIC_MODE_CONT_OUT
	.comm	_MCHIP_HIC_MODE_CONT_COMP,8,3   ; @MCHIP_HIC_MODE_CONT_COMP
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_MCHIP_MM_FIR_RDY,4,2           ; @MCHIP_MM_FIR_RDY
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_gbufsize,4,2                   ; @gbufsize
	.comm	_MEYE_BUF_DONE,8,3              ; @MEYE_BUF_DONE
	.no_dead_strip	_meye_irq
.subsections_via_symbols
