	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv06xx_config
_stv06xx_config:                        ## @stv06xx_config
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_gspca_dbg
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	_sd_desc@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	_dump_bridge@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_stv06xx_dump_bridge
LBB0_2:
	movq	_stv06xx_sensor_st6422@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	_stv06xx_sensor_vv6410@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	_stv06xx_sensor_hdcs1x00@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	_stv06xx_sensor_hdcs1020@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	_stv06xx_sensor_pb0100@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	$0, (%rbx)
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Configuring camera\n"

	.comm	_sd_desc,4,2                    ## @sd_desc
	.comm	_dump_bridge,8,3                ## @dump_bridge
	.comm	_stv06xx_sensor_st6422,8,3      ## @stv06xx_sensor_st6422
	.comm	_stv06xx_sensor_vv6410,8,3      ## @stv06xx_sensor_vv6410
	.comm	_stv06xx_sensor_hdcs1x00,8,3    ## @stv06xx_sensor_hdcs1x00
	.comm	_stv06xx_sensor_hdcs1020,8,3    ## @stv06xx_sensor_hdcs1020
	.comm	_stv06xx_sensor_pb0100,8,3      ## @stv06xx_sensor_pb0100
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_stv06xx_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv06xx_config
_stv06xx_config:                        ; @stv06xx_config
	.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	x20, x1
	mov	x19, x0
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
	bl	_gspca_dbg
	ldr	w8, [x20]
	str	w8, [x19, #8]
Lloh5:
	adrp	x8, _sd_desc@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sd_desc@GOTPAGEOFF]
	str	x8, [x19]
Lloh7:
	adrp	x8, _dump_bridge@GOTPAGE
Lloh8:
	ldr	x8, [x8, _dump_bridge@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_stv06xx_dump_bridge
LBB0_2:
Lloh10:
	adrp	x8, _stv06xx_sensor_st6422@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stv06xx_sensor_st6422@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.3:
Lloh12:
	adrp	x8, _stv06xx_sensor_vv6410@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stv06xx_sensor_vv6410@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.4:
Lloh14:
	adrp	x8, _stv06xx_sensor_hdcs1x00@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stv06xx_sensor_hdcs1x00@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.5:
Lloh16:
	adrp	x8, _stv06xx_sensor_hdcs1020@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stv06xx_sensor_hdcs1020@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.6:
Lloh18:
	adrp	x8, _stv06xx_sensor_pb0100@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stv06xx_sensor_pb0100@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.7:
	str	xzr, [x19]
Lloh20:
	adrp	x8, _ENODEV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Configuring camera\n"

	.comm	_sd_desc,4,2                    ; @sd_desc
	.comm	_dump_bridge,8,3                ; @dump_bridge
	.comm	_stv06xx_sensor_st6422,8,3      ; @stv06xx_sensor_st6422
	.comm	_stv06xx_sensor_vv6410,8,3      ; @stv06xx_sensor_vv6410
	.comm	_stv06xx_sensor_hdcs1x00,8,3    ; @stv06xx_sensor_hdcs1x00
	.comm	_stv06xx_sensor_hdcs1020,8,3    ; @stv06xx_sensor_hdcs1020
	.comm	_stv06xx_sensor_pb0100,8,3      ; @stv06xx_sensor_pb0100
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_stv06xx_config
.subsections_via_symbols
