	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_encoder_control_dig_v1
_init_encoder_control_dig_v1:           ## @init_encoder_control_dig_v1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_DIG1EncoderControl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIOS_CMD_TABLE_PARA_REVISION
	xorl	%r14d, %r14d
	movl	$0, %ecx
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_encoder_control_dig1_v1@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_2:
	movq	%rcx, 16(%rbx)
	movq	_DIG2EncoderControl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIOS_CMD_TABLE_PARA_REVISION
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_encoder_control_dig2_v1@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_4:
	movq	%r14, 8(%rbx)
	movq	_encoder_control_dig_v1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIG1EncoderControl,4,2         ## @DIG1EncoderControl
	.comm	_encoder_control_dig1_v1,8,3    ## @encoder_control_dig1_v1
	.comm	_DIG2EncoderControl,4,2         ## @DIG2EncoderControl
	.comm	_encoder_control_dig2_v1,8,3    ## @encoder_control_dig2_v1
	.comm	_encoder_control_dig_v1,4,2     ## @encoder_control_dig_v1
	.no_dead_strip	_init_encoder_control_dig_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_encoder_control_dig_v1
_init_encoder_control_dig_v1:           ; @init_encoder_control_dig_v1
	.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, _DIG1EncoderControl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIG1EncoderControl@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIOS_CMD_TABLE_PARA_REVISION
Lloh3:
	adrp	x8, _encoder_control_dig1_v1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _encoder_control_dig1_v1@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w0, #1
	csel	x8, x8, xzr, eq
	str	x8, [x19, #16]
Lloh6:
	adrp	x8, _DIG2EncoderControl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DIG2EncoderControl@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIOS_CMD_TABLE_PARA_REVISION
Lloh9:
	adrp	x8, _encoder_control_dig2_v1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _encoder_control_dig2_v1@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	w0, #1
	csel	x8, x8, xzr, eq
	str	x8, [x19, #8]
Lloh12:
	adrp	x8, _encoder_control_dig_v1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _encoder_control_dig_v1@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_DIG1EncoderControl,4,2         ; @DIG1EncoderControl
	.comm	_encoder_control_dig1_v1,8,3    ; @encoder_control_dig1_v1
	.comm	_DIG2EncoderControl,4,2         ; @DIG2EncoderControl
	.comm	_encoder_control_dig2_v1,8,3    ; @encoder_control_dig2_v1
	.comm	_encoder_control_dig_v1,4,2     ; @encoder_control_dig_v1
	.no_dead_strip	_init_encoder_control_dig_v1
.subsections_via_symbols
