	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stx104_read_raw
_stx104_read_raw:                       ## @stx104_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, %r12
	callq	_iio_priv
	addq	$-128, %rbx
	cmpq	$3, %rbx
	ja	LBB0_3
## %bb.1:
	movq	%rax, %r13
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	8(%r13), %edi
	addl	$11, %edi
	callq	_inb
	movl	%eax, %ebx
	movl	$2, %edi
	callq	_BIT
	andl	%ebx, %eax
	andl	$3, %ebx
	movl	$5, (%r14)
	cmpl	$1, %eax
	sbbl	$0, %ebx
	addl	$15, %ebx
	movl	%ebx, (%r15)
	movq	_IIO_VAL_FRACTIONAL_LOG2@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_4:
	cmpl	$0, 8(%r12)
	je	LBB0_8
## %bb.5:
	movq	(%r13), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	jmp	LBB0_11
LBB0_6:
	movl	8(%r13), %edi
	addl	$11, %edi
	callq	_inb
	movl	%eax, %ebx
	movl	$2, %edi
	callq	_BIT
	andl	%ebx, %eax
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sbbl	%ecx, %ecx
	shll	$15, %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_12
LBB0_7:
	movl	8(%r13), %edi
	addl	$11, %edi
	callq	_inb
	andb	$3, %al
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%edx, (%r14)
	jmp	LBB0_12
LBB0_8:
	movl	(%r12), %eax
	movl	%eax, %edi
	shll	$4, %edi
	orl	%eax, %edi
	movl	8(%r13), %esi
	addl	$2, %esi
	callq	_outb
	movl	8(%r13), %esi
	xorl	%edi, %edi
	callq	_outb
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %edi
	addl	$8, %edi
	callq	_inb
	movl	%eax, %ebx
	movl	$7, %edi
	callq	_BIT
	testl	%ebx, %eax
	jne	LBB0_9
## %bb.10:
	movl	8(%r13), %edi
	callq	_inw
LBB0_11:
	movl	%eax, (%r14)
LBB0_12:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
LBB0_14:
	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_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_IIO_VAL_FRACTIONAL_LOG2,4,2    ## @IIO_VAL_FRACTIONAL_LOG2
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stx104_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stx104_read_raw
_stx104_read_raw:                       ; @stx104_read_raw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.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, #128
	cmp	x8, #3
	b.hi	LBB0_3
; %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, [x20, #8]
	add	w0, w8, #11
	bl	_inb
	mov	x20, x0
	mov	w0, #2
	bl	_BIT
	and	w8, w20, #0x3
	mov	w9, #5
	str	w9, [x19]
	tst	w0, w20
	mov	w9, #14
	cinc	w9, w9, ne
	add	w8, w9, w8
	str	w8, [x21]
Lloh2:
	adrp	x8, _IIO_VAL_FRACTIONAL_LOG2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL_LOG2@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_4:
	ldr	w8, [x22, #8]
	cbz	w8, LBB0_12
; %bb.5:
	ldr	x8, [x20]
	ldr	x9, [x22]
	ldr	w8, [x8, x9, lsl #2]
	b	LBB0_8
LBB0_6:
	ldr	w8, [x20, #8]
	add	w0, w8, #11
	bl	_inb
	mov	x20, x0
	mov	w0, #2
	bl	_BIT
	tst	w0, w20
	mov	w8, #-32768
	csel	w8, w8, wzr, eq
	b	LBB0_8
LBB0_7:
	ldr	w8, [x20, #8]
	add	w0, w8, #11
	bl	_inb
	and	w8, w0, #0x3
	mov	w9, #1
	lsl	w8, w9, w8
LBB0_8:
	str	w8, [x19]
LBB0_9:
Lloh7:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	w8, [x22]
	orr	w0, w8, w8, lsl #4
	ldr	w8, [x20, #8]
	add	w1, w8, #2
	bl	_outb
	ldr	w1, [x20, #8]
	mov	w0, #0
	bl	_outb
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #8]
	add	w0, w8, #8
	bl	_inb
	mov	x21, x0
	mov	w0, #7
	bl	_BIT
	tst	w0, w21
	b.ne	LBB0_13
; %bb.14:
	ldr	w0, [x20, #8]
	bl	_inw
	str	w0, [x19]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_IIO_VAL_FRACTIONAL_LOG2,4,2    ; @IIO_VAL_FRACTIONAL_LOG2
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stx104_read_raw
.subsections_via_symbols
