	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_init
_sd_init:                               ## @sd_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$6, %esi
	callq	_reg_r
	movl	%eax, %ebx
	shll	$8, %ebx
	movq	%r15, %rdi
	movl	$7, %esi
	callq	_reg_r
	orl	%ebx, %eax
	movl	%eax, %ecx
	andl	$-241, %ecx
	addl	$-2049, %ecx                    ## imm = 0xF7FF
	cmpw	$7, %cx
	jae	LBB0_1
## %bb.3:
	movl	$71, %edx
	btl	%ecx, %edx
	jb	LBB0_4
LBB0_1:
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_4:
	movswq	%cx, %rax
	leaq	l_reltable.sd_init(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	leaq	l_switch.table.sd_init.7(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	movq	_SENSOR_OM6802@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.5:
	leaq	_sd_init.n1(%rip), %rsi
	movq	%r15, %rdi
	movl	$24, %edx
	callq	_reg_w_buf
	movq	_sensor_reset@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	%r15, %rdi
	movl	$99, %esi
	callq	_reg_r
	movl	%eax, %ebx
	movl	$100, %edi
	callq	_msleep
	cmpl	$23, %ebx
	je	LBB0_11
## %bb.6:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	%r15, %rdi
	movl	$99, %esi
	callq	_reg_r
	movl	%eax, %ebx
	movl	$100, %edi
	callq	_msleep
	cmpl	$23, %ebx
	je	LBB0_11
## %bb.7:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	%r15, %rdi
	movl	$99, %esi
	callq	_reg_r
	movl	%eax, %ebx
	movl	$100, %edi
	callq	_msleep
	cmpl	$23, %ebx
	je	LBB0_11
## %bb.8:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	%r15, %rdi
	movl	$99, %esi
	callq	_reg_r
	movl	%eax, %ebx
	movl	$100, %edi
	callq	_msleep
	cmpl	$23, %ebx
	je	LBB0_11
## %bb.9:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	%r15, %rdi
	movl	$99, %esi
	callq	_reg_r
	movl	%eax, %r14d
	movl	$100, %edi
	callq	_msleep
	cmpl	$23, %r14d
	jne	LBB0_10
LBB0_11:
	leaq	_sd_init.n2(%rip), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
LBB0_12:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_reg_r
	movq	_D_STREAM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	L_.str.6(%rip), %r14
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$10, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$11, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$11, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$102, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$102, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$128, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$129, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$129, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$142, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$142, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$143, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$143, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$165, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$165, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$166, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$166, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$168, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$168, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$187, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$187, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$188, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$188, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$198, %esi
	callq	_reg_r
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$198, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	_sensor_data@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%r15), %rax
	leaq	(%rax,%rax,8), %rbx
	movq	(%r13,%rbx,8), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	8(%r13,%rbx,8), %rsi
	movl	16(%r13,%rbx,8), %edx
	movq	%r15, %rdi
	callq	_reg_w_buf
	movq	(%r15), %rax
	movq	_SENSOR_LT168G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_reg_r
	movl	(%r12), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	$128, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$27776, %esi                    ## imm = 0x6C80
	callq	_reg_w
LBB0_14:
	leaq	64(,%rbx,8), %r14
	addq	%r13, %r14
	movl	64(%r13,%rbx,8), %edx
	movq	%r15, %rdi
	movl	$208, %esi
	movl	$4, %ecx
	callq	_reg_w_ixbuf
	movl	60(%r13,%rbx,8), %edx
	movq	%r15, %rdi
	movl	$199, %esi
	movl	$4, %ecx
	callq	_reg_w_ixbuf
	movl	56(%r13,%rbx,8), %edx
	movq	%r15, %rdi
	movl	$224, %esi
	movl	$4, %ecx
	callq	_reg_w_ixbuf
	movl	20(%r13,%rbx,8), %esi
	shll	$8, %esi
	orl	$128, %esi
	movq	%r15, %rdi
	callq	_reg_w
	movl	20(%r13,%rbx,8), %esi
	shll	$8, %esi
	orl	$128, %esi
	movq	%r15, %rdi
	callq	_reg_w
	movl	24(%r13,%rbx,8), %esi
	shll	$8, %esi
	orl	$142, %esi
	movq	%r15, %rdi
	callq	_reg_w
	movq	%r15, %rdi
	movl	$8327, %esi                     ## imm = 0x2087
	callq	_reg_w
	movq	%r15, %rdi
	movl	$8328, %esi                     ## imm = 0x2088
	callq	_reg_w
	movq	%r15, %rdi
	movl	$8329, %esi                     ## imm = 0x2089
	callq	_reg_w
	movq	32(%r13,%rbx,8), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	40(%r13,%rbx,8), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	48(%r13,%rbx,8), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_reg_w_buf
	movq	(%r15), %rax
	movq	_SENSOR_LT168G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_reg_r
	movl	(%r12), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	$128, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gspca_dbg
	movq	%r15, %rdi
	movl	$27776, %esi                    ## imm = 0x6C80
	callq	_reg_w
LBB0_16:
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	$208, %esi
	movl	$4, %ecx
	callq	_reg_w_ixbuf
	movl	-4(%r14), %edx
	movq	%r15, %rdi
	movl	$199, %esi
	movl	$4, %ecx
	callq	_reg_w_ixbuf
	movl	-8(%r14), %edx
	movq	%r15, %rdi
	movl	$224, %esi
	movl	$4, %ecx
	callq	_reg_w_ixbuf
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.5(%rip), %rdi
	movl	%r14d, %esi
	callq	_pr_err
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @sd_init.n1
_sd_init.n1:
	.long	8                               ## 0x8
	.long	3                               ## 0x3
	.long	9                               ## 0x9
	.long	3                               ## 0x3
	.long	18                              ## 0x12
	.long	4                               ## 0x4

	.p2align	2                               ## @sd_init.n2
_sd_init.n2:
	.long	8                               ## 0x8
	.long	0                               ## 0x0

	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sensor tas5130a\n"

	.comm	_SENSOR_TAS5130A,8,3            ## @SENSOR_TAS5130A
L_.str.1:                               ## @.str.1
	.asciz	"sensor lt168g\n"

	.comm	_SENSOR_LT168G,8,3              ## @SENSOR_LT168G
L_.str.2:                               ## @.str.2
	.asciz	"sensor 'other'\n"

	.comm	_SENSOR_OTHER,8,3               ## @SENSOR_OTHER
L_.str.3:                               ## @.str.3
	.asciz	"sensor om6802\n"

	.comm	_SENSOR_OM6802,8,3              ## @SENSOR_OM6802
L_.str.4:                               ## @.str.4
	.asciz	"unknown sensor %04x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_sensor_reset,8,3               ## @sensor_reset
L_.str.5:                               ## @.str.5
	.asciz	"Bad sensor reset %02x\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_D_STREAM,4,2                   ## @D_STREAM
L_.str.6:                               ## @.str.6
	.asciz	"Reg 0x%02x = 0x%02x\n"

	.comm	_sensor_data,8,3                ## @sensor_data
	.no_dead_strip	_sd_init
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.sd_init
l_reltable.sd_init:
	.long	L_.str-l_reltable.sd_init
	.long	L_.str.1-l_reltable.sd_init
	.long	L_.str.2-l_reltable.sd_init
	.long	L_.str-l_reltable.sd_init
	.long	L_.str-l_reltable.sd_init
	.long	L_.str-l_reltable.sd_init
	.long	L_.str.3-l_reltable.sd_init

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sd_init.7
l_switch.table.sd_init.7:
	.quad	_SENSOR_TAS5130A
	.quad	_SENSOR_LT168G
	.quad	_SENSOR_OTHER
	.quad	_SENSOR_TAS5130A
	.quad	_SENSOR_TAS5130A
	.quad	_SENSOR_TAS5130A
	.quad	_SENSOR_OM6802

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_init
_sd_init:                               ; @sd_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	w1, #6
	bl	_reg_r
	mov	x20, x0
	mov	x0, x19
	mov	w1, #7
	bl	_reg_r
	orr	w1, w0, w20, lsl #8
	and	w8, w1, #0xffffff0f
	sub	w8, w8, #2049
	and	w9, w8, #0xffff
	cmp	w9, #7
	b.hs	LBB0_2
; %bb.1:
	mov	w9, #71
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x0, l_.str.4@PAGE
Lloh1:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_4:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfiz	x8, x8, #3, #16
Lloh4:
	adrp	x9, l_switch.table.sd_init@PAGE
Lloh5:
	add	x9, x9, l_switch.table.sd_init@PAGEOFF
	ldr	x2, [x9, x8]
Lloh6:
	adrp	x9, l_switch.table.sd_init.7@PAGE
Lloh7:
	add	x9, x9, l_switch.table.sd_init.7@PAGEOFF
	ldr	x20, [x9, x8]
Lloh8:
	adrp	x8, _D_PROBE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _D_PROBE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gspca_dbg
	ldr	x8, [x20]
	str	x8, [x19]
Lloh11:
	adrp	x9, _SENSOR_OM6802@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SENSOR_OM6802@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.5:
Lloh14:
	adrp	x1, _sd_init.n1@PAGE
Lloh15:
	add	x1, x1, _sd_init.n1@PAGEOFF
	mov	x0, x19
	mov	w2, #24
	bl	_reg_w_buf
Lloh16:
	adrp	x21, _sensor_reset@GOTPAGE
Lloh17:
	ldr	x21, [x21, _sensor_reset@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	mov	x0, x19
	mov	w1, #99
	bl	_reg_r
	mov	x20, x0
	mov	w0, #100
	bl	_msleep
	cmp	w20, #23
	b.eq	LBB0_10
; %bb.6:
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	mov	x0, x19
	mov	w1, #99
	bl	_reg_r
	mov	x20, x0
	mov	w0, #100
	bl	_msleep
	cmp	w20, #23
	b.eq	LBB0_10
; %bb.7:
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	mov	x0, x19
	mov	w1, #99
	bl	_reg_r
	mov	x20, x0
	mov	w0, #100
	bl	_msleep
	cmp	w20, #23
	b.eq	LBB0_10
; %bb.8:
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	mov	x0, x19
	mov	w1, #99
	bl	_reg_r
	mov	x20, x0
	mov	w0, #100
	bl	_msleep
	cmp	w20, #23
	b.eq	LBB0_10
; %bb.9:
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	mov	x0, x19
	mov	w1, #99
	bl	_reg_r
	mov	x20, x0
	mov	w0, #100
	bl	_msleep
	cmp	w20, #23
	b.ne	LBB0_17
LBB0_10:
Lloh18:
	adrp	x1, _sd_init.n2@PAGE
Lloh19:
	add	x1, x1, _sd_init.n2@PAGEOFF
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
LBB0_11:
	mov	w20, #10
	mov	x0, x19
	mov	w1, #10
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
Lloh20:
	adrp	x23, _D_STREAM@GOTPAGE
Lloh21:
	ldr	x23, [x23, _D_STREAM@GOTPAGEOFF]
	ldr	w1, [x23]
	stp	x20, x0, [sp]
Lloh22:
	adrp	x22, l_.str.6@PAGE
Lloh23:
	add	x22, x22, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w20, #11
	mov	x0, x19
	mov	w1, #11
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x20, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w20, #102
	mov	x0, x19
	mov	w1, #102
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x20, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w20, #128
	mov	x0, x19
	mov	w1, #128
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x20, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w21, #129
	mov	x0, x19
	mov	w1, #129
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x21, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w21, #142
	mov	x0, x19
	mov	w1, #142
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x21, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w24, #143
	mov	x0, x19
	mov	w1, #143
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x24, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w24, #165
	mov	x0, x19
	mov	w1, #165
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x24, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w24, #166
	mov	x0, x19
	mov	w1, #166
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x24, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w24, #168
	mov	x0, x19
	mov	w1, #168
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x24, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w24, #187
	mov	x0, x19
	mov	w1, #187
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x24, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w24, #188
	mov	x0, x19
	mov	w1, #188
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x24, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
	mov	w24, #198
	mov	x0, x19
	mov	w1, #198
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x24, x0, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_gspca_dbg
Lloh24:
	adrp	x8, _sensor_data@GOTPAGE
Lloh25:
	ldr	x8, [x8, _sensor_data@GOTPAGEOFF]
Lloh26:
	ldr	x22, [x8]
	ldr	x25, [x19]
	mov	w8, #72
	madd	x24, x25, x8, x22
	ldr	x1, [x24]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	ldr	x1, [x24, #8]
	ldr	w2, [x24, #16]
	mov	x0, x19
	bl	_reg_w_buf
	ldr	x8, [x19]
Lloh27:
	adrp	x24, _SENSOR_LT168G@GOTPAGE
Lloh28:
	ldr	x24, [x24, _SENSOR_LT168G@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	mov	w26, #128
	mov	x0, x19
	mov	w1, #128
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x26, x0, [sp]
Lloh29:
	adrp	x2, l_.str.6@PAGE
Lloh30:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_gspca_dbg
	mov	x0, x19
	mov	w1, #27776
	bl	_reg_w
LBB0_13:
	mov	w8, #72
	madd	x22, x25, x8, x22
	mov	x25, x22
	ldr	w2, [x25, #64]!
	mov	x0, x19
	mov	w1, #208
	mov	w3, #4
	bl	_reg_w_ixbuf
	mov	x26, x22
	ldr	w2, [x26, #60]!
	mov	x0, x19
	mov	w1, #199
	mov	w3, #4
	bl	_reg_w_ixbuf
	ldr	w2, [x22, #56]!
	mov	x0, x19
	mov	w1, #224
	mov	w3, #4
	bl	_reg_w_ixbuf
	ldur	w8, [x22, #-36]
	mov	w1, #128
	bfi	w1, w8, #8, #24
	mov	x0, x19
	bl	_reg_w
	ldur	w8, [x22, #-36]
	bfi	w20, w8, #8, #24
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w
	ldur	w8, [x22, #-32]
	bfi	w21, w8, #8, #24
	mov	x0, x19
	mov	x1, x21
	bl	_reg_w
	mov	x0, x19
	mov	w1, #8327
	bl	_reg_w
	mov	x0, x19
	mov	w1, #8328
	bl	_reg_w
	mov	x0, x19
	mov	w1, #8329
	bl	_reg_w
	ldur	x1, [x22, #-24]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	ldur	x1, [x22, #-16]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	ldur	x1, [x22, #-8]
	mov	x0, x19
	mov	w2, #8
	bl	_reg_w_buf
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	mov	w20, #128
	mov	x0, x19
	mov	w1, #128
	bl	_reg_r
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x23]
	stp	x20, x0, [sp]
Lloh31:
	adrp	x2, l_.str.6@PAGE
Lloh32:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_gspca_dbg
	mov	x0, x19
	mov	w1, #27776
	bl	_reg_w
LBB0_15:
	ldr	w2, [x25]
	mov	x0, x19
	mov	w1, #208
	mov	w3, #4
	bl	_reg_w_ixbuf
	ldr	w2, [x26]
	mov	x0, x19
	mov	w1, #199
	mov	w3, #4
	bl	_reg_w_ixbuf
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #224
	mov	w3, #4
	bl	_reg_w_ixbuf
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_pr_err
Lloh35:
	adrp	x8, _EIO@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @sd_init.n1
_sd_init.n1:
	.long	8                               ; 0x8
	.long	3                               ; 0x3
	.long	9                               ; 0x9
	.long	3                               ; 0x3
	.long	18                              ; 0x12
	.long	4                               ; 0x4

	.p2align	2                               ; @sd_init.n2
_sd_init.n2:
	.long	8                               ; 0x8
	.long	0                               ; 0x0

	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sensor tas5130a\n"

	.comm	_SENSOR_TAS5130A,8,3            ; @SENSOR_TAS5130A
l_.str.1:                               ; @.str.1
	.asciz	"sensor lt168g\n"

	.comm	_SENSOR_LT168G,8,3              ; @SENSOR_LT168G
l_.str.2:                               ; @.str.2
	.asciz	"sensor 'other'\n"

	.comm	_SENSOR_OTHER,8,3               ; @SENSOR_OTHER
l_.str.3:                               ; @.str.3
	.asciz	"sensor om6802\n"

	.comm	_SENSOR_OM6802,8,3              ; @SENSOR_OM6802
l_.str.4:                               ; @.str.4
	.asciz	"unknown sensor %04x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_sensor_reset,8,3               ; @sensor_reset
l_.str.5:                               ; @.str.5
	.asciz	"Bad sensor reset %02x\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_D_STREAM,4,2                   ; @D_STREAM
l_.str.6:                               ; @.str.6
	.asciz	"Reg 0x%02x = 0x%02x\n"

	.comm	_sensor_data,8,3                ; @sensor_data
	.no_dead_strip	_sd_init
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sd_init
l_switch.table.sd_init:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str
	.quad	l_.str
	.quad	l_.str
	.quad	l_.str.3

	.p2align	3                               ; @switch.table.sd_init.7
l_switch.table.sd_init.7:
	.quad	_SENSOR_TAS5130A
	.quad	_SENSOR_LT168G
	.quad	_SENSOR_OTHER
	.quad	_SENSOR_TAS5130A
	.quad	_SENSOR_TAS5130A
	.quad	_SENSOR_TAS5130A
	.quad	_SENSOR_OM6802

.subsections_via_symbols
