	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sccb_write
_sccb_write:                            ## @sccb_write
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_D_USBO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_gspca_dbg
	movq	_OV534_REG_SUBADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_reg_w_i
	movq	_OV534_REG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_reg_w_i
	movq	_OV534_REG_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OV534_OP_WRITE_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_reg_w_i
	movq	%rbx, %rdi
	callq	_sccb_check_status
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_D_USBO,4,2                     ## @D_USBO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sccb_write [%02x] = %02x\n"

	.comm	_OV534_REG_SUBADDR,4,2          ## @OV534_REG_SUBADDR
	.comm	_OV534_REG_WRITE,4,2            ## @OV534_REG_WRITE
	.comm	_OV534_REG_OPERATION,4,2        ## @OV534_REG_OPERATION
	.comm	_OV534_OP_WRITE_3,4,2           ## @OV534_OP_WRITE_3
L_.str.1:                               ## @.str.1
	.asciz	"sccb_write failed\n"

	.no_dead_strip	_sccb_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sccb_write
_sccb_write:                            ; @sccb_write
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _D_USBO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_USBO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	mov	x4, x19
	bl	_gspca_dbg
Lloh5:
	adrp	x8, _OV534_REG_SUBADDR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OV534_REG_SUBADDR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	bl	_reg_w_i
Lloh8:
	adrp	x8, _OV534_REG_WRITE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OV534_REG_WRITE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_reg_w_i
Lloh11:
	adrp	x8, _OV534_REG_OPERATION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OV534_REG_OPERATION@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _OV534_OP_WRITE_3@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OV534_OP_WRITE_3@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_reg_w_i
	mov	x0, x21
	bl	_sccb_check_status
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pr_err
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_D_USBO,4,2                     ; @D_USBO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sccb_write [%02x] = %02x\n"

	.comm	_OV534_REG_SUBADDR,4,2          ; @OV534_REG_SUBADDR
	.comm	_OV534_REG_WRITE,4,2            ; @OV534_REG_WRITE
	.comm	_OV534_REG_OPERATION,4,2        ; @OV534_REG_OPERATION
	.comm	_OV534_OP_WRITE_3,4,2           ; @OV534_OP_WRITE_3
l_.str.1:                               ; @.str.1
	.asciz	"sccb_write failed\n"

	.no_dead_strip	_sccb_write
.subsections_via_symbols
