	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16400_get_freq
_adis16400_get_freq:                    ## @adis16400_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
	subq	$16, %rsp
	movq	_ADIS16400_SMPL_PRD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_adis_read_reg_16
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	-4(%rbp), %ecx
	movq	_ADIS16400_SMPL_PRD_TIME_BASE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	movl	$1638404, %edx                  ## imm = 0x190004
	movl	$52851, %eax                    ## imm = 0xCE73
	cmovel	%edx, %eax
	movq	_ADIS16400_SMPL_PRD_DIV_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	incl	%ecx
	xorl	%edx, %edx
	idivl	%ecx
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADIS16400_SMPL_PRD,4,2         ## @ADIS16400_SMPL_PRD
	.comm	_ADIS16400_SMPL_PRD_TIME_BASE,4,2 ## @ADIS16400_SMPL_PRD_TIME_BASE
	.comm	_ADIS16400_SMPL_PRD_DIV_MASK,4,2 ## @ADIS16400_SMPL_PRD_DIV_MASK
	.no_dead_strip	_adis16400_get_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16400_get_freq
_adis16400_get_freq:                    ; @adis16400_get_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _ADIS16400_SMPL_PRD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADIS16400_SMPL_PRD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_adis_read_reg_16
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ADIS16400_SMPL_PRD_TIME_BASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADIS16400_SMPL_PRD_TIME_BASE@GOTPAGEOFF]
	ldur	w9, [x29, #-4]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	mov	w8, #52851
	mov	w10, #4
	movk	w10, #25, lsl #16
	csel	w8, w10, w8, eq
Lloh6:
	adrp	x10, _ADIS16400_SMPL_PRD_DIV_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ADIS16400_SMPL_PRD_DIV_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w9, w10, w9
	add	w9, w9, #1
	sdiv	w0, w8, w9
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ADIS16400_SMPL_PRD,4,2         ; @ADIS16400_SMPL_PRD
	.comm	_ADIS16400_SMPL_PRD_TIME_BASE,4,2 ; @ADIS16400_SMPL_PRD_TIME_BASE
	.comm	_ADIS16400_SMPL_PRD_DIV_MASK,4,2 ; @ADIS16400_SMPL_PRD_DIV_MASK
	.no_dead_strip	_adis16400_get_freq
.subsections_via_symbols
