	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_isoc_irq
_sd_isoc_irq:                           ## @sd_isoc_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %r14
	movq	_D_PACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_gspca_dbg
	cmpl	$0, 24(%r14)
	je	LBB0_29
## %bb.1:
	movl	(%r15), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.2:
	movq	_ESHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%esi, %eax
	je	LBB0_29
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_5:
	movq	8(%r14), %rcx
	movq	(%rcx), %rax
	cmpq	%r15, %rax
	je	LBB0_29
## %bb.6:
	movq	16(%rcx), %rdi
	cmpq	%r15, %rdi
	je	LBB0_29
## %bb.7:
	cmpq	%r15, 8(%rcx)
	cmoveq	%rax, %rdi
	cmpl	$0, 4(%r15)
	jle	LBB0_25
## %bb.8:
	movq	_SD_PKT_SZ@GOTPCREL(%rip), %r8
	movq	_INTER_PACKET@GOTPCREL(%rip), %r9
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rsi
	movq	(%rsi,%r13), %rax
	movq	8(%r15), %rbx
	movq	(%rbx,%r13), %rcx
	cmpq	(%r8), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rax, %rcx
	jne	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	8(%rsi,%r13), %edx
	testl	%edx, %edx
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	8(%rbx,%r13), %edx
	testl	%edx, %edx
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdx
	callq	_gspca_err
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_INTER_PACKET@GOTPCREL(%rip), %r9
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	_SD_PKT_SZ@GOTPCREL(%rip), %r8
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_DISCARD_PACKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	movslq	4(%r15), %rax
	addq	$16, %r13
	cmpq	%rax, %r12
	jl	LBB0_9
	jmp	LBB0_25
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%rdi), %rcx
	movslq	12(%rsi,%r13), %rdx
	leaq	(%rcx,%rdx,4), %rbx
	movl	(%rcx,%rdx,4), %ecx
	cmpl	$4, %ecx
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$128, %ecx
	jne	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	4(%rbx), %eax
	movl	$254, %ecx
	andl	%ecx, %eax
	cmpl	$186, %eax
	jne	LBB0_13
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_LAST_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gspca_frame_add
	movq	_FIRST_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$16, %rbx
	movq	_SD_PKT_SZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	$-4, %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	_INTER_PACKET@GOTPCREL(%rip), %rbx
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	4(%rbx), %ecx
	movl	$254, %edx
	andl	%edx, %ecx
	cmpl	$186, %ecx
	jne	LBB0_13
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r9), %esi
	addq	$16, %rbx
	addq	$-4, %rax
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	movq	%r9, %rbx
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=1
	callq	_gspca_frame_add
	movq	8(%r15), %rax
	movslq	12(%rax,%r13), %rdx
	shlq	$2, %rdx
	addq	16(%r15), %rdx
	movl	(%rbx), %esi
	movq	_SD_PKT_SZ@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	%r14, %rdi
	callq	_gspca_frame_add
	movq	%rbx, %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	_INTER_PACKET@GOTPCREL(%rip), %r9
	jmp	LBB0_24
LBB0_25:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	jns	LBB0_27
## %bb.26:
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_27:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	js	LBB0_28
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_D_PACK,4,2                     ## @D_PACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sd isoc irq\n"

	.comm	_ESHUTDOWN,4,2                  ## @ESHUTDOWN
L_.str.1:                               ## @.str.1
	.asciz	"urb status: %d\n"

	.comm	_SD_PKT_SZ,8,3                  ## @SD_PKT_SZ
L_.str.2:                               ## @.str.2
	.asciz	"ISOC bad lengths %d / %d\n"

	.comm	_DISCARD_PACKET,8,3             ## @DISCARD_PACKET
L_.str.3:                               ## @.str.3
	.asciz	"ISOC data error: [%d] status=%d\n"

	.comm	_LAST_PACKET,4,2                ## @LAST_PACKET
	.comm	_FIRST_PACKET,4,2               ## @FIRST_PACKET
	.comm	_INTER_PACKET,4,2               ## @INTER_PACKET
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.4:                               ## @.str.4
	.asciz	"usb_submit_urb(0) ret %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"usb_submit_urb() ret %d\n"

	.no_dead_strip	_sd_isoc_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_isoc_irq
