	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtcs033_pkt_scan
_dtcs033_pkt_scan:                      ## @dtcs033_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_DT_COLS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	shll	$9, %eax
	cmpl	%edx, %eax
	jne	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	_FIRST_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gspca_frame_add
	movq	_INTER_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	(%r12), %rax
	movq	%rax, %rcx
	shlq	$6, %rcx
	addq	%rcx, %r15
	shll	$5, %eax
	subl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_gspca_frame_add
	movq	_LAST_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gspca_frame_add                ## TAILCALL
LBB0_1:
	movq	_DISCARD_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_COLS,4,2                    ## @DT_COLS
	.comm	_DISCARD_PACKET,4,2             ## @DISCARD_PACKET
	.comm	_FIRST_PACKET,4,2               ## @FIRST_PACKET
	.comm	_INTER_PACKET,4,2               ## @INTER_PACKET
	.comm	_LAST_PACKET,4,2                ## @LAST_PACKET
	.no_dead_strip	_dtcs033_pkt_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtcs033_pkt_scan
_dtcs033_pkt_scan:                      ; @dtcs033_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, x0
Lloh0:
	adrp	x22, _DT_COLS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DT_COLS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w2, w8, lsl #9
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x2
	mov	x21, x1
Lloh2:
	adrp	x8, _FIRST_PACKET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FIRST_PACKET@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_gspca_frame_add
Lloh5:
	adrp	x8, _INTER_PACKET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INTER_PACKET@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldrsw	x8, [x22]
	add	x2, x21, x8, lsl #6
	sub	w3, w20, w8, lsl #5
	mov	x0, x19
	bl	_gspca_frame_add
Lloh8:
	adrp	x8, _LAST_PACKET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LAST_PACKET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	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
LBB0_2:
Lloh11:
	adrp	x8, _DISCARD_PACKET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DISCARD_PACKET@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_COLS,4,2                    ; @DT_COLS
	.comm	_DISCARD_PACKET,4,2             ; @DISCARD_PACKET
	.comm	_FIRST_PACKET,4,2               ; @FIRST_PACKET
	.comm	_INTER_PACKET,4,2               ; @INTER_PACKET
	.comm	_LAST_PACKET,4,2                ; @LAST_PACKET
	.no_dead_strip	_dtcs033_pkt_scan
.subsections_via_symbols
