	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rsi), %ecx
	movl	%ecx, (%rdi)
	movq	_ibm_netcam_pro@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$133, %eax
	cmovel	%ecx, %eax
	cmpl	$129, %ecx
	cmovnel	%ecx, %eax
	movl	%eax, (%rdi)
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_model2_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 24(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%rbx)
	movq	_SD_CONTRAST@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_SD_SHARPNESS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	btsl	%eax, %edx
	movq	_SD_LIGHTING@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	jmp	LBB0_6
LBB0_7:
	movq	_vga_yuv_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 24(%rbx)
	callq	_ARRAY_SIZE
	movq	_SD_HUE@GOTPCREL(%rip), %rax
	movq	_SD_LIGHTING@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movb	(%rax), %al
	btsl	%eax, %edx
	movq	_SD_HFLIP@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movl	%edx, (%rbx)
	jmp	LBB0_10
LBB0_5:
	movl	$3, 8(%rbx)
	movq	_SD_CONTRAST@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_SD_SHARPNESS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
LBB0_6:
	btsl	%eax, %edx
	movq	_SD_HFLIP@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movl	%edx, (%rbx)
	jmp	LBB0_11
LBB0_3:
	movq	_cif_yuv_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 24(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%rbx)
	movq	_SD_HUE@GOTPCREL(%rip), %rax
	movq	_SD_HFLIP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movb	(%rax), %al
	btsl	%eax, %edx
	jmp	LBB0_4
LBB0_2:
	movq	_model0_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 24(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%rbx)
	movq	_SD_CONTRAST@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_SD_HFLIP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	btsl	%eax, %edx
	notl	%edx
LBB0_4:
	movl	%edx, (%rbx)
	movl	$4, 4(%rbx)
	jmp	LBB0_11
LBB0_9:
	movq	_vga_yuv_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	_V4L2_IN_ST_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_SD_CONTRAST@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	movl	%eax, (%rbx)
LBB0_10:
	movabsq	$4294967300, %rax               ## imm = 0x100000004
	movq	%rax, 4(%rbx)
LBB0_11:
	movq	_BRIGHTNESS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_CONTRAST_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_HUE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_SHARPNESS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_LIGHTING_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_HFLIP_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_ibm_netcam_pro,8,3             ## @ibm_netcam_pro
	.comm	_model0_mode,8,3                ## @model0_mode
	.comm	_SD_CONTRAST,4,2                ## @SD_CONTRAST
	.comm	_SD_HFLIP,4,2                   ## @SD_HFLIP
	.comm	_cif_yuv_mode,8,3               ## @cif_yuv_mode
	.comm	_SD_HUE,4,2                     ## @SD_HUE
	.comm	_model2_mode,8,3                ## @model2_mode
	.comm	_SD_SHARPNESS,4,2               ## @SD_SHARPNESS
	.comm	_vga_yuv_mode,8,3               ## @vga_yuv_mode
	.comm	_SD_LIGHTING,4,2                ## @SD_LIGHTING
	.comm	_V4L2_IN_ST_VFLIP,4,2           ## @V4L2_IN_ST_VFLIP
	.comm	_BRIGHTNESS_DEFAULT,4,2         ## @BRIGHTNESS_DEFAULT
	.comm	_CONTRAST_DEFAULT,4,2           ## @CONTRAST_DEFAULT
	.comm	_HUE_DEFAULT,4,2                ## @HUE_DEFAULT
	.comm	_SHARPNESS_DEFAULT,4,2          ## @SHARPNESS_DEFAULT
	.comm	_LIGHTING_DEFAULT,4,2           ## @LIGHTING_DEFAULT
	.comm	_HFLIP_DEFAULT,4,2              ## @HFLIP_DEFAULT
	.no_dead_strip	_sd_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function sd_config
lCPI0_0:
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_sd_config:                             ; @sd_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	x19, x0
	ldr	w8, [x1]
	str	w8, [x0]
