	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spca504_read_info
_spca504_read_info:                     ## @spca504_read_info
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_gspca_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_D_STREAM@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jge	LBB0_1
## %bb.2:
	addq	$8, %rsp
	jmp	LBB0_3
LBB0_1:
	movq	%rdi, %rbx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_reg_r
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_reg_r
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	movl	$1, %ecx
	callq	_reg_r
	movq	(%rbx), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$3, %edx
	movl	$1, %ecx
	callq	_reg_r
	movq	(%rbx), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	movl	$1, %ecx
	callq	_reg_r
	movq	(%rbx), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$5, %edx
	movl	$1, %ecx
	callq	_reg_r
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movq	(%r13), %rsi
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	pushq	%rax
	pushq	%r15
	pushq	%r14
	callq	_gspca_dbg
	addq	$40, %rsp
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gspca_debug,8,3                ## @gspca_debug
	.comm	_D_STREAM,8,3                   ## @D_STREAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read info: %d %d %d %d %d %d. Should be 1,0,2,2,0,0\n"

	.no_dead_strip	_spca504_read_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spca504_read_info
_spca504_read_info:                     ; @spca504_read_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _gspca_debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gspca_debug@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x25, _D_STREAM@GOTPAGE
Lloh4:
	ldr	x25, [x25, _D_STREAM@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w20, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	mov	w3, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w21, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #2
	mov	w3, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w22, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #3
	mov	w3, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w23, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	mov	w3, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w24, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #5
	mov	w3, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w8, [x8]
	ldr	x1, [x25]
	str	w8, [sp]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	mov	x4, x21
	mov	x5, x22
	mov	x6, x23
	mov	x7, x24
	bl	_gspca_dbg
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_gspca_debug,8,3                ; @gspca_debug
	.comm	_D_STREAM,8,3                   ; @D_STREAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read info: %d %d %d %d %d %d. Should be 1,0,2,2,0,0\n"

	.no_dead_strip	_spca504_read_info
.subsections_via_symbols
