	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_pkt_scan
_sd_pkt_scan:                           ## @sd_pkt_scan
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpl	$64, %edx
	jl	LBB0_19
## %bb.1:
	movl	(%rbx), %eax
	movq	_MAGIC_0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.2:
	movl	4(%rbx), %eax
	movq	_MAGIC_1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.3:
	movl	64(%rbx), %eax
	cmpl	24(%r15), %eax
	jne	LBB0_19
## %bb.4:
	movl	68(%rbx), %eax
	cmpl	28(%r15), %eax
	jne	LBB0_19
## %bb.5:
	movl	72(%rbx), %eax
	cmpl	32(%r15), %eax
	jne	LBB0_19
## %bb.6:
	movl	96(%rbx), %eax
	cmpl	8(%r15), %eax
	jne	LBB0_19
## %bb.7:
	movl	100(%rbx), %eax
	cmpl	12(%r15), %eax
	jne	LBB0_19
## %bb.8:
	movl	104(%rbx), %eax
	cmpl	16(%r15), %eax
	jne	LBB0_19
## %bb.9:
	movl	108(%rbx), %eax
	cmpl	20(%r15), %eax
	jne	LBB0_19
## %bb.10:
	leaq	4(%r15), %rdi
	movl	156(%rbx), %esi
	addl	%esi, %esi
	callq	_atomic_set
	movl	164(%rbx), %esi
	movq	%r15, %rdi
	callq	_atomic_set
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	movl	8(%r15), %ecx
	cmpl	$5, %ecx
	jl	LBB0_17
## %bb.12:
	leal	-4(%rcx), %edx
	cmpl	$255, (%rax,%rdx,4)
	jne	LBB0_17
## %bb.13:
	leal	-3(%rcx), %edx
	cmpl	$255, (%rax,%rdx,4)
	jne	LBB0_17
## %bb.14:
	leal	-2(%rcx), %edx
	cmpl	$255, (%rax,%rdx,4)
	jne	LBB0_17
## %bb.15:
	decl	%ecx
	cmpl	$255, (%rax,%rcx,4)
	jne	LBB0_17
## %bb.16:
	movq	_LAST_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gspca_frame_add
LBB0_17:
	movq	_FIRST_PACKET@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_19:
	movq	_INTER_PACKET@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gspca_frame_add                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAGIC_0,4,2                    ## @MAGIC_0
	.comm	_MAGIC_1,4,2                    ## @MAGIC_1
	.comm	_LAST_PACKET,4,2                ## @LAST_PACKET
	.comm	_FIRST_PACKET,4,2               ## @FIRST_PACKET
	.comm	_INTER_PACKET,4,2               ## @INTER_PACKET
	.no_dead_strip	_sd_pkt_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_pkt_scan
_sd_pkt_scan:                           ; @sd_pkt_scan
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	w2, #64
	b.lt	LBB0_18
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _MAGIC_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAGIC_0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.2:
	ldr	w8, [x20, #4]
Lloh3:
	adrp	x9, _MAGIC_1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAGIC_1@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.3:
	ldr	w8, [x20, #64]
	ldr	w9, [x21, #24]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.4:
	ldr	w8, [x20, #68]
	ldr	w9, [x21, #28]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.5:
	ldr	w8, [x20, #72]
	ldr	w9, [x21, #32]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.6:
	ldr	w8, [x20, #96]
	ldr	w9, [x21, #8]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.7:
	ldr	w8, [x20, #100]
	ldr	w9, [x21, #12]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.8:
	ldr	w8, [x20, #104]
	ldr	w9, [x21, #16]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.9:
	ldr	w8, [x20, #108]
	ldr	w9, [x21, #20]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.10:
	add	x0, x21, #4
	ldr	w8, [x20, #156]
	lsl	w1, w8, #1
	bl	_atomic_set
	ldr	w1, [x20, #164]
	mov	x0, x21
	bl	_atomic_set
	ldr	x8, [x21]
	cbz	x8, LBB0_17
; %bb.11:
	ldr	w9, [x21, #8]
	cmp	w9, #5
	b.lt	LBB0_17
; %bb.12:
	sub	w10, w9, #4
	ldr	w10, [x8, w10, uxtw #2]
	cmp	w10, #255
	b.ne	LBB0_17
; %bb.13:
	sub	w10, w9, #3
	ldr	w10, [x8, w10, uxtw #2]
	cmp	w10, #255
	b.ne	LBB0_17
; %bb.14:
	sub	w10, w9, #2
	ldr	w10, [x8, w10, uxtw #2]
	cmp	w10, #255
	b.ne	LBB0_17
; %bb.15:
	sub	w9, w9, #1
	ldr	w8, [x8, w9, uxtw #2]
	cmp	w8, #255
	b.ne	LBB0_17
; %bb.16:
Lloh6:
	adrp	x8, _LAST_PACKET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LAST_PACKET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	mov	w3, #0
	bl	_gspca_frame_add
LBB0_17:
Lloh9:
	adrp	x8, _FIRST_PACKET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FIRST_PACKET@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh11:
	adrp	x8, _INTER_PACKET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INTER_PACKET@GOTPAGEOFF]
LBB0_19:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	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	_gspca_frame_add
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MAGIC_0,4,2                    ; @MAGIC_0
	.comm	_MAGIC_1,4,2                    ; @MAGIC_1
	.comm	_LAST_PACKET,4,2                ; @LAST_PACKET
	.comm	_FIRST_PACKET,4,2               ; @FIRST_PACKET
	.comm	_INTER_PACKET,4,2               ; @INTER_PACKET
	.no_dead_strip	_sd_pkt_scan
.subsections_via_symbols
