	.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
	movq	_vga_mode_t16@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 4(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, (%rbx)
	movq	_BRIGHTNESS_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_CONTRAST_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_COLORS_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_GAMMA_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_AUTOGAIN_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_MIRROR_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_FREQ_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_AWB_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_SHARPNESS_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_EFFECTS_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_RED_GAIN_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_BLUE_GAIN_DEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx)
	movq	_GAIN_DEF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	(%rax), %ecx
	leal	(%rdx,%rdx,2), %eax
	subl	%ecx, %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vga_mode_t16,4,2               ## @vga_mode_t16
	.comm	_BRIGHTNESS_DEF,4,2             ## @BRIGHTNESS_DEF
	.comm	_CONTRAST_DEF,4,2               ## @CONTRAST_DEF
	.comm	_COLORS_DEF,4,2                 ## @COLORS_DEF
	.comm	_GAMMA_DEF,4,2                  ## @GAMMA_DEF
	.comm	_AUTOGAIN_DEF,4,2               ## @AUTOGAIN_DEF
	.comm	_MIRROR_DEF,4,2                 ## @MIRROR_DEF
	.comm	_FREQ_DEF,4,2                   ## @FREQ_DEF
	.comm	_AWB_DEF,4,2                    ## @AWB_DEF
	.comm	_SHARPNESS_DEF,4,2              ## @SHARPNESS_DEF
	.comm	_EFFECTS_DEF,4,2                ## @EFFECTS_DEF
	.comm	_RED_GAIN_DEF,4,2               ## @RED_GAIN_DEF
	.comm	_BLUE_GAIN_DEF,4,2              ## @BLUE_GAIN_DEF
	.comm	_GAIN_DEF,4,2                   ## @GAIN_DEF
	.no_dead_strip	_sd_config
.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:
	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
Lloh0:
	adrp	x8, _vga_mode_t16@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vga_mode_t16@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	w0, [x19, #4]
	bl	_ARRAY_SIZE
	str	w0, [x19]
Lloh3:
	adrp	x8, _BRIGHTNESS_DEF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRIGHTNESS_DEF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CONTRAST_DEF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CONTRAST_DEF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _COLORS_DEF@GOTPAGE
Lloh10:
	ldr	x10, [x10, _COLORS_DEF@GOTPAGEOFF]
	stp	w9, w8, [x19, #44]
Lloh11:
	ldr	w8, [x10]
Lloh12:
	adrp	x9, _GAMMA_DEF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GAMMA_DEF@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #36]
Lloh15:
	adrp	x8, _AUTOGAIN_DEF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AUTOGAIN_DEF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _MIRROR_DEF@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MIRROR_DEF@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
Lloh21:
	adrp	x8, _FREQ_DEF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FREQ_DEF@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _AWB_DEF@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AWB_DEF@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _SHARPNESS_DEF@GOTPAGE
Lloh28:
	ldr	x10, [x10, _SHARPNESS_DEF@GOTPAGEOFF]
	stp	w9, w8, [x19, #20]
Lloh29:
	ldr	w8, [x10]
Lloh30:
	adrp	x9, _EFFECTS_DEF@GOTPAGE
Lloh31:
	ldr	x9, [x9, _EFFECTS_DEF@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
Lloh33:
	adrp	x8, _RED_GAIN_DEF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RED_GAIN_DEF@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh35:
	adrp	x10, _BLUE_GAIN_DEF@GOTPAGE
Lloh36:
	ldr	x10, [x10, _BLUE_GAIN_DEF@GOTPAGEOFF]
	str	w9, [x19]
Lloh37:
	ldr	w9, [x10]
Lloh38:
	adrp	x10, _GAIN_DEF@GOTPAGE
Lloh39:
	ldr	x10, [x10, _GAIN_DEF@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	add	w10, w10, w10, lsl #1
	ldr	w8, [x8]
	add	w8, w8, w9
	sub	w8, w10, w8
	stp	w9, w8, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vga_mode_t16,4,2               ; @vga_mode_t16
	.comm	_BRIGHTNESS_DEF,4,2             ; @BRIGHTNESS_DEF
	.comm	_CONTRAST_DEF,4,2               ; @CONTRAST_DEF
	.comm	_COLORS_DEF,4,2                 ; @COLORS_DEF
	.comm	_GAMMA_DEF,4,2                  ; @GAMMA_DEF
	.comm	_AUTOGAIN_DEF,4,2               ; @AUTOGAIN_DEF
	.comm	_MIRROR_DEF,4,2                 ; @MIRROR_DEF
	.comm	_FREQ_DEF,4,2                   ; @FREQ_DEF
	.comm	_AWB_DEF,4,2                    ; @AWB_DEF
	.comm	_SHARPNESS_DEF,4,2              ; @SHARPNESS_DEF
	.comm	_EFFECTS_DEF,4,2                ; @EFFECTS_DEF
	.comm	_RED_GAIN_DEF,4,2               ; @RED_GAIN_DEF
	.comm	_BLUE_GAIN_DEF,4,2              ; @BLUE_GAIN_DEF
	.comm	_GAIN_DEF,4,2                   ; @GAIN_DEF
	.no_dead_strip	_sd_config
.subsections_via_symbols
