	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pwc_isoc_init
_pwc_isoc_init:                         ## @pwc_isoc_init
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	$0, -44(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rdi)
	movups	%xmm0, 48(%rdi)
	movq	$0, 80(%rdi)
	movq	24(%rdi), %r15
	leaq	-44(%rbp), %r14
	movq	_ISO_FRAMES_PER_DESC@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
                                        ##       Child Loop BB0_21 Depth 3
                                        ##     Child Loop BB0_24 Depth 2
	movl	44(%r12), %esi
	movl	40(%r12), %edx
	movl	32(%r12), %r8d
	movl	36(%r12), %ecx
	movl	$1, (%rsp)
	movq	%r12, %rdi
	movq	%r14, %r9
	callq	_pwc_set_video_mode
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_usb_ifnum_to_if
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%r12), %esi
	movq	%rax, %rdi
	callq	_usb_altnum_to_altsetting
	movq	%rax, %rbx
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%rbx, %rbx
	je	LBB0_34
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$-1, (%r12)
	movl	8(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_29
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rcx
	movl	4(%r12), %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx,%rsi,8), %edi
	andl	$15, %edi
	cmpl	%edx, %edi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_6
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rcx,%rsi,8), %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	callq	_le16_to_cpu
	movl	%eax, (%r12)
	testl	%eax, %eax
	js	LBB0_29
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ISO_MAX_FRAME_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_29
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_PWC_DEBUG_OPEN
	movq	24(%r12), %rdi
	movl	16(%r12), %edx
	xorl	%esi, %esi
	callq	_usb_set_interface
	movl	%eax, %ebx
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax
	cmpl	$2, %eax
	jg	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	incl	%eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, %ebx
	js	LBB0_31
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_MAX_ISO_BUFS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_36
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	xorl	%r15d, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=2
	incq	%r15
	movq	_MAX_ISO_BUFS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_22
LBB0_17:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_21 Depth 3
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_32
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	%rax, %rbx
	movq	8(%r12), %rax
	movq	%rbx, (%rax,%r15,8)
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_PWC_DEBUG_MEMORY
	movl	$1, (%rbx)
	movq	%r12, %r14
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, 72(%rbx)
	movl	4(%r14), %esi
	movq	%r12, %rdi
	callq	_usb_rcvisocpipe
	movl	%eax, 64(%rbx)
	movq	_URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_URB_ISO_ASAP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	_ISO_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, 60(%rbx)
	movq	%rbx, %rdx
	addq	$56, %rdx
	movq	%r12, %rdi
	callq	_pwc_alloc_urb_buffer
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_33
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	_pwc_isoc_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%r14, 32(%rbx)
	movq	$0, 24(%rbx)
	movl	(%r13), %edi
	movl	%edi, 8(%rbx)
	testl	%edi, %edi
	movq	%r14, %r12
	jle	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	16(%rbx), %rax
	movl	(%r12), %ecx
	xorl	%edx, %edx
	movq	_ISO_MAX_FRAME_SIZE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_17 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rbx), %esi
	imull	%edx, %esi
	movl	%esi, (%rax,%rdx,8)
	movl	%ecx, 4(%rax,%rdx,8)
	incq	%rdx
	movslq	(%r13), %rdi
	cmpq	%rdi, %rdx
	jl	LBB0_21
	jmp	LBB0_16
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	leaq	-44(%rbp), %r14
	jle	LBB0_36
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	movl	%eax, %ecx
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ecx, %eax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	movl	-44(%rbp), %eax
	cmpl	$2, %eax
	jle	LBB0_28
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=2
	testl	%ecx, %ecx
	jne	LBB0_37
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_PWC_DEBUG_MEMORY
	incq	%rbx
	movq	_MAX_ISO_BUFS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_24
	jmp	LBB0_36
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%eax
	movl	%eax, -44(%rbp)
	movq	%r12, %rdi
	callq	_pwc_isoc_cleanup
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_1
LBB0_29:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_PWC_ERROR
	xorl	%ebx, %ebx
	movq	_ENFILE@GOTPCREL(%rip), %rax
LBB0_30:
	subl	(%rax), %ebx
LBB0_31:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movq	%r12, %rdi
	callq	_pwc_isoc_cleanup
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_33:
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_PWC_ERROR
	movq	%r14, %rdi
	callq	_pwc_isoc_cleanup
	xorl	%ebx, %ebx
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_34:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_35:
	xorl	%ebx, %ebx
	jmp	LBB0_30
