	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __mt9v032_set_power
___mt9v032_set_power:                   ## @__mt9v032_set_power
	.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
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	24(%rbx), %r14
	movq	%rbx, %rdi
	callq	_mt9v032_power_on
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	_MT9V032_PIXEL_CLOCK_INV_PXL_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_7
LBB0_6:
	movq	_MT9V032_ROW_NOISE_CORR_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_v4l2_ctrl_handler_setup        ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_mt9v032_power_off
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT9V032_PIXEL_CLOCK_INV_PXL_CLK,4,2 ## @MT9V032_PIXEL_CLOCK_INV_PXL_CLK
	.comm	_MT9V032_ROW_NOISE_CORR_CONTROL,4,2 ## @MT9V032_ROW_NOISE_CORR_CONTROL
	.no_dead_strip	___mt9v032_set_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __mt9v032_set_power
___mt9v032_set_power:                   ; @__mt9v032_set_power
	.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	x19, x0
	cbz	w1, LBB0_7
; %bb.1:
	ldr	x20, [x19, #24]
	mov	x0, x19
	bl	_mt9v032_power_on
	tbnz	w0, #31, LBB0_8
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh0:
	adrp	x8, _MT9V032_PIXEL_CLOCK_INV_PXL_CLK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT9V032_PIXEL_CLOCK_INV_PXL_CLK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_regmap_write
	tbnz	w0, #31, LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _MT9V032_ROW_NOISE_CORR_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT9V032_ROW_NOISE_CORR_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_regmap_write
	tbnz	w0, #31, LBB0_8
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_v4l2_ctrl_handler_setup
LBB0_7:
	mov	x0, x19
	bl	_mt9v032_power_off
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MT9V032_PIXEL_CLOCK_INV_PXL_CLK,4,2 ; @MT9V032_PIXEL_CLOCK_INV_PXL_CLK
	.comm	_MT9V032_ROW_NOISE_CORR_CONTROL,4,2 ; @MT9V032_ROW_NOISE_CORR_CONTROL
	.no_dead_strip	___mt9v032_set_power
.subsections_via_symbols
