	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dps310_set_pres_samp_freq
_dps310_set_pres_samp_freq:             ## @dps310_set_pres_samp_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$129, %esi
	jb	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_ilog2
	shll	$4, %eax
	movl	(%rbx), %edi
	movq	_DPS310_PRS_CFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DPS310_PRS_RATE_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DPS310_PRS_CFG,4,2             ## @DPS310_PRS_CFG
	.comm	_DPS310_PRS_RATE_BITS,4,2       ## @DPS310_PRS_RATE_BITS
	.no_dead_strip	_dps310_set_pres_samp_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dps310_set_pres_samp_freq
_dps310_set_pres_samp_freq:             ; @dps310_set_pres_samp_freq
	.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
	cmp	w1, #129
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	mov	x0, x1
	bl	_ilog2
	lsl	w3, w0, #4
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _DPS310_PRS_CFG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DPS310_PRS_CFG@GOTPAGEOFF]
Lloh5:
	adrp	x9, _DPS310_PRS_RATE_BITS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DPS310_PRS_RATE_BITS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w2, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DPS310_PRS_CFG,4,2             ; @DPS310_PRS_CFG
	.comm	_DPS310_PRS_RATE_BITS,4,2       ; @DPS310_PRS_RATE_BITS
	.no_dead_strip	_dps310_set_pres_samp_freq
.subsections_via_symbols
