	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gspca_set_default_mode
_gspca_set_default_mode:                ## @gspca_set_default_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	16(%rdi), %rcx
	decq	%rcx
	movl	%ecx, (%rdi)
	movq	24(%rdi), %rax
	movq	32(%rdi), %rdx
	leaq	(%rcx,%rcx,2), %rcx
	movl	8(%rdx,%rcx,4), %esi
	movl	%esi, 48(%rdi)
	movl	4(%rdx,%rcx,4), %esi
	movl	%esi, 44(%rdi)
	movl	(%rdx,%rcx,4), %ecx
	movl	%ecx, 40(%rdi)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	8(%rdi), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.2:
	leal	-1(%rcx), %edx
	cmpl	$7, %edx
	jb	LBB0_5
## %bb.3:
	movl	%ecx, %edx
	andl	$-8, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %esi
	movl	8(%rax), %edi
	movl	%esi, 4(%rax)
	movl	%edi, 12(%rax)
	movl	16(%rax), %esi
	movl	%esi, 20(%rax)
	movl	24(%rax), %esi
	movl	%esi, 28(%rax)
	movl	32(%rax), %esi
	movl	%esi, 36(%rax)
	movl	40(%rax), %esi
	movl	%esi, 44(%rax)
	movl	48(%rax), %esi
	movl	%esi, 52(%rax)
	movl	56(%rax), %esi
	movl	%esi, 60(%rax)
	addq	$64, %rax
	addl	$-8, %edx
	jne	LBB0_4
LBB0_5:
	testb	$7, %cl
	je	LBB0_8
## %bb.6:
	andl	$7, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,8), %esi
	movl	%esi, 4(%rax,%rdx,8)
	incq	%rdx
	cmpl	%edx, %ecx
	jne	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gspca_set_default_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gspca_set_default_mode
_gspca_set_default_mode:                ; @gspca_set_default_mode
	.cfi_startproc
; %bb.0:
	ldrsw	x8, [x0, #16]
	sub	x8, x8, #1
	str	w8, [x0]
	mov	w9, #12
	ldp	x12, x10, [x0, #24]
	madd	x8, x8, x9, x10
	ldr	w9, [x8, #8]
	str	w9, [x0, #48]
	ldr	d0, [x8]
	str	d0, [x0, #40]
	cbz	x12, LBB0_9
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	subs	w9, w8, #1
	b.lt	LBB0_9
; %bb.2:
	cmp	w9, #3
	b.hs	LBB0_4
; %bb.3:
	mov	w10, #0
	mov	x9, x12
	b	LBB0_7
LBB0_4:
	add	x11, x9, #1
	and	x10, x11, #0x1fffffffc
	add	x9, x12, x10, lsl #3
	add	x12, x12, #16
	mov	x13, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w14, [x12, #-16]
	ldur	w15, [x12, #-8]
	ldr	w16, [x12]
	ldr	w17, [x12, #8]
	stur	w14, [x12, #-12]
	stur	w15, [x12, #-4]
	str	w16, [x12, #4]
	str	w17, [x12, #12]
	add	x12, x12, #32
	subs	x13, x13, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	x11, x10
	b.eq	LBB0_9
LBB0_7:
	sub	w8, w8, w10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	str	w10, [x9, #4]
	add	x9, x9, #8
	subs	w8, w8, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gspca_set_default_mode
.subsections_via_symbols
