	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbvideo_IsocIrq
_usbvideo_IsocIrq:                      ## @usbvideo_IsocIrq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_CAMERA_IS_OPERATIONAL
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	cmpl	$0, 32(%rbx)
	je	LBB0_2
## %bb.4:
	incl	28(%rbx)
	cmpl	$0, 24(%r14)
	jle	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_usbvideo_CompressIsochronous
	movl	%eax, 20(%rbx)
	testl	%eax, %eax
	jle	LBB0_7
## %bb.6:
	addl	%eax, 24(%rbx)
	leaq	16(%rbx), %rdi
	callq	_RingQueue_WakeUpInterruptible
LBB0_7:
	movq	_FRAMES_PER_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_9
## %bb.8:
	movq	16(%r14), %rdi
	shlq	$4, %rsi
	callq	___bzero
LBB0_9:
	movl	$0, 8(%r14)
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_err                            ## TAILCALL
LBB0_2:
	cmpl	$0, (%rbx)
	jle	LBB0_10
## %bb.3:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not streaming, but interrupt!\n"

	.comm	_FRAMES_PER_DESC,4,2            ## @FRAMES_PER_DESC
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"usb_submit_urb error (%d)"

	.no_dead_strip	_usbvideo_IsocIrq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbvideo_IsocIrq
_usbvideo_IsocIrq:                      ; @usbvideo_IsocIrq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0, #32]
	mov	x0, x19
	bl	_CAMERA_IS_OPERATIONAL
	cbz	w0, LBB0_11
; %bb.1:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_9
; %bb.2:
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	ldr	w8, [x20, #24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_usbvideo_CompressIsochronous
	str	w0, [x19, #20]
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	w8, [x19, #24]
	add	w8, w8, w0
	str	w8, [x19, #24]
	add	x0, x19, #16
	bl	_RingQueue_WakeUpInterruptible
LBB0_5:
Lloh0:
	adrp	x8, _FRAMES_PER_DESC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FRAMES_PER_DESC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	x0, [x20, #16]
	lsl	x1, x8, #4
	bl	_bzero
LBB0_7:
	str	wzr, [x20, #8]
	ldr	x8, [x19, #8]
	str	x8, [x20]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_usb_submit_urb
	cbz	w0, LBB0_11
; %bb.8:
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_err
LBB0_9:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.10:
	ldr	x0, [x19, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_info
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not streaming, but interrupt!\n"

	.comm	_FRAMES_PER_DESC,4,2            ; @FRAMES_PER_DESC
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"usb_submit_urb error (%d)"

	.no_dead_strip	_usbvideo_IsocIrq
.subsections_via_symbols