LBB0_36:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_PWC_DEBUG_OPEN
	xorl	%ebx, %ebx
	jmp	LBB0_31
LBB0_37:
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	movl	%ecx, %ebx
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_PWC_ERROR
	movq	%r12, %rdi
	callq	_pwc_isoc_cleanup
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ISO_MAX_FRAME_SIZE,4,2         ## @ISO_MAX_FRAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to find packet size for video endpoint in current alternate setting.\n"

	.comm	_ENFILE,4,2                     ## @ENFILE
L_.str.1:                               ## @.str.1
	.asciz	"Setting alternate interface %d\n"

	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_MAX_ISO_BUFS,4,2               ## @MAX_ISO_BUFS
	.comm	_ISO_FRAMES_PER_DESC,4,2        ## @ISO_FRAMES_PER_DESC
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Allocated URB at 0x%p\n"

	.comm	_URB_ISO_ASAP,4,2               ## @URB_ISO_ASAP
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ## @URB_NO_TRANSFER_DMA_MAP
	.comm	_ISO_BUFFER_SIZE,4,2            ## @ISO_BUFFER_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"Failed to allocate urb buffer %d\n"

	.comm	_pwc_isoc_handler,4,2           ## @pwc_isoc_handler
L_.str.4:                               ## @.str.4
	.asciz	"isoc_init() submit_urb %d failed with error %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"URB 0x%p submitted.\n"

L_.str.6:                               ## @.str.6
	.asciz	"<< pwc_isoc_init()\n"

	.no_dead_strip	_pwc_isoc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pwc_isoc_init
