	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function urb_complete_iso
_urb_complete_iso:                      ## @urb_complete_iso
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r15
	movq	(%r15), %r14
	movl	$0, -52(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	cmpl	$0, 4(%r14)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	leaq	LJTI0_0(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	movq	_ISO_PKT_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	-48(%rbp), %edx
	subl	%eax, %edx
	incl	%edx
	imull	%ecx, %edx
	imull	%eax, %ecx
	movslq	%ecx, %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	callq	_copy_vbi_video_data
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax
	incl	%eax
	movl	%eax, -44(%rbp)
	cmpl	(%rbx), %eax
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_video_frame
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	movq	%rbx, %rsi
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-52(%rbp), %r8
	callq	_get_chunk
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	-44(%rbp), %rsi
	movq	_ISO_PKT_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	imulq	%rdx, %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_check_trailer
	jmp	LBB0_8
LBB0_9:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_log
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_log
	movq	%r14, %rdi
	callq	_schedule_work
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_ISO_PKT_SIZE,4,2               ## @ISO_PKT_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\t We got too much bubble"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"usb_submit_urb err : %d"

	.no_dead_strip	_urb_complete_iso
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function urb_complete_iso
_urb_complete_iso:                      ; @urb_complete_iso
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x21, [x0, #16]
	ldr	x19, [x21]
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x23, lJTI0_0@PAGE
Lloh1:
	add	x23, x23, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x24, _ISO_PKT_SIZE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ISO_PKT_SIZE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #24]
	ldr	w9, [x24]
	mul	w10, w9, w8
	add	x1, x22, w10, sxtw
	ldr	w10, [sp, #20]
	sub	w8, w10, w8
	madd	w2, w9, w8, w9
	mov	x0, x19
	bl	_copy_vbi_video_data
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #20]
	add	w8, w8, #1
	str	w8, [sp, #24]
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_get_video_frame
	cbz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #24]
	add	x2, sp, #24
	add	x3, sp, #20
	add	x4, sp, #28
	mov	x1, x20
	bl	_get_chunk
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x23, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [sp, #24]
	ldrsw	x2, [x24]
	madd	x1, x2, x8, x22
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_check_trailer
	b	LBB0_3
LBB0_8:
Lloh4:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_usb_submit_urb
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_11
; %bb.9:
	str	x0, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log
	b	LBB0_11
LBB0_10:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log
	mov	x0, x19
	bl	_schedule_work
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_ISO_PKT_SIZE,4,2               ; @ISO_PKT_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\t We got too much bubble"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"usb_submit_urb err : %d"

	.no_dead_strip	_urb_complete_iso
.subsections_via_symbols
