	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ina2xx_read_raw
_ina2xx_read_raw:                       ## @ina2xx_read_raw
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	callq	_iio_priv
	addq	$-132, %rbx
	cmpq	$5, %rbx
	ja	LBB0_16
## %bb.1:
	movq	%rax, %r12
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_16
## %bb.3:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	24(%r12), %rax
	movl	4(%rax), %eax
	movl	%eax, (%r14)
	movl	$1000000, (%r15)                ## imm = 0xF4240
	jmp	LBB0_23
LBB0_5:
	movq	%r12, %rdi
	callq	_SAMPLING_PERIOD
	movl	$1000000, %edi                  ## imm = 0xF4240
	movl	%eax, %esi
	callq	_DIV_ROUND_CLOSEST
	jmp	LBB0_10
LBB0_6:
	movl	32(%r12), %edi
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_25
## %bb.7:
	movl	(%r13), %edi
	callq	_is_signed_reg
	movl	-44(%rbp), %eax
	movl	%eax, (%r14)
	cmpl	$131, (%r13)
	jne	LBB0_11
## %bb.8:
	movq	24(%r12), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	jmp	LBB0_10
LBB0_9:
	movl	(%r12), %eax
LBB0_10:
	movl	%eax, (%r14)
LBB0_11:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_12:
	movl	$0, (%r14)
	xorl	%eax, %eax
	cmpl	$128, (%r13)
	setne	%al
	movl	4(%r12,%rax,4), %eax
	movl	%eax, (%r15)
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_13:
	movl	(%r13), %eax
	cmpl	$131, %eax
	je	LBB0_17
## %bb.14:
	cmpl	$128, %eax
	jne	LBB0_16
## %bb.15:
	movl	16(%r12), %eax
	jmp	LBB0_22
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_25
LBB0_17:
	xorl	%eax, %eax
	cmpl	$32, 20(%r12)
	sete	%al
	movl	$2, %ecx
	subl	%eax, %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_11
LBB0_18:
	movq	24(%r12), %rax
	movl	4(%rax), %ecx
	imull	12(%rax), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_20
LBB0_19:
	movq	24(%r12), %rax
	movl	4(%rax), %eax
	movl	%eax, (%r14)
LBB0_20:
	movl	12(%r12), %eax
	movl	%eax, (%r15)
	jmp	LBB0_23
LBB0_21:
	movq	24(%r12), %rax
	movl	8(%rax), %eax
LBB0_22:
	movl	%eax, (%r14)
	movl	$1000, (%r15)                   ## imm = 0x3E8
LBB0_23:
	movq	_IIO_VAL_FRACTIONAL@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_13
.set L0_1_set_4, LBB0_4-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
LJTI0_1:
	.long	L0_1_set_4
	.long	L0_1_set_18
	.long	L0_1_set_19
	.long	L0_1_set_21
	.end_data_region
                                        ## -- End function
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.comm	_IIO_VAL_FRACTIONAL,4,2         ## @IIO_VAL_FRACTIONAL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ina2xx_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ina2xx_read_raw
_ina2xx_read_raw:                       ; @ina2xx_read_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	bl	_iio_priv
	sub	x8, x23, #132
	cmp	x8, #5
	b.hi	LBB0_14
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x22]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.3:
Lloh2:
	adrp	x9, lJTI0_1@PAGE
Lloh3:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	x8, [x20, #24]
	ldr	w8, [x8, #4]
	str	w8, [x19]
	mov	w8, #16960
	movk	w8, #15, lsl #16
	b	LBB0_23
LBB0_5:
	mov	x0, x20
	bl	_SAMPLING_PERIOD
	mov	x1, x0
	mov	w0, #16960
	movk	w0, #15, lsl #16
	bl	_DIV_ROUND_CLOSEST
	str	w0, [x19]
	b	LBB0_17
LBB0_6:
	ldr	w0, [x20, #32]
	ldr	w1, [x22]
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_25
; %bb.7:
	ldr	w0, [x22]
	bl	_is_signed_reg
	ldr	w8, [sp, #12]
	str	w8, [x19]
	ldr	w9, [x22]
	cmp	w9, #131
	b.ne	LBB0_17
; %bb.8:
	ldr	x9, [x20, #24]
	ldr	w9, [x9]
	asr	w8, w8, w9
	b	LBB0_16
LBB0_9:
	ldr	w8, [x20]
	b	LBB0_16
LBB0_10:
	str	wzr, [x19]
	ldr	w8, [x22]
	cmp	w8, #128
	mov	w8, #8
	mov	w9, #4
	csel	x8, x9, x8, eq
	ldr	w8, [x20, x8]
	str	w8, [x21]
Lloh4:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
	b	LBB0_24
LBB0_11:
	ldr	w8, [x22]
	cmp	w8, #131
	b.eq	LBB0_15
; %bb.12:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.13:
	ldr	w8, [x20, #16]
	b	LBB0_22
LBB0_14:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_25
LBB0_15:
	ldr	w8, [x20, #20]
	cmp	w8, #32
	mov	w8, #1
	cinc	w8, w8, ne
LBB0_16:
	str	w8, [x19]
LBB0_17:
Lloh9:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
	b	LBB0_24
LBB0_18:
	ldr	x8, [x20, #24]
	ldr	w9, [x8, #12]
	ldr	w8, [x8, #4]
	mul	w8, w8, w9
	b	LBB0_20
LBB0_19:
	ldr	x8, [x20, #24]
	ldr	w8, [x8, #4]
LBB0_20:
	str	w8, [x19]
	ldr	w8, [x20, #12]
	b	LBB0_23
LBB0_21:
	ldr	x8, [x20, #24]
	ldr	w8, [x8, #8]
LBB0_22:
	str	w8, [x19]
	mov	w8, #1000
LBB0_23:
	str	w8, [x21]
Lloh11:
	adrp	x8, _IIO_VAL_FRACTIONAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
LBB0_25:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.comm	_IIO_VAL_FRACTIONAL,4,2         ; @IIO_VAL_FRACTIONAL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ina2xx_read_raw
.subsections_via_symbols
