	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16460_get_freq
_adis16460_get_freq:                    ## @adis16460_get_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_iio_priv
	movq	_ADIS16460_REG_DEC_RATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-20(%rbp), %rdx
	movq	%rax, %rdi
	callq	_adis_read_reg_16
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	-20(%rbp), %ecx
	incl	%ecx
	movl	$2048000, %eax                  ## imm = 0x1F4000
	xorl	%edx, %edx
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	shrq	$38, %rcx
	movl	%ecx, (%rbx)
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movl	%eax, (%r14)
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADIS16460_REG_DEC_RATE,4,2     ## @ADIS16460_REG_DEC_RATE
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.no_dead_strip	_adis16460_get_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16460_get_freq
_adis16460_get_freq:                    ; @adis16460_get_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_iio_priv
Lloh0:
	adrp	x8, _ADIS16460_REG_DEC_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADIS16460_REG_DEC_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_adis_read_reg_16
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	mov	w9, #16384
	movk	w9, #31, lsl #16
	sdiv	w8, w9, w8
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #38
	str	w9, [x20]
	mov	w10, #1000
	msub	w8, w9, w10, w8
	mul	w8, w8, w10
	str	w8, [x19]
Lloh3:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ADIS16460_REG_DEC_RATE,4,2     ; @ADIS16460_REG_DEC_RATE
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.no_dead_strip	_adis16460_get_freq
.subsections_via_symbols
