	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sccb_check_status
_sccb_check_status:                     ## @sccb_check_status
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	_OV534_REG_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ov534_reg_read
	movl	$1, %r14d
	testl	%eax, %eax
	je	LBB0_21
## %bb.1:
	cmpl	$3, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$4, %eax
	je	LBB0_20
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_gspca_err
LBB0_4:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ov534_reg_read
	testl	%eax, %eax
	je	LBB0_21
## %bb.5:
	cmpl	$3, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$4, %eax
	je	LBB0_20
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	$2, %ecx
	callq	_gspca_err
LBB0_8:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ov534_reg_read
	testl	%eax, %eax
	je	LBB0_21
## %bb.9:
	cmpl	$3, %eax
	je	LBB0_12
## %bb.10:
	cmpl	$4, %eax
	je	LBB0_20
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	$3, %ecx
	callq	_gspca_err
LBB0_12:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ov534_reg_read
	testl	%eax, %eax
	je	LBB0_21
## %bb.13:
	cmpl	$3, %eax
	je	LBB0_16
## %bb.14:
	cmpl	$4, %eax
	je	LBB0_20
## %bb.15:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	$4, %ecx
	callq	_gspca_err
LBB0_16:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ov534_reg_read
	testl	%eax, %eax
	je	LBB0_21
## %bb.17:
	cmpl	$3, %eax
	je	LBB0_20
## %bb.18:
	cmpl	$4, %eax
	je	LBB0_20
## %bb.19:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	$5, %ecx
	callq	_gspca_err
LBB0_20:
	xorl	%r14d, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV534_REG_STATUS,4,2           ## @OV534_REG_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sccb status 0x%02x, attempt %d/5\n"

	.no_dead_strip	_sccb_check_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sccb_check_status
_sccb_check_status:                     ; @sccb_check_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
Lloh0:
	adrp	x20, _OV534_REG_STATUS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OV534_REG_STATUS@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ov534_reg_read
	cbz	w0, LBB0_21
; %bb.1:
	mov	x2, x0
	cmp	w0, #3
	b.eq	LBB0_4
; %bb.2:
	cmp	w2, #4
	b.eq	LBB0_20
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #1
	bl	_gspca_err
LBB0_4:
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ov534_reg_read
	cbz	w0, LBB0_21
; %bb.5:
	mov	x2, x0
	cmp	w0, #3
	b.eq	LBB0_8
; %bb.6:
	cmp	w2, #4
	b.eq	LBB0_20
; %bb.7:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #2
	bl	_gspca_err
LBB0_8:
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ov534_reg_read
	cbz	w0, LBB0_21
; %bb.9:
	mov	x2, x0
	cmp	w0, #3
	b.eq	LBB0_12
; %bb.10:
	cmp	w2, #4
	b.eq	LBB0_20
; %bb.11:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #3
	bl	_gspca_err
LBB0_12:
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ov534_reg_read
	cbz	w0, LBB0_21
; %bb.13:
	mov	x2, x0
	cmp	w0, #3
	b.eq	LBB0_16
; %bb.14:
	cmp	w2, #4
	b.eq	LBB0_20
; %bb.15:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #4
	bl	_gspca_err
LBB0_16:
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ov534_reg_read
	cbz	w0, LBB0_21
; %bb.17:
	mov	x2, x0
	cmp	w0, #3
	b.eq	LBB0_20
; %bb.18:
	cmp	w2, #4
	b.eq	LBB0_20
; %bb.19:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #5
	bl	_gspca_err
LBB0_20:
	mov	w0, #0
	b	LBB0_22
LBB0_21:
	mov	w0, #1
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_OV534_REG_STATUS,4,2           ; @OV534_REG_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sccb status 0x%02x, attempt %d/5\n"

	.no_dead_strip	_sccb_check_status
.subsections_via_symbols
