	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function konicawc_isoc_irq
_konicawc_isoc_irq:                     ## @konicawc_isoc_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rbx
	movq	24(%rbx), %r12
	movq	%rbx, %rdi
	callq	_CAMERA_IS_OPERATIONAL
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	cmpl	$0, 16(%rbx)
	je	LBB0_12
## %bb.2:
	movq	(%r14), %rdx
	movl	16(%r14), %ecx
	movl	8(%r14), %r8d
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_DEBUG
	incl	12(%rbx)
	cmpl	$33, 8(%r14)
	jl	LBB0_4
## %bb.3:
	movq	%r14, (%r12)
	jmp	LBB0_11
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DEBUG                          ## TAILCALL
LBB0_4:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.5:
	movq	(%r14), %rax
	cmpq	(%rsi), %rax
	jne	LBB0_6
## %bb.7:
	xorl	%r15d, %r15d
	cmpl	$0, 12(%r14)
	jne	LBB0_10
## %bb.8:
	cmpl	$0, 12(%rsi)
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_konicawc_compress_iso
	movl	%eax, %r15d
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_err
	xorl	%r15d, %r15d
LBB0_10:
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_resubmit_urb
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_resubmit_urb
	movq	$0, (%r12)
	movl	%r15d, 4(%rbx)
	addl	%r15d, 8(%rbx)
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.13:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RingQueue_WakeUpInterruptible  ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not streaming, but interrupt!"

L_.str.1:                               ## @.str.1
	.asciz	"got frame %d len = %d buflen =%d"

L_.str.2:                               ## @.str.2
	.asciz	"Lost sync on frames"

	.no_dead_strip	_konicawc_isoc_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function konicawc_isoc_irq
_konicawc_isoc_irq:                     ; @konicawc_isoc_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	ldr	x19, [x0, #24]
	ldr	x22, [x19, #24]
	mov	x0, x19
	bl	_CAMERA_IS_OPERATIONAL
	cbz	w0, LBB0_14
; %bb.1:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	w9, [x20, #16]
	ldr	w10, [x20, #8]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #3
	bl	_DEBUG
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	ldr	w8, [x20, #8]
	cmp	w8, #33
	b.lt	LBB0_5
; %bb.3:
	str	x20, [x22]
	b	LBB0_14
LBB0_4:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_DEBUG
LBB0_5:
	ldr	x1, [x22]
	cbz	x1, LBB0_14
; %bb.6:
	ldr	x8, [x20]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
	ldr	w8, [x20, #12]
	cbnz	w8, LBB0_11
; %bb.8:
	ldr	w8, [x1, #12]
	cbnz	w8, LBB0_11
; %bb.9:
	mov	x0, x19
	mov	x2, x20
	bl	_konicawc_compress_iso
	mov	x21, x0
	b	LBB0_12
LBB0_10:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_err
LBB0_11:
	mov	w21, #0
LBB0_12:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_resubmit_urb
	mov	x0, x19
	mov	x1, x20
	bl	_resubmit_urb
	str	xzr, [x22]
	ldr	w8, [x19, #8]
	add	w8, w8, w21
	stp	w21, w8, [x19, #4]
	cbz	w21, LBB0_14
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_RingQueue_WakeUpInterruptible
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not streaming, but interrupt!"

l_.str.1:                               ; @.str.1
	.asciz	"got frame %d len = %d buflen =%d"

l_.str.2:                               ; @.str.2
	.asciz	"Lost sync on frames"

	.no_dead_strip	_konicawc_isoc_irq
.subsections_via_symbols