Lloh0:
	adrp	x9, _ibm_netcam_pro@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ibm_netcam_pro@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, #0
	mov	w9, #129
	ccmp	w8, w9, #0, ne
	mov	w9, #133
	csel	w8, w9, w8, eq
	str	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_11
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x8, _model2_mode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _model2_mode@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	str	x0, [x19, #24]
	bl	_ARRAY_SIZE
	str	w0, [x19, #8]
Lloh8:
	adrp	x8, _SD_CONTRAST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SD_CONTRAST@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh11:
	adrp	x10, _SD_SHARPNESS@GOTPAGE
Lloh12:
	ldr	x10, [x10, _SD_SHARPNESS@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh14:
	adrp	x10, _SD_LIGHTING@GOTPAGE
Lloh15:
	ldr	x10, [x10, _SD_LIGHTING@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
	b	LBB0_5
LBB0_3:
Lloh17:
	adrp	x8, _vga_yuv_mode@GOTPAGE
Lloh18:
	ldr	x8, [x8, _vga_yuv_mode@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
	str	x0, [x19, #24]
	bl	_ARRAY_SIZE
Lloh20:
	adrp	x8, _SD_HUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SD_HUE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh23:
	adrp	x10, _SD_LIGHTING@GOTPAGE
Lloh24:
	ldr	x10, [x10, _SD_LIGHTING@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh26:
	adrp	x10, _SD_HFLIP@GOTPAGE
Lloh27:
	ldr	x10, [x10, _SD_HFLIP@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	b	LBB0_10
LBB0_4:
	mov	w8, #3
	str	w8, [x19, #8]
Lloh29:
	adrp	x8, _SD_CONTRAST@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SD_CONTRAST@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh32:
	adrp	x10, _SD_SHARPNESS@GOTPAGE
Lloh33:
	ldr	x10, [x10, _SD_SHARPNESS@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
LBB0_5:
Lloh35:
	adrp	x10, _SD_HFLIP@GOTPAGE
Lloh36:
	ldr	x10, [x10, _SD_HFLIP@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_11
LBB0_6:
Lloh38:
	adrp	x8, _cif_yuv_mode@GOTPAGE
Lloh39:
	ldr	x8, [x8, _cif_yuv_mode@GOTPAGEOFF]
Lloh40:
	ldr	x0, [x8]
	str	x0, [x19, #24]
	bl	_ARRAY_SIZE
Lloh41:
	adrp	x8, _SD_HUE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SD_HUE@GOTPAGEOFF]
	str	w0, [x19, #8]
Lloh43:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh44:
	adrp	x10, _SD_HFLIP@GOTPAGE
Lloh45:
	ldr	x10, [x10, _SD_HFLIP@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	b	LBB0_8
LBB0_7:
Lloh47:
	adrp	x8, _model0_mode@GOTPAGE
Lloh48:
	ldr	x8, [x8, _model0_mode@GOTPAGEOFF]
Lloh49:
	ldr	x0, [x8]
	str	x0, [x19, #24]
	bl	_ARRAY_SIZE
	str	w0, [x19, #8]
Lloh50:
	adrp	x8, _SD_CONTRAST@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SD_CONTRAST@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh53:
	adrp	x10, _SD_HFLIP@GOTPAGE
Lloh54:
	ldr	x10, [x10, _SD_HFLIP@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	mvn	w8, w8
LBB0_8:
	mov	w9, #4
	stp	w8, w9, [x19]
	b	LBB0_11
LBB0_9:
Lloh56:
	adrp	x8, _vga_yuv_mode@GOTPAGE
Lloh57:
	ldr	x8, [x8, _vga_yuv_mode@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh59:
	adrp	x8, _V4L2_IN_ST_VFLIP@GOTPAGE
Lloh60:
	ldr	x8, [x8, _V4L2_IN_ST_VFLIP@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh62:
	adrp	x8, _SD_CONTRAST@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SD_CONTRAST@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	mvn	w8, w8
LBB0_10:
	str	w8, [x19]
Lloh65:
	adrp	x8, lCPI0_0@PAGE
Lloh66:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
LBB0_11:
Lloh67:
	adrp	x8, _BRIGHTNESS_DEFAULT@GOTPAGE
Lloh68:
	ldr	x8, [x8, _BRIGHTNESS_DEFAULT@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _CONTRAST_DEFAULT@GOTPAGE
Lloh71:
	ldr	x9, [x9, _CONTRAST_DEFAULT@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
Lloh73:
	adrp	x8, _HUE_DEFAULT@GOTPAGE
Lloh74:
	ldr	x8, [x8, _HUE_DEFAULT@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
Lloh76:
	adrp	x9, _SHARPNESS_DEFAULT@GOTPAGE
Lloh77:
	ldr	x9, [x9, _SHARPNESS_DEFAULT@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #20]
Lloh79:
	adrp	x8, _LIGHTING_DEFAULT@GOTPAGE
Lloh80:
	ldr	x8, [x8, _LIGHTING_DEFAULT@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
Lloh82:
	adrp	x9, _HFLIP_DEFAULT@GOTPAGE
Lloh83:
	ldr	x9, [x9, _HFLIP_DEFAULT@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdr	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_ibm_netcam_pro,8,3             ; @ibm_netcam_pro
	.comm	_model0_mode,8,3                ; @model0_mode
	.comm	_SD_CONTRAST,4,2                ; @SD_CONTRAST
	.comm	_SD_HFLIP,4,2                   ; @SD_HFLIP
	.comm	_cif_yuv_mode,8,3               ; @cif_yuv_mode
	.comm	_SD_HUE,4,2                     ; @SD_HUE
	.comm	_model2_mode,8,3                ; @model2_mode
	.comm	_SD_SHARPNESS,4,2               ; @SD_SHARPNESS
	.comm	_vga_yuv_mode,8,3               ; @vga_yuv_mode
	.comm	_SD_LIGHTING,4,2                ; @SD_LIGHTING
	.comm	_V4L2_IN_ST_VFLIP,4,2           ; @V4L2_IN_ST_VFLIP
	.comm	_BRIGHTNESS_DEFAULT,4,2         ; @BRIGHTNESS_DEFAULT
	.comm	_CONTRAST_DEFAULT,4,2           ; @CONTRAST_DEFAULT
	.comm	_HUE_DEFAULT,4,2                ; @HUE_DEFAULT
	.comm	_SHARPNESS_DEFAULT,4,2          ; @SHARPNESS_DEFAULT
	.comm	_LIGHTING_DEFAULT,4,2           ; @LIGHTING_DEFAULT
	.comm	_HFLIP_DEFAULT,4,2              ; @HFLIP_DEFAULT
	.no_dead_strip	_sd_config
.subsections_via_symbols