_pwc_isoc_init:                         ; @pwc_isoc_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	mov	x21, #0
	str	wzr, [sp, #28]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x0, #48]
	str	xzr, [x0, #80]
	ldr	x20, [x0, #24]
	mov	w26, #-1
Lloh0:
	adrp	x28, _ISO_MAX_FRAME_SIZE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ISO_MAX_FRAME_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x25, l_.str.1@PAGE
Lloh3:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh4:
	adrp	x24, _MAX_ISO_BUFS@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MAX_ISO_BUFS@GOTPAGEOFF]
Lloh6:
	adrp	x27, _ISO_FRAMES_PER_DESC@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ISO_FRAMES_PER_DESC@GOTPAGEOFF]
Lloh8:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	adrp	x23, l_.str.2@PAGE
Lloh11:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;     Child Loop BB0_23 Depth 2
	ldp	w2, w1, [x19, #40]
	ldp	w4, w3, [x19, #32]
	add	x5, sp, #28
	mov	x0, x19
	mov	w6, #1
	bl	_pwc_set_video_mode
	mov	x0, x20
	mov	w1, #0
	bl	_usb_ifnum_to_if
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x19, #16]
	bl	_usb_altnum_to_altsetting
	mov	x21, x0
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbz	x21, LBB0_32
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	str	w26, [x19]
	ldr	w8, [x21, #8]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x21]
	ldr	w10, [x19, #4]
	add	x9, x9, #4
LBB0_6:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w11, [x9, #-4]
	and	w11, w11, #0xf
	cmp	w11, w10
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_6
	b	LBB0_27
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x9]
	bl	_le16_to_cpu
	str	w0, [x19]
	tbnz	w0, #31, LBB0_27
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x28]
	cmp	w0, w8
	b.gt	LBB0_27
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19, #16]
	str	x8, [sp]
	mov	x0, x25
	bl	_PWC_DEBUG_OPEN
	ldr	x0, [x19, #24]
	ldr	w2, [x19, #16]
	mov	w1, #0
	bl	_usb_set_interface
Lloh12:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x8]
	ldr	w8, [sp, #28]
	cmn	w0, w9
	ccmp	w8, #2, #0, eq
	b.le	LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
	tbnz	w0, #31, LBB0_31
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x26, #0
	ldr	w0, [x27]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x26, x26, #1
	ldrsw	x8, [x24]
	cmp	x26, x8
	b.ge	LBB0_21
LBB0_15:                                ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
	ldr	w1, [x22]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_usb_alloc_urb
	cbz	x0, LBB0_29
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x25, x0
	ldr	x8, [x19, #8]
	str	x0, [x8, x26, lsl #3]
	mov	x0, x23
	mov	x1, x25
	bl	_PWC_DEBUG_MEMORY
	mov	w8, #1
	str	w8, [x25]
	str	x20, [x25, #72]
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_usb_rcvisocpipe
Lloh15:
	adrp	x8, _URB_ISO_ASAP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _URB_ISO_ASAP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x25, #4]
Lloh21:
	adrp	x8, _ISO_BUFFER_SIZE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ISO_BUFFER_SIZE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	stp	w1, w0, [x25, #60]
	add	x2, x25, #56
	mov	x0, x20
	bl	_pwc_alloc_urb_buffer
	str	x0, [x25, #48]
	cbz	x0, LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
Lloh24:
	adrp	x8, _pwc_isoc_handler@GOTPAGE
Lloh25:
	ldr	x8, [x8, _pwc_isoc_handler@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x25, #40]
	stp	xzr, x19, [x25, #24]
	ldr	w0, [x27]
	str	w0, [x25, #8]
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x8, #0
	ldr	x10, [x25, #16]
	ldr	w9, [x19]
	add	x10, x10, #4
LBB0_19:                                ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w11, [x28]
	mul	w11, w11, w8
	stp	w11, w9, [x10, #-4]
	add	x8, x8, #1
	ldrsw	x0, [x27]
	add	x10, x10, #8
	cmp	x8, x0
	b.lt	LBB0_19
	b	LBB0_14
LBB0_20:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w8, #1
	str	w8, [sp, #28]
Lloh27:
	adrp	x25, l_.str.1@PAGE
Lloh28:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_1
LBB0_21:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.22:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x26, #0
LBB0_23:                                ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x26, lsl #3]
	ldr	w1, [x22]
	bl	_usb_submit_urb
Lloh29:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x8]
	ldr	w8, [sp, #28]
	cmn	w0, w9
	ccmp	w8, #2, #0, eq
	b.le	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	x25, x0
	cbnz	w0, LBB0_34
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	x8, [x19, #8]
	ldr	x1, [x8, x26, lsl #3]
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_PWC_DEBUG_MEMORY
	add	x26, x26, #1
	ldrsw	x8, [x24]
	cmp	x26, x8
	b.lt	LBB0_23
	b	LBB0_33
LBB0_26:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w8, #1
	str	w8, [sp, #28]
	mov	x0, x19
	bl	_pwc_isoc_cleanup
	mov	w26, #-1
Lloh34:
	adrp	x25, l_.str.1@PAGE
Lloh35:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_1
LBB0_27:
Lloh36:
	adrp	x0, l_.str@PAGE
Lloh37:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PWC_ERROR
Lloh38:
	adrp	x8, _ENFILE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENFILE@GOTPAGEOFF]
	b	LBB0_30
LBB0_28:
	str	x26, [sp]
Lloh40:
	adrp	x0, l_.str.3@PAGE
Lloh41:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_PWC_ERROR
LBB0_29:
	mov	x0, x19
	bl	_pwc_isoc_cleanup
Lloh42:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_30:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_31:
	mov	x0, x25
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_32:
Lloh44:
	adrp	x8, _EIO@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_30
LBB0_33:
Lloh46:
	adrp	x0, l_.str.6@PAGE
Lloh47:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_PWC_DEBUG_OPEN
	mov	w25, #0
	b	LBB0_31
LBB0_34:
	stp	x26, x25, [sp]
Lloh48:
	adrp	x0, l_.str.4@PAGE
Lloh49:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_PWC_ERROR
	mov	x0, x19
	bl	_pwc_isoc_cleanup
	b	LBB0_31
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ISO_MAX_FRAME_SIZE,4,2         ; @ISO_MAX_FRAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to find packet size for video endpoint in current alternate setting.\n"

	.comm	_ENFILE,4,2                     ; @ENFILE
l_.str.1:                               ; @.str.1
	.asciz	"Setting alternate interface %d\n"

	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_MAX_ISO_BUFS,4,2               ; @MAX_ISO_BUFS
	.comm	_ISO_FRAMES_PER_DESC,4,2        ; @ISO_FRAMES_PER_DESC
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Allocated URB at 0x%p\n"

	.comm	_URB_ISO_ASAP,4,2               ; @URB_ISO_ASAP
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ; @URB_NO_TRANSFER_DMA_MAP
	.comm	_ISO_BUFFER_SIZE,4,2            ; @ISO_BUFFER_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"Failed to allocate urb buffer %d\n"

	.comm	_pwc_isoc_handler,4,2           ; @pwc_isoc_handler
l_.str.4:                               ; @.str.4
	.asciz	"isoc_init() submit_urb %d failed with error %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"URB 0x%p submitted.\n"

l_.str.6:                               ; @.str.6
	.asciz	"<< pwc_isoc_init()\n"

	.no_dead_strip	_pwc_isoc_init
.subsections_via_symbols
