	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_config
_sd_config:                             ## @sd_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_D_PROBE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rsi), %ecx
	movl	4(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_PDEBUG
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	leal	-32768(%rax), %ecx
	cmpl	$10, %ecx
	ja	LBB0_1
## %bb.3:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_1:
	cmpl	$28677, %eax                    ## imm = 0x7005
	jne	LBB0_10
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.5(%rip), %rsi
LBB0_9:
	movl	(%r15), %edi
	xorl	%eax, %eax
	callq	_PDEBUG
	movl	(%r14), %eax
LBB0_10:
	addl	$-32768, %eax                   ## imm = 0x8000
	cmpl	$3, %eax
	ja	LBB0_11
## %bb.12:
	cltq
	leaq	l_switch.table.sd_config(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_vga_mode@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %rdi
	movq	%rdi, 16(%r14)
	callq	_ARRAY_SIZE
	movq	%rax, 8(%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	_V4L2_IN_ST_VFLIP@GOTPCREL(%rip), %rcx
	movq	_V4L2_IN_ST_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SN9C2028 camera detected (vid/pid 0x%04X:0x%04X)"

L_.str.1:                               ## @.str.1
	.asciz	"Genius Smart 300 camera"

L_.str.2:                               ## @.str.2
	.asciz	"DC31VC"

L_.str.3:                               ## @.str.3
	.asciz	"Spy camera"

L_.str.4:                               ## @.str.4
	.asciz	"CIF camera"

L_.str.5:                               ## @.str.5
	.asciz	"Mini-Shotz ms-350 camera"

L_.str.6:                               ## @.str.6
	.asciz	"Vivitar 3350b type camera"

	.comm	_V4L2_IN_ST_VFLIP,4,2           ## @V4L2_IN_ST_VFLIP
	.comm	_V4L2_IN_ST_HFLIP,4,2           ## @V4L2_IN_ST_HFLIP
	.comm	_cif_mode,8,3                   ## @cif_mode
	.comm	_vga_mode,8,3                   ## @vga_mode
	.no_dead_strip	_sd_config
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sd_config
l_switch.table.sd_config:
	.quad	_cif_mode
	.quad	_cif_mode
	.quad	_vga_mode
	.quad	_cif_mode

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_config
_sd_config:                             ; @sd_config
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _D_PROBE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _D_PROBE@GOTPAGEOFF]
	ldr	w0, [x21]
	ldp	w9, w8, [x1]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PDEBUG
	ldr	w8, [x20]
	str	w8, [x19]
	sub	w9, w8, #8, lsl #12             ; =32768
	cmp	w9, #10
	b.hi	LBB0_3
; %bb.1:
Lloh4:
	adrp	x10, lJTI0_0@PAGE
Lloh5:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_3:
	mov	w9, #28677
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_8:
	ldr	w0, [x21]
	bl	_PDEBUG
	ldr	w8, [x19]
LBB0_9:
	sub	w8, w8, #8, lsl #12             ; =32768
	cmp	w8, #3
	b.hi	LBB0_11
; %bb.10:
Lloh16:
	adrp	x9, l_switch.table.sd_config@PAGE
Lloh17:
	add	x9, x9, l_switch.table.sd_config@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_12
LBB0_11:
Lloh18:
	adrp	x8, _vga_mode@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vga_mode@GOTPAGEOFF]
LBB0_12:
	ldr	x0, [x8]
	str	x0, [x19, #16]
	bl	_ARRAY_SIZE
	str	x0, [x19, #8]
	mov	w0, #0
	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
LBB0_13:
	ldr	w0, [x21]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_PDEBUG
Lloh22:
	adrp	x8, _V4L2_IN_ST_VFLIP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _V4L2_IN_ST_VFLIP@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _V4L2_IN_ST_HFLIP@GOTPAGE
Lloh26:
	ldr	x9, [x9, _V4L2_IN_ST_HFLIP@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_9
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SN9C2028 camera detected (vid/pid 0x%04X:0x%04X)"

l_.str.1:                               ; @.str.1
	.asciz	"Genius Smart 300 camera"

l_.str.2:                               ; @.str.2
	.asciz	"DC31VC"

l_.str.3:                               ; @.str.3
	.asciz	"Spy camera"

l_.str.4:                               ; @.str.4
	.asciz	"CIF camera"

l_.str.5:                               ; @.str.5
	.asciz	"Mini-Shotz ms-350 camera"

l_.str.6:                               ; @.str.6
	.asciz	"Vivitar 3350b type camera"

	.comm	_V4L2_IN_ST_VFLIP,4,2           ; @V4L2_IN_ST_VFLIP
	.comm	_V4L2_IN_ST_HFLIP,4,2           ; @V4L2_IN_ST_HFLIP
	.comm	_cif_mode,8,3                   ; @cif_mode
	.comm	_vga_mode,8,3                   ; @vga_mode
	.no_dead_strip	_sd_config
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sd_config
l_switch.table.sd_config:
	.quad	_cif_mode
	.quad	_cif_mode
	.quad	_vga_mode
	.quad	_cif_mode

.subsections_via_symbols
