	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_dac_encoder_control
_init_dac_encoder_control:              ## @init_dac_encoder_control
	.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	_DAC1EncoderControl@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	_dac1_encoder_control_v1@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_2:
	movq	%rcx, 8(%rbx)
	movq	_DAC2EncoderControl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIOS_CMD_TABLE_PARA_REVISION
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_dac2_encoder_control_v1@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_4:
	movq	%r14, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAC1EncoderControl,4,2         ## @DAC1EncoderControl
	.comm	_dac1_encoder_control_v1,8,3    ## @dac1_encoder_control_v1
	.comm	_DAC2EncoderControl,4,2         ## @DAC2EncoderControl
	.comm	_dac2_encoder_control_v1,8,3    ## @dac2_encoder_control_v1
	.no_dead_strip	_init_dac_encoder_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_dac_encoder_control
_init_dac_encoder_control:              ; @init_dac_encoder_control
	.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, _DAC1EncoderControl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAC1EncoderControl@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIOS_CMD_TABLE_PARA_REVISION
Lloh3:
	adrp	x8, _dac1_encoder_control_v1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dac1_encoder_control_v1@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w0, #1
	csel	x8, x8, xzr, eq
	str	x8, [x19, #8]
Lloh6:
	adrp	x8, _DAC2EncoderControl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DAC2EncoderControl@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIOS_CMD_TABLE_PARA_REVISION
Lloh9:
	adrp	x8, _dac2_encoder_control_v1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dac2_encoder_control_v1@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	w0, #1
	csel	x8, x8, xzr, eq
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_DAC1EncoderControl,4,2         ; @DAC1EncoderControl
	.comm	_dac1_encoder_control_v1,8,3    ; @dac1_encoder_control_v1
	.comm	_DAC2EncoderControl,4,2         ; @DAC2EncoderControl
	.comm	_dac2_encoder_control_v1,8,3    ; @dac2_encoder_control_v1
	.no_dead_strip	_init_dac_encoder_control
.subsections_via_symbols
