	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function uvc_init_video_isoc
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_1:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.space	4
	.space	4
LCPI0_2:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.space	4
	.space	4
LCPI0_3:
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.space	4
	.space	4
LCPI0_4:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_uvc_init_video_isoc:                   ## @uvc_init_video_isoc
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r12
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movl	8(%rsi), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	andl	$2047, %eax                     ## imm = 0x7FF
	shrl	$11, %ebx
	andl	$3, %ebx
	incl	%ebx
	imull	%eax, %ebx
	movl	32(%r12), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	%r14d, %ecx
	callq	_uvc_alloc_urb_buffers
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_UVC_URBS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_18
## %bb.3:
	movl	%ebx, %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	imull	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%r15d, %eax
	andl	$-4, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	addq	$-4, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$2, %rcx
	incq	%rcx
	movd	%ebx, %xmm0
	pshufd	$80, %xmm0, %xmm3               ## xmm3 = xmm0[0,0,1,1]
	movq	%rcx, %rax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movdqa	%xmm3, -128(%rbp)               ## 16-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rax
	movq	%r14, (%rax,%r13,8)
	incq	%r13
	movq	_UVC_URBS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r13
	jae	LBB0_18
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	24(%r12), %rax
	movl	(%rax), %edi
	movl	%edi, 56(%r14)
	movq	%r12, 48(%r14)
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movl	4(%r12), %esi
	callq	_usb_rcvisocpipe
	movl	%eax, 40(%r14)
	movq	_URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_URB_ISO_ASAP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movl	(%r12), %eax
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, 36(%r14)
	movq	16(%r12), %rax
	movl	(%rax,%r13,4), %eax
	movl	%eax, 32(%r14)
	movq	8(%r12), %rax
	movl	(%rax,%r13,4), %eax
	movl	%eax, 28(%r14)
	movq	_uvc_video_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	%ecx, 4(%r14)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r14)
	movq	16(%r14), %rax
	cmpl	$4, %ecx
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <0,1,u,u>
	movdqa	-128(%rbp), %xmm3               ## 16-byte Reload
	movdqa	LCPI0_1(%rip), %xmm4            ## xmm4 = <2,2,u,u>
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = <4,4,u,u>
	movdqa	LCPI0_3(%rip), %xmm6            ## xmm6 = <6,6,u,u>
	movdqa	LCPI0_4(%rip), %xmm7            ## xmm7 = <8,8,u,u>
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm0, %xmm1
	paddd	%xmm4, %xmm1
	movdqa	%xmm3, %xmm2
	pmulld	%xmm0, %xmm2
	pmulld	%xmm3, %xmm1
	punpckldq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
	movdqu	%xmm2, (%rax,%rcx,8)
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	movdqu	%xmm1, 16(%rax,%rcx,8)
	movdqa	%xmm0, %xmm1
	paddd	%xmm5, %xmm1
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	pmulld	%xmm3, %xmm1
	pmulld	%xmm3, %xmm2
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	movdqu	%xmm1, 32(%rax,%rcx,8)
	punpckldq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
	movdqu	%xmm2, 48(%rax,%rcx,8)
	addq	$8, %rcx
	paddd	%xmm7, %xmm0
	addq	$-2, %rdx
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movdqa	%xmm3, %xmm1
	pmulld	%xmm0, %xmm1
	paddd	%xmm4, %xmm0
	pmulld	%xmm3, %xmm0
	leaq	(,%rcx,8), %rdx
	orq	$16, %rdx
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	movdqu	%xmm1, (%rax,%rcx,8)
	punpckldq	%xmm3, %xmm0            ## xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
	movdqu	%xmm0, (%rax,%rdx)
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %rcx
	cmpq	%r15, %rdx
	je	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edx
	imull	%ecx, %edx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, (%rax,%rcx,8)
	movl	%ebx, 4(%rax,%rcx,8)
	incq	%rcx
	addl	%ebx, %edx
	cmpq	%rcx, %r15
	jne	LBB0_16
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <0,1,u,u>
	movdqa	-128(%rbp), %xmm3               ## 16-byte Reload
	movdqa	LCPI0_1(%rip), %xmm4            ## xmm4 = <2,2,u,u>
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_13
	jmp	LBB0_14
