	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sif_probe
_sif_probe:                             ## @sif_probe
	.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	%rdi, %r14
	movl	$15, %esi
	callq	_start_2wr_probe
	movq	%r14, %rdi
	movl	$8, %esi
	movl	$141, %edx
	callq	_reg_w
	movl	$150, %edi
	callq	_msleep
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_i2c_read
	shll	$4, %eax
	movzbl	%al, %r15d
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_i2c_read
	movl	%eax, %ebx
	shrl	$4, %ebx
	andl	$15, %ebx
	orl	%r15d, %ebx
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_gspca_dbg
	movl	$-1, %eax
	cmpl	$7, %ebx
	jne	LBB0_2
## %bb.1:
	movq	_SENSOR_PAS106@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_send_unknown
	movl	$15, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"probe sif 0x%04x\n"

	.comm	_SENSOR_PAS106,4,2              ## @SENSOR_PAS106
	.no_dead_strip	_sif_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sif_probe
_sif_probe:                             ; @sif_probe
	.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
	mov	w1, #15
	bl	_start_2wr_probe
	mov	x0, x19
	mov	w1, #8
	mov	w2, #141
	bl	_reg_w
	mov	w0, #150
	bl	_msleep
	mov	x0, x19
	mov	w1, #0
	bl	_i2c_read
	ubfiz	w20, w0, #4, #4
	mov	x0, x19
	mov	w1, #1
	bl	_i2c_read
	bfxil	w20, w0, #4, #4
Lloh0:
	adrp	x8, _D_PROBE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_PROBE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_gspca_dbg
	cmp	w20, #7
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _SENSOR_PAS106@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SENSOR_PAS106@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_send_unknown
	mov	w0, #15
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"probe sif 0x%04x\n"

	.comm	_SENSOR_PAS106,4,2              ; @SENSOR_PAS106
	.no_dead_strip	_sif_probe
.subsections_via_symbols
