	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov_hires_configure
_ov_hires_configure:                    ## @ov_hires_configure
	.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, %rbx
	movq	(%rdi), %rax
	movq	_BRIDGE_OVFX2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.1:
	movq	_D_PROBE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gspca_dbg
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_i2c_r
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_i2c_r
	cmpl	$54, %r14d
	je	LBB0_10
## %bb.2:
	cmpl	$150, %r14d
	jne	LBB0_12
## %bb.3:
	cmpl	$177, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$65, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$64, %eax
	jne	LBB0_12
## %bb.6:
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gspca_dbg
	movq	_SEN_OV2610@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_13:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gspca_err                      ## TAILCALL
LBB0_10:
	testb	$15, %al
	je	LBB0_11
LBB0_12:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gspca_err                      ## TAILCALL
LBB0_11:
	movl	(%r15), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gspca_dbg
	movq	_SEN_OV3610@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	movl	(%r15), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gspca_dbg
	movq	_SEN_OV9600@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	movl	(%r15), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gspca_dbg
	movq	_SEN_OV2610AE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRIDGE_OVFX2,8,3               ## @BRIDGE_OVFX2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error hires sensors only supported with ovfx2\n"

	.comm	_D_PROBE,4,2                    ## @D_PROBE
L_.str.1:                               ## @.str.1
	.asciz	"starting ov hires configuration\n"

L_.str.2:                               ## @.str.2
	.asciz	"Sensor is a OV2610\n"

	.comm	_SEN_OV2610,4,2                 ## @SEN_OV2610
L_.str.3:                               ## @.str.3
	.asciz	"Sensor is a OV2610AE\n"

	.comm	_SEN_OV2610AE,4,2               ## @SEN_OV2610AE
L_.str.4:                               ## @.str.4
	.asciz	"Sensor is a OV9600\n"

	.comm	_SEN_OV9600,4,2                 ## @SEN_OV9600
L_.str.5:                               ## @.str.5
	.asciz	"Sensor is a OV3610\n"

	.comm	_SEN_OV3610,4,2                 ## @SEN_OV3610
L_.str.6:                               ## @.str.6
	.asciz	"Error unknown sensor type: %02x%02x\n"

	.no_dead_strip	_ov_hires_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov_hires_configure
_ov_hires_configure:                    ; @ov_hires_configure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BRIDGE_OVFX2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRIDGE_OVFX2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
Lloh3:
	adrp	x21, _D_PROBE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _D_PROBE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_gspca_dbg
	mov	x0, x19
	mov	w1, #10
	bl	_i2c_r
	mov	x20, x0
	mov	x0, x19
	mov	w1, #11
	bl	_i2c_r
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w20, #54
	b.eq	LBB0_8
; %bb.2:
	cmp	w20, #150
	b.ne	LBB0_9
; %bb.3:
	cmp	w0, #177
	b.eq	LBB0_11
; %bb.4:
	cmp	w0, #65
	b.eq	LBB0_12
; %bb.5:
	cmp	w0, #64
	b.ne	LBB0_9
; %bb.6:
	ldr	w1, [x21]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_gspca_dbg
Lloh9:
	adrp	x8, _SEN_OV2610@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEN_OV2610@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_gspca_err
LBB0_8:
	tst	w0, #0xf
	b.eq	LBB0_10
LBB0_9:
	stp	x20, x0, [sp]
Lloh13:
	adrp	x1, l_.str.6@PAGE
Lloh14:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_gspca_err
	b	LBB0_14
LBB0_10:
	ldr	w1, [x21]
Lloh15:
	adrp	x2, l_.str.5@PAGE
Lloh16:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_gspca_dbg
Lloh17:
	adrp	x8, _SEN_OV3610@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SEN_OV3610@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	ldr	w1, [x21]
Lloh19:
	adrp	x2, l_.str.4@PAGE
Lloh20:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_gspca_dbg
Lloh21:
	adrp	x8, _SEN_OV9600@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SEN_OV9600@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	ldr	w1, [x21]
Lloh23:
	adrp	x2, l_.str.3@PAGE
Lloh24:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_gspca_dbg
Lloh25:
	adrp	x8, _SEN_OV2610AE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SEN_OV2610AE@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_BRIDGE_OVFX2,8,3               ; @BRIDGE_OVFX2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error hires sensors only supported with ovfx2\n"

	.comm	_D_PROBE,4,2                    ; @D_PROBE
l_.str.1:                               ; @.str.1
	.asciz	"starting ov hires configuration\n"

l_.str.2:                               ; @.str.2
	.asciz	"Sensor is a OV2610\n"

	.comm	_SEN_OV2610,4,2                 ; @SEN_OV2610
l_.str.3:                               ; @.str.3
	.asciz	"Sensor is a OV2610AE\n"

	.comm	_SEN_OV2610AE,4,2               ; @SEN_OV2610AE
l_.str.4:                               ; @.str.4
	.asciz	"Sensor is a OV9600\n"

	.comm	_SEN_OV9600,4,2                 ; @SEN_OV9600
l_.str.5:                               ; @.str.5
	.asciz	"Sensor is a OV3610\n"

	.comm	_SEN_OV3610,4,2                 ; @SEN_OV3610
l_.str.6:                               ; @.str.6
	.asciz	"Error unknown sensor type: %02x%02x\n"

	.no_dead_strip	_ov_hires_configure
.subsections_via_symbols
