	.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
	movq	_OV534_REG_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	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:
	movq	_D_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_PDEBUG
LBB0_4:
	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:
	movq	_D_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movl	$2, %ecx
	callq	_PDEBUG
LBB0_8:
	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:
	movq	_D_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movl	$3, %ecx
	callq	_PDEBUG
LBB0_12:
	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:
	movq	_D_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movl	$4, %ecx
	callq	_PDEBUG
LBB0_16:
	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:
	movq	_D_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movl	$5, %ecx
	callq	_PDEBUG
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
	.comm	_D_ERR,4,2                      ## @D_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sccb status 0x%02x, attempt %d/5"

	.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
Lloh0:
	adrp	x20, _OV534_REG_STATUS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OV534_REG_STATUS@GOTPAGEOFF]
	ldr	w1, [x20]
	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	x8, _D_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _D_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #1
	bl	_PDEBUG
LBB0_4:
	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:
Lloh7:
	adrp	x8, _D_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _D_ERR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #2
	bl	_PDEBUG
LBB0_8:
	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:
Lloh12:
	adrp	x8, _D_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _D_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #3
	bl	_PDEBUG
LBB0_12:
	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:
Lloh17:
	adrp	x8, _D_ERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _D_ERR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #4
	bl	_PDEBUG
LBB0_16:
	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:
Lloh22:
	adrp	x8, _D_ERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _D_ERR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #5
	bl	_PDEBUG
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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_OV534_REG_STATUS,4,2           ; @OV534_REG_STATUS
	.comm	_D_ERR,4,2                      ; @D_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sccb status 0x%02x, attempt %d/5"

	.no_dead_strip	_sccb_check_status
.subsections_via_symbols
