	.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
	movl	(%rsi), %eax
	movzbl	%al, %ecx
	sarl	$8, %eax
	movl	%eax, (%rdi)
	movl	%ecx, 4(%rdi)
	cmpl	$1133, 4(%rsi)                  ## imm = 0x46D
	jne	LBB0_3
## %bb.1:
	movl	8(%rsi), %eax
	orl	$4, %eax
	cmpl	$2198, %eax                     ## imm = 0x896
	jne	LBB0_3
## %bb.2:
	movq	_SENSOR_POxxxx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rdi)
LBB0_3:
	movq	_BRIGHTNESS_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rdi)
	movq	_CONTRAST_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rdi)
	movq	_COLOR_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rdi)
	movq	_HFLIP_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rdi)
	movq	_VFLIP_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	movq	_FREQ_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdi)
	movq	_SHARPNESS_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	_GAIN_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	movq	_EXPOSURE_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_AUTOGAIN_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_BACKLIGHT_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SENSOR_POxxxx,4,2              ## @SENSOR_POxxxx
	.comm	_BRIGHTNESS_DEF,4,2             ## @BRIGHTNESS_DEF
	.comm	_CONTRAST_DEF,4,2               ## @CONTRAST_DEF
	.comm	_COLOR_DEF,4,2                  ## @COLOR_DEF
	.comm	_HFLIP_DEF,4,2                  ## @HFLIP_DEF
	.comm	_VFLIP_DEF,4,2                  ## @VFLIP_DEF
	.comm	_FREQ_DEF,4,2                   ## @FREQ_DEF
	.comm	_SHARPNESS_DEF,4,2              ## @SHARPNESS_DEF
	.comm	_GAIN_DEF,4,2                   ## @GAIN_DEF
	.comm	_EXPOSURE_DEF,4,2               ## @EXPOSURE_DEF
	.comm	_AUTOGAIN_DEF,4,2               ## @AUTOGAIN_DEF
	.comm	_BACKLIGHT_DEF,4,2              ## @BACKLIGHT_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:
	ldp	w8, w9, [x1]
	asr	w10, w8, #8
	and	w8, w8, #0xff
	stp	w10, w8, [x0]
	cmp	w9, #1133
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x1, #8]
	orr	w8, w8, #0x4
	cmp	w8, #2198
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _SENSOR_POxxxx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SENSOR_POxxxx@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #52]
LBB0_3:
Lloh3:
	adrp	x8, _BRIGHTNESS_DEF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRIGHTNESS_DEF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #48]
Lloh6:
	adrp	x8, _CONTRAST_DEF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONTRAST_DEF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _COLOR_DEF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _COLOR_DEF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
Lloh12:
	adrp	x8, _HFLIP_DEF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HFLIP_DEF@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _VFLIP_DEF@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VFLIP_DEF@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _FREQ_DEF@GOTPAGE
Lloh19:
	ldr	x10, [x10, _FREQ_DEF@GOTPAGEOFF]
	stp	w9, w8, [x0, #32]
Lloh20:
	ldr	w8, [x10]
Lloh21:
	adrp	x9, _SHARPNESS_DEF@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SHARPNESS_DEF@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh24:
	adrp	x8, _GAIN_DEF@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GAIN_DEF@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _EXPOSURE_DEF@GOTPAGE
Lloh28:
	ldr	x9, [x9, _EXPOSURE_DEF@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh30:
	adrp	x8, _AUTOGAIN_DEF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AUTOGAIN_DEF@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _BACKLIGHT_DEF@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BACKLIGHT_DEF@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_SENSOR_POxxxx,4,2              ; @SENSOR_POxxxx
	.comm	_BRIGHTNESS_DEF,4,2             ; @BRIGHTNESS_DEF
	.comm	_CONTRAST_DEF,4,2               ; @CONTRAST_DEF
	.comm	_COLOR_DEF,4,2                  ; @COLOR_DEF
	.comm	_HFLIP_DEF,4,2                  ; @HFLIP_DEF
	.comm	_VFLIP_DEF,4,2                  ; @VFLIP_DEF
	.comm	_FREQ_DEF,4,2                   ; @FREQ_DEF
	.comm	_SHARPNESS_DEF,4,2              ; @SHARPNESS_DEF
	.comm	_GAIN_DEF,4,2                   ; @GAIN_DEF
	.comm	_EXPOSURE_DEF,4,2               ; @EXPOSURE_DEF
	.comm	_AUTOGAIN_DEF,4,2               ; @AUTOGAIN_DEF
	.comm	_BACKLIGHT_DEF,4,2              ; @BACKLIGHT_DEF
	.no_dead_strip	_sd_config
.subsections_via_symbols
