	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mxl111sf_idac_config           ## -- Begin function mxl111sf_idac_config
	.p2align	4, 0x90
_mxl111sf_idac_config:                  ## @mxl111sf_idac_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rax
	movq	%rdi, %r14
	movq	_IDAC_MANUAL_CONTROL@GOTPCREL(%rip), %rdx
	movq	_IDAC_MANUAL_CONTROL_BIT_MASK@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rbx
	cmpq	%rsi, (%rdx)
	jne	LBB0_4
## %bb.1:
	orq	%rcx, %rbx
	movq	_IDAC_CURRENT_SINKING_ENABLE@GOTPCREL(%rip), %rcx
	movq	_IDAC_CURRENT_SINKING_BIT_MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, (%rcx)
	jne	LBB0_3
## %bb.2:
	orq	%rbx, %rdx
	jmp	LBB0_5
LBB0_4:
	notq	%rbx
	andq	%rcx, %rbx
	movq	_V6_IDAC_HYSTERESIS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	$63, %r8d
	movq	%r14, %rdi
	movq	%r8, %rdx
	callq	_mxl111sf_write_reg
	movl	%eax, %edi
	callq	_mxl_fail
	movq	%rbx, %rdx
	jmp	LBB0_5
LBB0_3:
	notq	%rdx
	andq	%rbx, %rdx
LBB0_5:
	movq	_V6_IDAC_SETTINGS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mxl111sf_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDAC_MANUAL_CONTROL,8,3        ## @IDAC_MANUAL_CONTROL
	.comm	_IDAC_MANUAL_CONTROL_BIT_MASK,8,3 ## @IDAC_MANUAL_CONTROL_BIT_MASK
	.comm	_IDAC_CURRENT_SINKING_ENABLE,8,3 ## @IDAC_CURRENT_SINKING_ENABLE
	.comm	_IDAC_CURRENT_SINKING_BIT_MASK,8,3 ## @IDAC_CURRENT_SINKING_BIT_MASK
	.comm	_V6_IDAC_HYSTERESIS_REG,4,2     ## @V6_IDAC_HYSTERESIS_REG
	.comm	_V6_IDAC_SETTINGS_REG,4,2       ## @V6_IDAC_SETTINGS_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mxl111sf_idac_config           ; -- Begin function mxl111sf_idac_config
	.p2align	2
_mxl111sf_idac_config:                  ; @mxl111sf_idac_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, _IDAC_MANUAL_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDAC_MANUAL_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _IDAC_MANUAL_CONTROL_BIT_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDAC_MANUAL_CONTROL_BIT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x1
	b.ne	LBB0_2
; %bb.1:
	orr	x8, x8, x3
Lloh6:
	adrp	x9, _IDAC_CURRENT_SINKING_ENABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IDAC_CURRENT_SINKING_ENABLE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _IDAC_CURRENT_SINKING_BIT_MASK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IDAC_CURRENT_SINKING_BIT_MASK@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	ldr	x10, [x10]
	bic	x11, x8, x10
	orr	x8, x10, x8
	cmp	x9, x2
	csel	x20, x11, x8, ne
	b	LBB0_3
LBB0_2:
	bic	x20, x3, x8
Lloh12:
	adrp	x8, _V6_IDAC_HYSTERESIS_REG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V6_IDAC_HYSTERESIS_REG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	and	x2, x4, #0x3f
	mov	x0, x19
	bl	_mxl111sf_write_reg
	bl	_mxl_fail
LBB0_3:
Lloh15:
	adrp	x8, _V6_IDAC_SETTINGS_REG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V6_IDAC_SETTINGS_REG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_mxl111sf_write_reg
	mov	x19, x0
	bl	_mxl_fail
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IDAC_MANUAL_CONTROL,8,3        ; @IDAC_MANUAL_CONTROL
	.comm	_IDAC_MANUAL_CONTROL_BIT_MASK,8,3 ; @IDAC_MANUAL_CONTROL_BIT_MASK
	.comm	_IDAC_CURRENT_SINKING_ENABLE,8,3 ; @IDAC_CURRENT_SINKING_ENABLE
	.comm	_IDAC_CURRENT_SINKING_BIT_MASK,8,3 ; @IDAC_CURRENT_SINKING_BIT_MASK
	.comm	_V6_IDAC_HYSTERESIS_REG,4,2     ; @V6_IDAC_HYSTERESIS_REG
	.comm	_V6_IDAC_SETTINGS_REG,4,2       ; @V6_IDAC_SETTINGS_REG
.subsections_via_symbols
