	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adf4371_read
_adf4371_read:                          ## @adf4371_read
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_iio_priv
	movq	%rax, %r12
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$130, %ebx
	je	LBB0_8
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_9
## %bb.3:
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_adf4371_pll_fract_n_get_rate
	movq	%rax, %r15
	movl	(%r12), %ebx
	movl	$124, %edi
	callq	_ADF4371_REG
	leaq	-36(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	cmpl	$0, -36(%rbp)
	jne	LBB0_11
## %bb.5:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_6:
	movq	_adf4371_pwrdown_ch@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,8), %esi
	movl	4(%rax,%rcx,8), %ebx
	movl	(%r12), %edi
	leaq	-36(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_13
## %bb.7:
	movl	-36(%rbp), %r12d
	movl	%ebx, %edi
	callq	_BIT
	xorl	%r15d, %r15d
	testl	%r12d, %eax
	sete	%r15b
	jmp	LBB0_12
LBB0_8:
	movq	_adf4371_ch_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	testl	%eax, %eax
	js	LBB0_13
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_sprintf
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PLL un-locked\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_adf4371_pwrdown_ch,8,3         ## @adf4371_pwrdown_ch
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.comm	_adf4371_ch_names,8,3           ## @adf4371_ch_names
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"%llu\n"

	.no_dead_strip	_adf4371_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adf4371_read
_adf4371_read:                          ; @adf4371_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	bl	_iio_priv
	mov	x21, x0
	cmp	w22, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w22, #130
	b.eq	LBB0_8
; %bb.2:
	cmp	w22, #129
	b.ne	LBB0_9
; %bb.3:
	ldr	x1, [x20]
	mov	x0, x21
	bl	_adf4371_pll_fract_n_get_rate
	mov	x20, x0
	ldr	w22, [x21]
	mov	w0, #124
	bl	_ADF4371_REG
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x22
	bl	_regmap_read
	tbnz	w0, #31, LBB0_11
; %bb.4:
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_11
; %bb.5:
	ldr	x0, [x21, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh4:
	adrp	x8, _adf4371_pwrdown_ch@GOTPAGE
Lloh5:
	ldr	x8, [x8, _adf4371_pwrdown_ch@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x8, x8, x9, lsl #3
	ldp	w1, w20, [x8]
	ldr	w0, [x21]
	add	x2, sp, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_14
; %bb.7:
	ldr	w21, [sp, #12]
	mov	x0, x20
	bl	_BIT
	tst	w0, w21
	cset	w20, eq
	b	LBB0_12
LBB0_8:
Lloh7:
	adrp	x8, _adf4371_ch_names@GOTPAGE
Lloh8:
	ldr	x8, [x8, _adf4371_ch_names@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_9:
	mov	x20, #0
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	tbnz	w0, #31, LBB0_14
LBB0_12:
	str	x20, [sp]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	_sprintf
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PLL un-locked\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_adf4371_pwrdown_ch,8,3         ; @adf4371_pwrdown_ch
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.comm	_adf4371_ch_names,8,3           ; @adf4371_ch_names
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"%llu\n"

	.no_dead_strip	_adf4371_read
.subsections_via_symbols
