	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isl29501_get_freq
_isl29501_get_freq:                     ## @isl29501_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	_REG_SAMPLE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_isl29501_register_read
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	imull	$450, -28(%rbp), %esi           ## imm = 0x1C2
	addl	$450, %esi                      ## imm = 0x1C2
	movabsq	$1000000000000, %rbx            ## imm = 0xE8D4A51000
	movq	%rbx, %rdi
	callq	_do_div
	movq	%rbx, %rdi
	movl	$1000000, %esi                  ## imm = 0xF4240
	callq	_do_div
	movl	$-727379968, (%r15)             ## imm = 0xD4A51000
	movl	%eax, (%r14)
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_SAMPLE_TIME,4,2            ## @REG_SAMPLE_TIME
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.no_dead_strip	_isl29501_get_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isl29501_get_freq
_isl29501_get_freq:                     ; @isl29501_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
Lloh0:
	adrp	x8, _REG_SAMPLE_TIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_SAMPLE_TIME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_isl29501_register_read
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
	mov	w9, #450
	mul	w8, w8, w9
	add	w1, w8, #450
	mov	x0, #4096
	movk	x0, #54437, lsl #16
	movk	x0, #232, lsl #32
	bl	_do_div
	mov	x0, #4096
	movk	x0, #54437, lsl #16
	movk	x0, #232, lsl #32
	mov	w1, #16960
	movk	w1, #15, lsl #16
	bl	_do_div
	mov	w8, #4096
	movk	w8, #54437, lsl #16
	str	w8, [x20]
	str	w0, [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	_REG_SAMPLE_TIME,4,2            ; @REG_SAMPLE_TIME
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.no_dead_strip	_isl29501_get_freq
.subsections_via_symbols
