	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx_sensor
_cx_sensor:                             ## @cx_sensor
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_cxsensor@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_reg20@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$32, %esi
	movl	$8, %ecx
	callq	_reg_w
	movq	_reg28@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	movl	$40, %esi
	movl	$8, %ecx
	callq	_reg_w
	movq	_reg10@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	%r14, %rdi
	movl	$16, %esi
	movl	$2, %ecx
	callq	_reg_w
	movq	%r14, %rdi
	movl	$146, %esi
	movl	$3, %edx
	callq	_reg_w_val
	movq	8(%r14), %rax
	movslq	(%r14), %rcx
	movslq	(%rax,%rcx,4), %rax
	cmpq	$3, %rax
	ja	LBB0_1
## %bb.2:
	leaq	l_switch.table.cx_sensor(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_reg71c@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rdx
	movq	%r14, %rdi
	movl	$113, %esi
	movl	$4, %ecx
	callq	_reg_w
	movq	_reg7b@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	movl	$123, %esi
	movl	$6, %ecx
	callq	_reg_w
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$248, %esi
	xorl	%edx, %edx
	callq	_reg_w_val
	movq	(%r12), %rdx
	movq	%r14, %rdi
	movl	$16, %esi
	movl	$2, %ecx
	callq	_reg_w
	movq	%r14, %rdi
	movl	$152, %esi
	movl	$65, %edx
	callq	_reg_w_val
	movl	$296, %r13d                     ## imm = 0x128
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movl	$232, %esi
	callq	_reg_r
	movl	%r12d, %eax
	leaq	(%r15,%rax,4), %r15
	incq	%rbx
	cmpl	$11, %ebx
	je	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	-3(%rbx), %eax
	movl	$4, %r12d
	cmpl	$5, %eax
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	l_switch.table.cx_sensor.1(%rip), %rax
	movl	-12(%rax,%rbx,4), %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movl	$229, %esi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_reg_w
	movl	$1, %edx
	cmpl	$8, %ebx
	ja	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	btl	%ebx, %r13d
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %edx
	jmp	LBB0_9
LBB0_10:
	movq	%r14, %rdi
	movl	$231, %esi
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_r                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cxsensor,8,3                   ## @cxsensor
	.comm	_reg20,8,3                      ## @reg20
	.comm	_reg28,8,3                      ## @reg28
	.comm	_reg10,8,3                      ## @reg10
	.comm	_reg71a,8,3                     ## @reg71a
	.comm	_reg71b,8,3                     ## @reg71b
	.comm	_reg71c,8,3                     ## @reg71c
	.comm	_reg71d,8,3                     ## @reg71d
	.comm	_reg7b,8,3                      ## @reg7b
	.no_dead_strip	_cx_sensor
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.cx_sensor
l_switch.table.cx_sensor:
	.quad	_reg71a
	.quad	_reg71b
	.quad	_reg71c
	.quad	_reg71d

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.cx_sensor.1
l_switch.table.cx_sensor.1:
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	8                               ## 0x8

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx_sensor
_cx_sensor:                             ; @cx_sensor
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _cxsensor@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cxsensor@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _reg20@GOTPAGE
Lloh4:
	ldr	x8, [x8, _reg20@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	mov	w1, #32
	mov	w3, #8
	bl	_reg_w
Lloh6:
	adrp	x8, _reg28@GOTPAGE
Lloh7:
	ldr	x8, [x8, _reg28@GOTPAGEOFF]
Lloh8:
	ldr	x2, [x8]
	mov	x0, x19
	mov	w1, #40
	mov	w3, #8
	bl	_reg_w
Lloh9:
	adrp	x21, _reg10@GOTPAGE
Lloh10:
	ldr	x21, [x21, _reg10@GOTPAGEOFF]
	ldr	x2, [x21]
	mov	x0, x19
	mov	w1, #16
	mov	w3, #2
	bl	_reg_w
	mov	x0, x19
	mov	w1, #146
	mov	w2, #3
	bl	_reg_w_val
	ldp	x9, x8, [x19]
	sbfiz	x9, x9, #2, #32
	ldrsw	x8, [x8, x9]
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh11:
	adrp	x9, l_switch.table.cx_sensor@PAGE
Lloh12:
	add	x9, x9, l_switch.table.cx_sensor@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _reg71c@GOTPAGE
Lloh14:
	ldr	x8, [x8, _reg71c@GOTPAGEOFF]
LBB0_3:
	ldr	x2, [x8]
	mov	x0, x19
	mov	w1, #113
	mov	w3, #4
	bl	_reg_w
Lloh15:
	adrp	x8, _reg7b@GOTPAGE
Lloh16:
	ldr	x8, [x8, _reg7b@GOTPAGEOFF]
Lloh17:
	ldr	x2, [x8]
	mov	x0, x19
	mov	w1, #123
	mov	w3, #6
	bl	_reg_w
	mov	x0, x19
	mov	w1, #248
	mov	w2, #0
	bl	_reg_w_val
	ldr	x2, [x21]
	mov	x0, x19
	mov	w1, #16
	mov	w3, #2
	bl	_reg_w
	mov	x0, x19
	mov	w1, #152
	mov	w2, #65
	bl	_reg_w_val
Lloh18:
	adrp	x8, l_switch.table.cx_sensor.1@PAGE
Lloh19:
	add	x8, x8, l_switch.table.cx_sensor.1@PAGEOFF
	sub	x22, x8, #12
	mov	w23, #-3
	mov	w24, #1
	mov	w25, #296
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w21, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w23, #3
	mov	x0, x19
	mov	w1, #229
	mov	x2, x20
	mov	x3, x21
	bl	_reg_w
	lsl	w8, w24, w26
	tst	w8, w25
	csel	w8, w21, w24, ne
	cmp	w26, #8
	csel	w2, w24, w8, hi
	mov	x0, x19
	mov	w1, #232
	bl	_reg_r
	add	x20, x20, w21, uxtw #2
	add	x22, x22, #4
	add	w23, w23, #1
	cmp	w23, #8
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w23, #5
	b.ls	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w21, #4
	b	LBB0_5
LBB0_8:
	mov	x0, x19
	mov	w1, #231
	mov	w2, #8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_reg_r
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_cxsensor,8,3                   ; @cxsensor
	.comm	_reg20,8,3                      ; @reg20
	.comm	_reg28,8,3                      ; @reg28
	.comm	_reg10,8,3                      ; @reg10
	.comm	_reg71a,8,3                     ; @reg71a
	.comm	_reg71b,8,3                     ; @reg71b
	.comm	_reg71c,8,3                     ; @reg71c
	.comm	_reg71d,8,3                     ; @reg71d
	.comm	_reg7b,8,3                      ; @reg7b
	.no_dead_strip	_cx_sensor
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cx_sensor
l_switch.table.cx_sensor:
	.quad	_reg71a
	.quad	_reg71b
	.quad	_reg71c
	.quad	_reg71d

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.cx_sensor.1
l_switch.table.cx_sensor.1:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	8                               ; 0x8

.subsections_via_symbols