LBB0_18:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_5:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_uvc_uninit_video
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_UVC_URBS,4,2                   ## @UVC_URBS
	.comm	_URB_ISO_ASAP,4,2               ## @URB_ISO_ASAP
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ## @URB_NO_TRANSFER_DMA_MAP
	.comm	_uvc_video_complete,4,2         ## @uvc_video_complete
	.no_dead_strip	_uvc_init_video_isoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function uvc_init_video_isoc
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_uvc_init_video_isoc:                   ; @uvc_init_video_isoc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x1, #8]
	bl	_le16_to_cpu
	and	w8, w0, #0x7ff
	ubfx	w9, w0, #11, #2
	add	w9, w9, #1
	mul	w22, w9, w8
	ldr	w1, [x19, #32]
	mov	x0, x19
	mov	x2, x22
	mov	x3, x20
	bl	_uvc_alloc_urb_buffers
	cbz	w0, LBB0_14
; %bb.1:
Lloh0:
	adrp	x8, _UVC_URBS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UVC_URBS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.2:
	mov	x23, x0
	mov	x26, #0
	mul	w27, w22, w0
	mov	w28, w0
	and	x25, x28, #0xfffffff0
	dup.4s	v7, w22
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	str	x24, [x8, x26, lsl #3]
	add	x26, x26, #1
Lloh5:
	adrp	x8, _UVC_URBS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UVC_URBS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	x26, x8
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	add	x8, sp, #16
	st1.2d	{ v6, v7 }, [x8]                ; 32-byte Folded Spill
	mov	x0, x23
	mov	x1, x20
	bl	_usb_alloc_urb
	cbz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	str	w0, [x24, #56]
	str	x19, [x24, #48]
	ldr	w1, [x21, #4]
	bl	_usb_rcvisocpipe
Lloh8:
	adrp	x8, _URB_ISO_ASAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _URB_ISO_ASAP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x24]
	ldr	w8, [x21]
	stp	w8, w0, [x24, #36]
	lsl	x8, x26, #2
	ldp	x10, x9, [x19, #8]
	ldr	w9, [x9, x8]
	str	w9, [x24, #32]
	ldr	w8, [x10, x8]
Lloh14:
	adrp	x9, _uvc_video_complete@GOTPAGE
Lloh15:
	ldr	x9, [x9, _uvc_video_complete@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x24, #24]
	stp	w23, w27, [x24, #4]
	ldr	x8, [x24, #16]
	cmp	w23, #16
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	add	x9, sp, #16
	ld1.2d	{ v6, v7 }, [x9]                ; 32-byte Folded Reload
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x8, #64
	mov	x9, x25
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	add	x11, sp, #16
	ld1.2d	{ v6, v7 }, [x11]               ; 32-byte Folded Reload
	movi.4s	v16, #4
	movi.4s	v17, #8
	movi.4s	v18, #12
	movi.4s	v19, #16
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v1, v0, v16
	add.4s	v2, v0, v17
	add.4s	v3, v0, v18
	mul.4s	v6, v7, v0
	mul.4s	v4, v7, v1
	mov.16b	v5, v7
	mul.4s	v1, v7, v2
	sub	x11, x10, #64
	st2.4s	{ v6, v7 }, [x11]
	mov.16b	v2, v7
	sub	x11, x10, #32
	st2.4s	{ v4, v5 }, [x11]
	add	x11, x10, #128
	st2.4s	{ v1, v2 }, [x10], #32
	mul.4s	v1, v7, v3
	mov.16b	v2, v7
	st2.4s	{ v1, v2 }, [x10]
	add.4s	v0, v0, v19
	mov	x10, x11
	subs	x9, x9, #16
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, x25
	cmp	x25, x28
	b.eq	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, x10, lsl #3
	add	x8, x8, #4
	mul	w9, w22, w10
	sub	x10, x28, x10
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	w9, w22, [x8, #-4]
	add	x8, x8, #8
	add	w9, w9, w22
	subs	x10, x10, #1
	b.ne	LBB0_11
	b	LBB0_3
LBB0_12:
	mov	w0, #0
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	mov	w1, #1
	bl	_uvc_uninit_video
LBB0_14:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_UVC_URBS,4,2                   ; @UVC_URBS
	.comm	_URB_ISO_ASAP,4,2               ; @URB_ISO_ASAP
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ; @URB_NO_TRANSFER_DMA_MAP
	.comm	_uvc_video_complete,4,2         ; @uvc_video_complete
	.no_dead_strip	_uvc_init_video_isoc
.subsections_via_symbols
