	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function se401_video_irq
_se401_video_irq:                       ## @se401_video_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	32(%rdi), %rbx
	cmpl	$0, 60(%rbx)
	je	LBB0_17
## %bb.1:
	movq	%rdi, %r12
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.3:
	movl	(%r12), %r14d
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.4:
	cmpq	$0, 16(%r12)
	je	LBB0_5
LBB0_11:
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	_SE401_MAX_NULLPACKETS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_14
## %bb.12:
	leaq	40(%rbx), %r14
	movq	%r14, %rdi
	callq	_waitqueue_active
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_wake_up_interruptible
	jmp	LBB0_14
LBB0_2:
	addq	$8, %r12
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_16
LBB0_5:
	movq	$0, (%rbx)
	movq	8(%rbx), %rax
	movq	48(%rbx), %rcx
	shlq	$4, %rax
	movl	(%rcx,%rax), %edx
	leal	-129(%rdx), %esi
	cmpl	$2, %esi
	jae	LBB0_6
## %bb.18:
	incl	56(%rbx)
	jmp	LBB0_10
LBB0_6:
	cmpl	$128, %edx
	jne	LBB0_10
## %bb.7:
	movl	12(%rcx,%rax), %edi
	movq	24(%r12), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	48(%rbx), %rcx
	shlq	$4, %rax
	movl	$129, (%rcx,%rax)
	movl	16(%rbx), %edx
	movl	%edx, 4(%rcx,%rax)
	movl	%r14d, 8(%rcx,%rax)
	leaq	40(%rbx), %r15
	movq	%r15, %rdi
	callq	_waitqueue_active
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_wake_up_interruptible
LBB0_9:
	movl	$0, 44(%rbx)
	movq	8(%rbx), %rax
	incq	%rax
	movq	_SE401_NUMSCRATCH@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	cmovbq	%rax, %rdx
	movq	%rdx, 8(%rbx)
LBB0_10:
	addl	16(%rbx), %r14d
	movl	24(%rbx), %eax
	imull	20(%rbx), %eax
	xorl	%ecx, %ecx
	cmpl	%eax, %r14d
	cmovll	%r14d, %ecx
	movl	%ecx, 16(%rbx)
LBB0_14:
	movq	$0, 16(%r12)
	movq	32(%rbx), %rax
	movq	%rax, 8(%r12)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_usb_submit_urb
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	addq	$8, %r12
	leaq	L_.str.1(%rip), %rsi
LBB0_16:
	movq	(%r12), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device vapourished\n"

	.comm	_SE401_NUMSCRATCH,8,3           ## @SE401_NUMSCRATCH
	.comm	_SE401_MAX_NULLPACKETS,8,3      ## @SE401_MAX_NULLPACKETS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"urb burned down\n"

	.no_dead_strip	_se401_video_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function se401_video_irq
_se401_video_irq:                       ; @se401_video_irq
	.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
	ldr	x22, [x0, #32]
	ldr	w8, [x22, #60]
	cbz	w8, LBB0_18
; %bb.1:
	mov	x19, x0
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w20, [x19]
	cbz	w20, LBB0_4
; %bb.3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
LBB0_4:
	ldr	x8, [x22]
	add	x9, x8, #1
	str	x9, [x22]
Lloh0:
	adrp	x9, _SE401_MAX_NULLPACKETS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SE401_MAX_NULLPACKETS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_15
; %bb.5:
	add	x20, x22, #40
	mov	x0, x20
	bl	_waitqueue_active
	cbz	x0, LBB0_15
; %bb.6:
	mov	x0, x20
	bl	_wake_up_interruptible
	b	LBB0_15
LBB0_7:
	add	x20, x19, #8
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_17
LBB0_8:
	str	xzr, [x22]
	ldr	x8, [x22, #48]
	ldr	x9, [x22, #8]
	lsl	x10, x9, #4
	ldr	w10, [x8, x10]
	sub	w11, w10, #129
	cmp	w11, #2
	b.hs	LBB0_10
; %bb.9:
	ldr	w8, [x22, #56]
	add	w8, w8, #1
	str	w8, [x22, #56]
	b	LBB0_14
LBB0_10:
	cmp	w10, #128
	b.ne	LBB0_14
; %bb.11:
	add	x8, x8, x9, lsl #4
	ldr	w0, [x8, #12]
	ldr	x1, [x19, #24]
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x22, #48]
	ldr	x9, [x22, #8]
	add	x8, x8, x9, lsl #4
	mov	w9, #129
	ldr	w10, [x22, #16]
	stp	w9, w10, [x8]
	str	w20, [x8, #8]
	add	x21, x22, #40
	mov	x0, x21
	bl	_waitqueue_active
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x21
	bl	_wake_up_interruptible
LBB0_13:
	str	wzr, [x22, #44]
	ldr	x8, [x22, #8]
	add	x9, x8, #1
Lloh5:
	adrp	x10, _SE401_NUMSCRATCH@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SE401_NUMSCRATCH@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	csinc	x8, xzr, x8, hs
	str	x8, [x22, #8]
LBB0_14:
	ldp	w8, w9, [x22, #16]
	ldr	w10, [x22, #24]
	mul	w9, w10, w9
	add	w8, w8, w20
	cmp	w8, w9
	csel	w8, w8, wzr, lt
	str	w8, [x22, #16]
LBB0_15:
	str	xzr, [x19, #16]
	ldr	x8, [x22, #32]
	mov	x20, x19
	str	x8, [x20, #8]!
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usb_submit_urb
	cbz	x0, LBB0_18
; %bb.16:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_17:
	ldr	x0, [x20]
	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
	b	_dev_info
LBB0_18:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device vapourished\n"

	.comm	_SE401_NUMSCRATCH,8,3           ; @SE401_NUMSCRATCH
	.comm	_SE401_MAX_NULLPACKETS,8,3      ; @SE401_MAX_NULLPACKETS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"urb burned down\n"

	.no_dead_strip	_se401_video_irq
.subsections_via_symbols
