	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sccb_reg_read
_sccb_reg_read:                         ## @sccb_reg_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %edx
	movq	%rdi, %rbx
	movq	_OV534_REG_SUBADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ov534_reg_write
	movq	_OV534_REG_OPERATION@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_OV534_OP_WRITE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ov534_reg_write
	movq	%rbx, %rdi
	callq	_sccb_check_status
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
LBB0_2:
	movl	(%r14), %esi
	movq	_OV534_OP_READ_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ov534_reg_write
	movq	%rbx, %rdi
	callq	_sccb_check_status
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
LBB0_4:
	movq	_OV534_REG_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ov534_reg_read                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OV534_REG_SUBADDR,4,2          ## @OV534_REG_SUBADDR
	.comm	_OV534_REG_OPERATION,4,2        ## @OV534_REG_OPERATION
	.comm	_OV534_OP_WRITE_2,4,2           ## @OV534_OP_WRITE_2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sccb_reg_read failed 1\n"

	.comm	_OV534_OP_READ_2,4,2            ## @OV534_OP_READ_2
L_.str.1:                               ## @.str.1
	.asciz	"sccb_reg_read failed 2\n"

	.comm	_OV534_REG_READ,4,2             ## @OV534_REG_READ
	.no_dead_strip	_sccb_reg_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sccb_reg_read
_sccb_reg_read:                         ; @sccb_reg_read
	.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	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _OV534_REG_SUBADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OV534_REG_SUBADDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ov534_reg_write
Lloh3:
	adrp	x20, _OV534_REG_OPERATION@GOTPAGE
Lloh4:
	ldr	x20, [x20, _OV534_REG_OPERATION@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _OV534_OP_WRITE_2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OV534_OP_WRITE_2@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ov534_reg_write
	mov	x0, x19
	bl	_sccb_check_status
	cbnz	w0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_2:
	ldr	w1, [x20]
Lloh10:
	adrp	x8, _OV534_OP_READ_2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OV534_OP_READ_2@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ov534_reg_write
	mov	x0, x19
	bl	_sccb_check_status
	cbnz	w0, LBB0_4
; %bb.3:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
LBB0_4:
Lloh15:
	adrp	x8, _OV534_REG_READ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OV534_REG_READ@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ov534_reg_read
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_OV534_REG_SUBADDR,4,2          ; @OV534_REG_SUBADDR
	.comm	_OV534_REG_OPERATION,4,2        ; @OV534_REG_OPERATION
	.comm	_OV534_OP_WRITE_2,4,2           ; @OV534_OP_WRITE_2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sccb_reg_read failed 1\n"

	.comm	_OV534_OP_READ_2,4,2            ; @OV534_OP_READ_2
l_.str.1:                               ; @.str.1
	.asciz	"sccb_reg_read failed 2\n"

	.comm	_OV534_REG_READ,4,2             ; @OV534_REG_READ
	.no_dead_strip	_sccb_reg_read
.subsections_via_symbols
