	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5758_internal_buffers_en
_ad5758_internal_buffers_en:            ## @ad5758_internal_buffers_en
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_AD5758_DAC_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_AD5758_DAC_CONFIG_INT_EN_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%esi, %edi
	callq	_AD5758_DAC_CONFIG_INT_EN_MODE
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_ad5758_spi_write_mask
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_AD5758_DIGITAL_DIAG_RESULTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AD5758_CAL_MEM_UNREFRESHED_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ad5758_wait_for_task_complete  ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD5758_DAC_CONFIG,4,2          ## @AD5758_DAC_CONFIG
	.comm	_AD5758_DAC_CONFIG_INT_EN_MSK,4,2 ## @AD5758_DAC_CONFIG_INT_EN_MSK
	.comm	_AD5758_DIGITAL_DIAG_RESULTS,4,2 ## @AD5758_DIGITAL_DIAG_RESULTS
	.comm	_AD5758_CAL_MEM_UNREFRESHED_MSK,4,2 ## @AD5758_CAL_MEM_UNREFRESHED_MSK
	.no_dead_strip	_ad5758_internal_buffers_en
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5758_internal_buffers_en
_ad5758_internal_buffers_en:            ; @ad5758_internal_buffers_en
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _AD5758_DAC_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD5758_DAC_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _AD5758_DAC_CONFIG_INT_EN_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AD5758_DAC_CONFIG_INT_EN_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x1
	bl	_AD5758_DAC_CONFIG_INT_EN_MODE
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ad5758_spi_write_mask
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _AD5758_DIGITAL_DIAG_RESULTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AD5758_DIGITAL_DIAG_RESULTS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _AD5758_CAL_MEM_UNREFRESHED_MSK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AD5758_CAL_MEM_UNREFRESHED_MSK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ad5758_wait_for_task_complete
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AD5758_DAC_CONFIG,4,2          ; @AD5758_DAC_CONFIG
	.comm	_AD5758_DAC_CONFIG_INT_EN_MSK,4,2 ; @AD5758_DAC_CONFIG_INT_EN_MSK
	.comm	_AD5758_DIGITAL_DIAG_RESULTS,4,2 ; @AD5758_DIGITAL_DIAG_RESULTS
	.comm	_AD5758_CAL_MEM_UNREFRESHED_MSK,4,2 ; @AD5758_CAL_MEM_UNREFRESHED_MSK
	.no_dead_strip	_ad5758_internal_buffers_en
.subsections_via_symbols
