	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad799x_read_frequency
_ad799x_read_frequency:                 ## @ad799x_read_frequency
	.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
	movq	%rdx, %rbx
	callq	_dev_to_iio_dev
	movq	%rax, %rdi
	callq	_iio_priv
	movl	(%rax), %edi
	movq	_AD7998_CYCLE_TMR_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_ad7998_frequencies@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_AD7998_CYC_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	movl	(%rcx,%rdx,4), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD7998_CYCLE_TMR_REG,4,2       ## @AD7998_CYCLE_TMR_REG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

	.comm	_ad7998_frequencies,8,3         ## @ad7998_frequencies
	.comm	_AD7998_CYC_MASK,4,2            ## @AD7998_CYC_MASK
	.no_dead_strip	_ad799x_read_frequency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad799x_read_frequency
_ad799x_read_frequency:                 ; @ad799x_read_frequency
	.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
	mov	x19, x2
	bl	_dev_to_iio_dev
	bl	_iio_priv
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _AD7998_CYCLE_TMR_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD7998_CYCLE_TMR_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ad7998_frequencies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ad7998_frequencies@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AD7998_CYC_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AD7998_CYC_MASK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	ldr	w9, [x9]
	mov	w10, w0
	and	x9, x9, x10
	ldr	w2, [x8, x9, lsl #2]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AD7998_CYCLE_TMR_REG,4,2       ; @AD7998_CYCLE_TMR_REG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

	.comm	_ad7998_frequencies,8,3         ; @ad7998_frequencies
	.comm	_AD7998_CYC_MASK,4,2            ; @AD7998_CYC_MASK
	.no_dead_strip	_ad799x_read_frequency
.subsections_via_symbols
