	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function po2030n_probe
_po2030n_probe:                         ## @po2030n_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$23, %esi
	movl	$98, %edx
	callq	_reg_w1
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$8, %edx
	callq	_reg_w1
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$34, %edx
	callq	_reg_w1
	movl	$33, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_i2c_r
	movq	(%rbx), %rax
	movl	16(%rax), %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$41, %edx
	callq	_reg_w1
	movq	%rbx, %rdi
	movl	$23, %esi
	movl	$66, %edx
	callq	_reg_w1
	cmpl	$153, %r14d
	jne	LBB0_3
## %bb.1:
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gspca_dbg
	movq	_SENSOR_GC0307@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movl	$23, %esi
	movl	$98, %edx
	callq	_reg_w1
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$10, %edx
	callq	_reg_w1
	movl	$110, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_i2c_r
	movq	(%rbx), %rax
	movl	12(%rax), %r14d
	shll	$8, %r14d
	orl	16(%rax), %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$41, %edx
	callq	_reg_w1
	movq	%rbx, %rdi
	movl	$23, %esi
	movl	$66, %edx
	callq	_reg_w1
	cmpq	$0, 8(%rbx)
	js	LBB0_2
## %bb.4:
	cmpl	$8240, %r14d                    ## imm = 0x2030
	jne	LBB0_5
## %bb.6:
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gspca_dbg                      ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sensor gc0307\n"

	.comm	_SENSOR_GC0307,4,2              ## @SENSOR_GC0307
L_.str.1:                               ## @.str.1
	.asciz	"Sensor po2030n\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown sensor ID %04x\n"

	.no_dead_strip	_po2030n_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function po2030n_probe
_po2030n_probe:                         ; @po2030n_probe
	.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
	mov	w1, #23
	mov	w2, #98
	bl	_reg_w1
	mov	x0, x19
	mov	w1, #1
	mov	w2, #8
	bl	_reg_w1
	mov	x0, x19
	mov	w1, #2
	mov	w2, #34
	bl	_reg_w1
	mov	w8, #33
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_i2c_r
	ldr	x8, [x19]
	ldr	w20, [x8, #16]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #41
	bl	_reg_w1
	mov	x0, x19
	mov	w1, #23
	mov	w2, #66
	bl	_reg_w1
	cmp	w20, #153
	b.ne	LBB0_2
; %bb.1:
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
	bl	_gspca_dbg
Lloh5:
	adrp	x8, _SENSOR_GC0307@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SENSOR_GC0307@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	mov	w1, #23
	mov	w2, #98
	bl	_reg_w1
	mov	x0, x19
	mov	w1, #1
	mov	w2, #10
	bl	_reg_w1
	mov	w8, #110
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #2
	bl	_i2c_r
	ldr	x8, [x19]
	ldp	w20, w21, [x8, #12]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #41
	bl	_reg_w1
	mov	x0, x19
	mov	w1, #23
	mov	w2, #66
	bl	_reg_w1
	ldr	x8, [x19, #8]
	tbnz	x8, #63, LBB0_5
; %bb.3:
	orr	w1, w21, w20, lsl #8
	mov	w8, #8240
	cmp	w1, w8
	b.ne	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _D_PROBE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _D_PROBE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	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	_gspca_dbg
LBB0_5:
	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
LBB0_6:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	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	_pr_err
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sensor gc0307\n"

	.comm	_SENSOR_GC0307,4,2              ; @SENSOR_GC0307
l_.str.1:                               ; @.str.1
	.asciz	"Sensor po2030n\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown sensor ID %04x\n"

	.no_dead_strip	_po2030n_probe
.subsections_via_symbols
