	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sethvflip
_sethvflip:                             ## @sethvflip
	.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, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_OV519_R51_RESET1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$15, %edx
	callq	_reg_w
LBB0_2:
	movq	_OV7670_R1E_MVFP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OV7670_MVFP_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%eax, %r15d
	movq	_OV7670_MVFP_VFLIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%ecx, %ebx
	orl	%r15d, %ebx
	orl	%eax, %ecx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_i2c_w_mask
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.4:
	movq	_OV519_R51_RESET1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_w                          ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV519_R51_RESET1,4,2           ## @OV519_R51_RESET1
	.comm	_OV7670_R1E_MVFP,4,2            ## @OV7670_R1E_MVFP
	.comm	_OV7670_MVFP_MIRROR,4,2         ## @OV7670_MVFP_MIRROR
	.comm	_OV7670_MVFP_VFLIP,4,2          ## @OV7670_MVFP_VFLIP
	.no_dead_strip	_sethvflip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sethvflip
_sethvflip:                             ; @sethvflip
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _OV519_R51_RESET1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OV519_R51_RESET1@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #15
	bl	_reg_w
LBB0_2:
Lloh2:
	adrp	x8, _OV7670_R1E_MVFP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OV7670_R1E_MVFP@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _OV7670_MVFP_MIRROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OV7670_MVFP_MIRROR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mul	w9, w8, w21
Lloh8:
	adrp	x10, _OV7670_MVFP_VFLIP@GOTPAGE
Lloh9:
	ldr	x10, [x10, _OV7670_MVFP_VFLIP@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	mul	w11, w10, w20
	orr	w2, w11, w9
	orr	w3, w10, w8
	mov	x0, x19
	bl	_i2c_w_mask
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	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	_reg_w
LBB0_4:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OV519_R51_RESET1,4,2           ; @OV519_R51_RESET1
	.comm	_OV7670_R1E_MVFP,4,2            ; @OV7670_R1E_MVFP
	.comm	_OV7670_MVFP_MIRROR,4,2         ; @OV7670_MVFP_MIRROR
	.comm	_OV7670_MVFP_VFLIP,4,2          ; @OV7670_MVFP_VFLIP
	.no_dead_strip	_sethvflip
.subsections_via_symbols
