	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov6650_s_mbus_config
_ov6650_s_mbus_config:                  ## @ov6650_s_mbus_config
	.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	%rsi, %rbx
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	movq	_V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_REG_COMJ@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_COMJ_PCLK_RISING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	%ecx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	xorl	%edx, %edx
LBB0_3:
	callq	_ov6650_reg_rmw
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:
	movq	_V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_REG_COMF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_COMF_HREF_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	%ecx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	xorl	%edx, %edx
LBB0_7:
	callq	_ov6650_reg_rmw
	testl	%eax, %eax
	je	LBB0_8
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r15), %esi
	movq	_COMJ_VSYNC_HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movl	%ecx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_11
LBB0_10:
	movq	%r14, %rdi
	xorl	%edx, %edx
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ov6650_reg_rmw                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ## @V4L2_MBUS_PCLK_SAMPLE_RISING
	.comm	_REG_COMJ,4,2                   ## @REG_COMJ
	.comm	_COMJ_PCLK_RISING,4,2           ## @COMJ_PCLK_RISING
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_LOW,4,2 ## @V4L2_MBUS_HSYNC_ACTIVE_LOW
	.comm	_REG_COMF,4,2                   ## @REG_COMF
	.comm	_COMF_HREF_LOW,4,2              ## @COMF_HREF_LOW
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_HIGH,4,2 ## @V4L2_MBUS_VSYNC_ACTIVE_HIGH
	.comm	_COMJ_VSYNC_HIGH,4,2            ## @COMJ_VSYNC_HIGH
	.no_dead_strip	_ov6650_s_mbus_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov6650_s_mbus_config
_ov6650_s_mbus_config:                  ; @ov6650_s_mbus_config
	.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, x1
	bl	_v4l2_get_subdevdata
	mov	x19, x0
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGEOFF]
Lloh2:
	adrp	x21, _REG_COMJ@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REG_COMJ@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldr	w1, [x21]
Lloh5:
	adrp	x10, _COMJ_PCLK_RISING@GOTPAGE
Lloh6:
	ldr	x10, [x10, _COMJ_PCLK_RISING@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x10]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x2, x3
	mov	w3, #0
	bl	_ov6650_reg_rmw
	cbnz	w0, LBB0_5
	b	LBB0_3
LBB0_2:
	mov	w2, #0
	bl	_ov6650_reg_rmw
	cbnz	w0, LBB0_5
LBB0_3:
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh10:
	adrp	x10, _REG_COMF@GOTPAGE
Lloh11:
	ldr	x10, [x10, _REG_COMF@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	ldr	w1, [x10]
Lloh14:
	adrp	x10, _COMF_HREF_LOW@GOTPAGE
Lloh15:
	ldr	x10, [x10, _COMF_HREF_LOW@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x10]
	mov	x0, x19
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	mov	x2, x3
	mov	w3, #0
	bl	_ov6650_reg_rmw
	cbz	w0, LBB0_7
LBB0_5:
	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_6:
	mov	w2, #0
	bl	_ov6650_reg_rmw
	cbnz	w0, LBB0_5
LBB0_7:
	ldr	w8, [x20]
Lloh17:
	adrp	x9, _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPAGE
Lloh18:
	ldr	x9, [x9, _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	ldr	w1, [x21]
Lloh20:
	adrp	x10, _COMJ_VSYNC_HIGH@GOTPAGE
Lloh21:
	ldr	x10, [x10, _COMJ_VSYNC_HIGH@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x10]
	mov	x0, x19
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x2, x3
	mov	w3, #0
	b	LBB0_10
LBB0_9:
	mov	w2, #0
LBB0_10:
	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	_ov6650_reg_rmw
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ; @V4L2_MBUS_PCLK_SAMPLE_RISING
	.comm	_REG_COMJ,4,2                   ; @REG_COMJ
	.comm	_COMJ_PCLK_RISING,4,2           ; @COMJ_PCLK_RISING
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_LOW,4,2 ; @V4L2_MBUS_HSYNC_ACTIVE_LOW
	.comm	_REG_COMF,4,2                   ; @REG_COMF
	.comm	_COMF_HREF_LOW,4,2              ; @COMF_HREF_LOW
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_HIGH,4,2 ; @V4L2_MBUS_VSYNC_ACTIVE_HIGH
	.comm	_COMJ_VSYNC_HIGH,4,2            ; @COMJ_VSYNC_HIGH
	.no_dead_strip	_ov6650_s_mbus_config
.subsections_via_symbols
