	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9t001_set_output_control
_mt9t001_set_output_control:            ## @mt9t001_set_output_control
	.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, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	addq	$4, %rdi
	callq	_v4l2_get_subdevdata
	movl	(%r14), %ecx
	notl	%ebx
	andl	%ecx, %ebx
	orl	%r15d, %ebx
	xorl	%r15d, %r15d
	cmpl	%ecx, %ebx
	je	LBB0_4
## %bb.1:
	movq	_MT9T001_OUTPUT_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_mt9t001_write
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%ebx, (%r14)
	jmp	LBB0_4
LBB0_2:
	movl	%eax, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT9T001_OUTPUT_CONTROL,4,2     ## @MT9T001_OUTPUT_CONTROL
	.no_dead_strip	_mt9t001_set_output_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9t001_set_output_control
_mt9t001_set_output_control:            ; @mt9t001_set_output_control
	.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
	add	x0, x0, #4
	bl	_v4l2_get_subdevdata
	ldr	w8, [x19]
	bic	w9, w8, w21
	orr	w20, w9, w20
	cmp	w20, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _MT9T001_OUTPUT_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT9T001_OUTPUT_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_mt9t001_write
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	w0, #0
	str	w20, [x19]
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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT9T001_OUTPUT_CONTROL,4,2     ; @MT9T001_OUTPUT_CONTROL
	.no_dead_strip	_mt9t001_set_output_control
.subsections_via_symbols
