	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hv7131r_probe
_hv7131r_probe:                         ## @hv7131r_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_i2c_w1
	movl	$10, %edi
	callq	_msleep
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$102, %edx
	callq	_reg_w1
	movl	$10, %edi
	callq	_msleep
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_i2c_r
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edx
	cmpl	$2, %esi
	jne	LBB0_4
## %bb.1:
	cmpl	$9, %edx
	jne	LBB0_4
## %bb.2:
	movl	$9, %edx
	cmpl	$1, 8(%rax)
	jne	LBB0_4
## %bb.3:
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gspca_dbg                      ## TAILCALL
LBB0_4:
	movl	8(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sensor HV7131R found\n"

L_.str.1:                               ## @.str.1
	.asciz	"Erroneous HV7131R ID 0x%02x 0x%02x 0x%02x\n"

	.no_dead_strip	_hv7131r_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hv7131r_probe
_hv7131r_probe:                         ; @hv7131r_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, #2
	mov	w2, #0
	bl	_i2c_w1
	mov	w0, #10
	bl	_msleep
	mov	x0, x19
	mov	w1, #2
	mov	w2, #102
	bl	_reg_w1
	mov	w0, #10
	bl	_msleep
	mov	x0, x19
	mov	w1, #0
	mov	w2, #5
	bl	_i2c_r
	ldr	x8, [x19]
	ldp	w1, w2, [x8]
	cmp	w1, #2
	ccmp	w2, #9, #0, eq
	b.ne	LBB0_4
; %bb.1:
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.ne	LBB0_3
; %bb.2:
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
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gspca_dbg
LBB0_3:
	mov	w2, #9
LBB0_4:
	ldr	w3, [x8, #8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_warn
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sensor HV7131R found\n"

l_.str.1:                               ; @.str.1
	.asciz	"Erroneous HV7131R ID 0x%02x 0x%02x 0x%02x\n"

	.no_dead_strip	_hv7131r_probe
.subsections_via_symbols
