	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_pkt_scan_bayer
_sd_pkt_scan_bayer:                     ## @sd_pkt_scan_bayer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movq	%rsi, %r8
	movl	8(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	(%rdi), %rsi
	movq	16(%rdi), %rdx
	addl	%ecx, %eax
	cmpl	(%rdx,%rsi,4), %eax
	jge	LBB0_5
## %bb.4:
	movq	_INTER_PACKET@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_FIRST_PACKET@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	movq	%r8, %rdx
	popq	%rbp
	jmp	_gspca_frame_add                ## TAILCALL
LBB0_5:
	movq	%r8, %rsi
	movl	%ecx, %edx
	popq	%rbp
	jmp	_sd_complete_frame              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRST_PACKET,4,2               ## @FIRST_PACKET
	.comm	_INTER_PACKET,4,2               ## @INTER_PACKET
	.no_dead_strip	_sd_pkt_scan_bayer
.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_bayer
_sd_pkt_scan_bayer:                     ; @sd_pkt_scan_bayer
	.cfi_startproc
; %bb.0:
	mov	x3, x2
	mov	x2, x1
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x0, #16]
	ldr	x10, [x0]
	ldr	w9, [x9, x10, lsl #2]
	add	w8, w8, w3
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _INTER_PACKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTER_PACKET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	b	_gspca_frame_add
LBB0_3:
Lloh3:
	adrp	x8, _FIRST_PACKET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIRST_PACKET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_gspca_frame_add
LBB0_4:
	mov	x1, x2
	mov	x2, x3
	b	_sd_complete_frame
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRST_PACKET,4,2               ; @FIRST_PACKET
	.comm	_INTER_PACKET,4,2               ; @INTER_PACKET
	.no_dead_strip	_sd_pkt_scan_bayer
.subsections_via_symbols