_sd_isoc_irq:                           ; @sd_isoc_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x8, _D_PACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_PACK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_gspca_dbg
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_28
; %bb.1:
	ldr	w1, [x19]
	cbz	w1, LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _ESHUTDOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ESHUTDOWN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w1, w8
	b.eq	LBB0_28
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_pr_err
LBB0_5:
	ldr	x9, [x20, #8]
	ldr	x8, [x9]
	cmp	x8, x19
	b.eq	LBB0_28
; %bb.6:
	ldr	x10, [x9, #16]
	cmp	x10, x19
	b.eq	LBB0_28
; %bb.7:
	ldr	x9, [x9, #8]
	cmp	x9, x19
	csel	x21, x8, x10, eq
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.8:
	mov	x25, #0
	mov	x22, #0
Lloh10:
	adrp	x26, _SD_PKT_SZ@GOTPAGE
Lloh11:
	ldr	x26, [x26, _SD_PKT_SZ@GOTPAGEOFF]
Lloh12:
	adrp	x27, _DISCARD_PACKET@GOTPAGE
Lloh13:
	ldr	x27, [x27, _DISCARD_PACKET@GOTPAGEOFF]
Lloh14:
	adrp	x23, l_.str.2@PAGE
Lloh15:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh16:
	adrp	x28, _INTER_PACKET@GOTPAGE
Lloh17:
	ldr	x28, [x28, _INTER_PACKET@GOTPAGEOFF]
Lloh18:
	adrp	x24, l_.str.3@PAGE
Lloh19:
	add	x24, x24, l_.str.3@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x2, [x8, x25]
	ldr	x9, [x26]
	ldr	x10, [x19, #8]
	ldr	x3, [x10, x25]
	cmp	x2, x9
	ccmp	x3, x2, #0, eq
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_gspca_err
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x8, x25
	ldr	w9, [x9, #8]
	cbnz	w9, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x10, x25
	ldr	w9, [x9, #8]
	cbz	w9, LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	str	x9, [sp]
	mov	x0, x24
	mov	x1, x22
	bl	_pr_err
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x27]
	str	x8, [x20]
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19, #4]
	add	x25, x25, #16
	cmp	x22, x8
	b.lt	LBB0_9
	b	LBB0_25
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, x28
	ldr	x9, [x21, #16]
	add	x8, x8, x25
	ldrsw	x8, [x8, #12]
	add	x28, x9, x8, lsl #2
	ldr	w8, [x28]
	cmp	w8, #4
	b.eq	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #128
	b.ne	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x28, #4]
	and	w8, w8, #0xfe
	cmp	w8, #186
	b.ne	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh20:
	adrp	x8, _LAST_PACKET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LAST_PACKET@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, #0
	mov	x3, #0
	bl	_gspca_frame_add
Lloh23:
	adrp	x8, _FIRST_PACKET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FIRST_PACKET@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	add	x2, x28, #16
	ldr	x8, [x26]
	sub	x3, x8, #4
	mov	x0, x20
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x28, #4]
	and	w8, w8, #0xfe
	cmp	w8, #186
	b.ne	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [x24]
	add	x8, x28, #16
	sub	x3, x2, #4
	mov	x0, x20
	mov	x2, x8
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_gspca_frame_add
	ldp	x9, x8, [x19, #8]
	add	x9, x9, x25
	ldrsw	x9, [x9, #12]
	add	x2, x8, x9, lsl #2
	ldr	w1, [x24]
	ldr	x3, [x26]
	mov	x0, x20
	bl	_gspca_frame_add
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x27]
	str	x8, [x20]
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x28, x24
Lloh26:
	adrp	x24, l_.str.3@PAGE
Lloh27:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_25:
Lloh28:
	adrp	x20, _GFP_ATOMIC@GOTPAGE
Lloh29:
	ldr	x20, [x20, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x21
	bl	_usb_submit_urb
	tbz	w0, #31, LBB0_27
; %bb.26:
	mov	x1, x0
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
LBB0_27:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_usb_submit_urb
	tbnz	w0, #31, LBB0_29
LBB0_28:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_29:
	mov	x1, x0
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_D_PACK,4,2                     ; @D_PACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sd isoc irq\n"

	.comm	_ESHUTDOWN,4,2                  ; @ESHUTDOWN
l_.str.1:                               ; @.str.1
	.asciz	"urb status: %d\n"

	.comm	_SD_PKT_SZ,8,3                  ; @SD_PKT_SZ
l_.str.2:                               ; @.str.2
	.asciz	"ISOC bad lengths %d / %d\n"

	.comm	_DISCARD_PACKET,8,3             ; @DISCARD_PACKET
l_.str.3:                               ; @.str.3
	.asciz	"ISOC data error: [%d] status=%d\n"

	.comm	_LAST_PACKET,4,2                ; @LAST_PACKET
	.comm	_FIRST_PACKET,4,2               ; @FIRST_PACKET
	.comm	_INTER_PACKET,4,2               ; @INTER_PACKET
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.4:                               ; @.str.4
	.asciz	"usb_submit_urb(0) ret %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"usb_submit_urb() ret %d\n"

	.no_dead_strip	_sd_isoc_irq
.subsections_via_symbols
