	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16480_get_calibbias
_adis16480_get_calibbias:               ## @adis16480_get_calibbias
	.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, %rbx
	movq	_adis16480_calibbias_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi), %rcx
	movl	(%rax,%rcx,4), %r15d
	callq	_iio_priv
	movl	8(%rbx), %ecx
	leal	-130(%rcx), %edx
	cmpl	$2, %edx
	jb	LBB0_4
## %bb.1:
	addl	$-128, %ecx
	cmpl	$1, %ecx
	ja	LBB0_5
## %bb.2:
	leaq	-32(%rbp), %rdx
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_adis_read_reg_16
	movl	%eax, %ebx
	movl	-32(%rbp), %edi
	movl	$15, %esi
	jmp	LBB0_3
LBB0_4:
	leaq	-28(%rbp), %rdx
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_adis_read_reg_32
	movl	%eax, %ebx
	movl	-28(%rbp), %edi
	movl	$31, %esi
LBB0_3:
	callq	_sign_extend32
	movl	%eax, (%r14)
	testl	%ebx, %ebx
	js	LBB0_8
LBB0_7:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%ebx, %ebx
	jns	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_adis16480_calibbias_regs,8,3   ## @adis16480_calibbias_regs
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.no_dead_strip	_adis16480_get_calibbias
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16480_get_calibbias
_adis16480_get_calibbias:               ; @adis16480_get_calibbias
	.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, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _adis16480_calibbias_regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _adis16480_calibbias_regs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x1]
	ldr	w20, [x8, x9, lsl #2]
	bl	_iio_priv
	ldr	w8, [x21, #8]
	sub	w9, w8, #130
	cmp	w9, #2
	b.lo	LBB0_3
; %bb.1:
	sub	w8, w8, #128
	cmp	w8, #1
	b.hi	LBB0_5
; %bb.2:
	add	x2, sp, #12
	mov	x1, x20
	bl	_adis_read_reg_16
	mov	x20, x0
	ldr	w0, [sp, #12]
	mov	w1, #15
	b	LBB0_4
LBB0_3:
	add	x2, sp, #8
	mov	x1, x20
	bl	_adis_read_reg_32
	mov	x20, x0
	ldr	w0, [sp, #8]
	mov	w1, #31
LBB0_4:
	bl	_sign_extend32
	str	w0, [x19]
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
Lloh6:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w20, #0
	csel	w0, w20, w8, lt
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_adis16480_calibbias_regs,8,3   ; @adis16480_calibbias_regs
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.no_dead_strip	_adis16480_get_calibbias
.subsections_via_symbols
