	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5758_slew_rate_set
_ad5758_slew_rate_set:                  ## @ad5758_slew_rate_set
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AD5758_DAC_CONFIG_SR_EN_MSK@GOTPCREL(%rip), %rax
	movq	_AD5758_DAC_CONFIG_SR_CLOCK_MSK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	orq	(%rax), %r14
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_AD5758_DAC_CONFIG_SR_STEP_MSK@GOTPCREL(%rip), %rax
	orq	(%rax), %r14
	movl	$1, %edi
	callq	_AD5758_DAC_CONFIG_SR_EN_MODE
	movl	%eax, %r13d
	movl	%r15d, %edi
	movq	%rbx, %r15
	callq	_AD5758_DAC_CONFIG_SR_STEP_MODE
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_AD5758_DAC_CONFIG_SR_CLOCK_MODE
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	_AD5758_DAC_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	%ebx, %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	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ad5758_wait_for_task_complete  ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD5758_DAC_CONFIG_SR_EN_MSK,8,3 ## @AD5758_DAC_CONFIG_SR_EN_MSK
	.comm	_AD5758_DAC_CONFIG_SR_CLOCK_MSK,8,3 ## @AD5758_DAC_CONFIG_SR_CLOCK_MSK
	.comm	_AD5758_DAC_CONFIG_SR_STEP_MSK,8,3 ## @AD5758_DAC_CONFIG_SR_STEP_MSK
	.comm	_AD5758_DAC_CONFIG,4,2          ## @AD5758_DAC_CONFIG
	.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_slew_rate_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5758_slew_rate_set
_ad5758_slew_rate_set:                  ; @ad5758_slew_rate_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _AD5758_DAC_CONFIG_SR_EN_MSK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD5758_DAC_CONFIG_SR_EN_MSK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _AD5758_DAC_CONFIG_SR_CLOCK_MSK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AD5758_DAC_CONFIG_SR_CLOCK_MSK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh6:
	adrp	x9, _AD5758_DAC_CONFIG_SR_STEP_MSK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AD5758_DAC_CONFIG_SR_STEP_MSK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	orr	x22, x8, x9
	mov	w0, #1
	bl	_AD5758_DAC_CONFIG_SR_EN_MODE
	mov	x23, x0
	mov	x0, x20
	bl	_AD5758_DAC_CONFIG_SR_STEP_MODE
	orr	w20, w0, w23
	mov	x0, x21
	bl	_AD5758_DAC_CONFIG_SR_CLOCK_MODE
	orr	w3, w20, w0
Lloh9:
	adrp	x8, _AD5758_DAC_CONFIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AD5758_DAC_CONFIG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_ad5758_spi_write_mask
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _AD5758_DIGITAL_DIAG_RESULTS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AD5758_DIGITAL_DIAG_RESULTS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _AD5758_CAL_MEM_UNREFRESHED_MSK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AD5758_CAL_MEM_UNREFRESHED_MSK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ad5758_wait_for_task_complete
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AD5758_DAC_CONFIG_SR_EN_MSK,8,3 ; @AD5758_DAC_CONFIG_SR_EN_MSK
	.comm	_AD5758_DAC_CONFIG_SR_CLOCK_MSK,8,3 ; @AD5758_DAC_CONFIG_SR_CLOCK_MSK
	.comm	_AD5758_DAC_CONFIG_SR_STEP_MSK,8,3 ; @AD5758_DAC_CONFIG_SR_STEP_MSK
	.comm	_AD5758_DAC_CONFIG,4,2          ; @AD5758_DAC_CONFIG
	.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_slew_rate_set
.subsections_via_symbols
