	.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
	cmpl	$90, (%rsi)
	jne	LBB0_1
## %bb.9:
	popq	%rbp
	retq
LBB0_1:
	movl	%edx, %eax
	leaq	8(%rsi), %rdx
	leal	-2(%rax), %ecx
	cmpl	$255, 8(%rsi)
	jne	LBB0_4
## %bb.2:
	cmpl	$216, 12(%rsi)
	jne	LBB0_4
## %bb.3:
	movq	_FIRST_PACKET@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	cltq
	cmpl	$255, -16(%rdx,%rax,4)
	jne	LBB0_7
## %bb.5:
	cmpl	$217, -12(%rdx,%rax,4)
	jne	LBB0_7
## %bb.6:
	movq	_LAST_PACKET@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_INTER_PACKET@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	popq	%rbp
	jmp	_gspca_frame_add                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRST_PACKET,4,2               ## @FIRST_PACKET
	.comm	_LAST_PACKET,4,2                ## @LAST_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:
	ldr	w9, [x1]
	cmp	w9, #90
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
	mov	x8, x2
	mov	x2, x1
	ldr	w9, [x2, #8]!
	sub	w3, w8, #2
	cmp	w9, #255
	b.ne	LBB0_5
; %bb.3:
	ldr	w9, [x1, #12]
	cmp	w9, #216
	b.ne	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _FIRST_PACKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIRST_PACKET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	b	_gspca_frame_add
LBB0_5:
	add	x9, x2, w8, sxtw #2
	ldur	w9, [x9, #-16]
	cmp	w9, #255
	b.ne	LBB0_8
; %bb.6:
	sxtw	x8, w8
	add	x8, x2, x8, lsl #2
	ldur	w8, [x8, #-12]
	cmp	w8, #217
	b.ne	LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _LAST_PACKET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LAST_PACKET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_gspca_frame_add
LBB0_8:
Lloh6:
	adrp	x8, _INTER_PACKET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INTER_PACKET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	b	_gspca_frame_add
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRST_PACKET,4,2               ; @FIRST_PACKET
	.comm	_LAST_PACKET,4,2                ; @LAST_PACKET
	.comm	_INTER_PACKET,4,2               ; @INTER_PACKET
	.no_dead_strip	_sd_pkt_scan
.subsections_via_symbols
