	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function configure_geometry
_configure_geometry:                    ## @configure_geometry
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	decl	%ebx
	shll	$16, %r12d
	leal	-65536(%r12), %r14d
	orl	%ebx, %r14d
	movq	_CSI_SENS_FRM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	callq	_csi_reg_write
	shll	$16, %ebx
	movq	_CSI_FLASH_STROBE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_csi_reg_write
	addl	$-65502, %r12d                  ## imm = 0xFFFF0022
	movq	_CSI_FLASH_STROBE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_csi_reg_write
	movq	_CSI_ACT_FRM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_csi_reg_write
	movq	_CSI_OUT_FRM_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_csi_reg_read
	andl	$-65536, %eax                   ## imm = 0xFFFF0000
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_csi_reg_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSI_SENS_FRM_SIZE,4,2          ## @CSI_SENS_FRM_SIZE
	.comm	_CSI_FLASH_STROBE_1,4,2         ## @CSI_FLASH_STROBE_1
	.comm	_CSI_FLASH_STROBE_2,4,2         ## @CSI_FLASH_STROBE_2
	.comm	_CSI_ACT_FRM_SIZE,4,2           ## @CSI_ACT_FRM_SIZE
	.comm	_CSI_OUT_FRM_CTRL,4,2           ## @CSI_OUT_FRM_CTRL
	.no_dead_strip	_configure_geometry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function configure_geometry
_configure_geometry:                    ; @configure_geometry
	.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	x19, x0
	sub	w21, w1, #1
	lsl	w22, w2, #16
	sub	w8, w22, #16, lsl #12           ; =65536
	orr	w20, w8, w21
Lloh0:
	adrp	x8, _CSI_SENS_FRM_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSI_SENS_FRM_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_csi_reg_write
	lsl	w1, w21, #16
Lloh3:
	adrp	x8, _CSI_FLASH_STROBE_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSI_FLASH_STROBE_1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_csi_reg_write
	mov	w8, #-65502
	add	w1, w22, w8
Lloh6:
	adrp	x8, _CSI_FLASH_STROBE_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CSI_FLASH_STROBE_2@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_csi_reg_write
Lloh9:
	adrp	x8, _CSI_ACT_FRM_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CSI_ACT_FRM_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_csi_reg_write
Lloh12:
	adrp	x20, _CSI_OUT_FRM_CTRL@GOTPAGE
Lloh13:
	ldr	x20, [x20, _CSI_OUT_FRM_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_csi_reg_read
	and	w1, w0, #0xffff0000
	ldr	w2, [x20]
	mov	x0, x19
	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	_csi_reg_write
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CSI_SENS_FRM_SIZE,4,2          ; @CSI_SENS_FRM_SIZE
	.comm	_CSI_FLASH_STROBE_1,4,2         ; @CSI_FLASH_STROBE_1
	.comm	_CSI_FLASH_STROBE_2,4,2         ; @CSI_FLASH_STROBE_2
	.comm	_CSI_ACT_FRM_SIZE,4,2           ; @CSI_ACT_FRM_SIZE
	.comm	_CSI_OUT_FRM_CTRL,4,2           ; @CSI_OUT_FRM_CTRL
	.no_dead_strip	_configure_geometry
.subsections_via_symbols
