	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_lradc_adc_read_raw
_mxs_lradc_adc_read_raw:                ## @mxs_lradc_adc_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, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_iio_priv
	cmpq	$128, %rbx
	je	LBB0_5
## %bb.1:
	cmpq	$130, %rbx
	je	LBB0_7
## %bb.2:
	cmpq	$129, %rbx
	jne	LBB0_10
## %bb.3:
	movl	8(%r12), %eax
	movq	_IIO_TEMP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.4:
	movq	%r13, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mxs_lradc_adc_read_temp        ## TAILCALL
LBB0_5:
	movl	8(%r12), %ecx
	movq	_IIO_TEMP@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_12
## %bb.6:
	movl	$0, (%r15)
	movl	$253000, (%r14)                 ## imm = 0x3DC48
	jmp	LBB0_9
LBB0_7:
	movl	8(%r12), %eax
	movq	_IIO_TEMP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.8:
	movl	$-1079, (%r15)                  ## imm = 0xFBC9
	movl	$644268, (%r14)                 ## imm = 0x9D4AC
LBB0_9:
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_11:
	movq	(%r12), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mxs_lradc_adc_read_single      ## TAILCALL
LBB0_12:
	movq	(%rax), %rcx
	movq	(%r12), %rdi
	movl	(%rcx,%rdi,4), %ecx
	movl	%ecx, (%r15)
	movl	12(%r12), %ebx
	addq	$8, %rax
	movq	%rax, %rsi
	callq	_test_bit
	subl	%eax, %ebx
	movl	%ebx, (%r14)
	movq	_IIO_VAL_FRACTIONAL_LOG2@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
                                        ## -- End function
	.comm	_IIO_TEMP,4,2                   ## @IIO_TEMP
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.comm	_IIO_VAL_FRACTIONAL_LOG2,4,2    ## @IIO_VAL_FRACTIONAL_LOG2
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mxs_lradc_adc_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_lradc_adc_read_raw
_mxs_lradc_adc_read_raw:                ; @mxs_lradc_adc_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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_iio_priv
	cmp	x23, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	x23, #130
	b.eq	LBB0_7
; %bb.2:
	cmp	x23, #129
	b.ne	LBB0_10
; %bb.3:
	ldr	w8, [x21, #8]
Lloh0:
	adrp	x9, _IIO_TEMP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IIO_TEMP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.4:
	mov	x0, x22
	mov	x1, x19
	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
	b	_mxs_lradc_adc_read_temp
LBB0_5:
	ldr	w8, [x21, #8]
Lloh3:
	adrp	x9, _IIO_TEMP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IIO_TEMP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.6:
	str	wzr, [x19]
	mov	w8, #56392
	movk	w8, #3, lsl #16
	b	LBB0_9
LBB0_7:
	ldr	w8, [x21, #8]
Lloh6:
	adrp	x9, _IIO_TEMP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IIO_TEMP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.8:
	mov	w8, #-1079
	str	w8, [x19]
	mov	w8, #54444
	movk	w8, #9, lsl #16
LBB0_9:
	str	w8, [x20]
Lloh9:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_11:
	ldr	x1, [x21]
	mov	x0, x22
	mov	x2, x19
	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
	b	_mxs_lradc_adc_read_single
LBB0_12:
	mov	x1, x0
	ldr	x8, [x1], #8
	ldr	x0, [x21]
	ldr	w8, [x8, x0, lsl #2]
	str	w8, [x19]
	ldr	w19, [x21, #12]
	bl	_test_bit
	sub	w8, w19, w0
	str	w8, [x20]
Lloh14:
	adrp	x8, _IIO_VAL_FRACTIONAL_LOG2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL_LOG2@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_TEMP,4,2                   ; @IIO_TEMP
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.comm	_IIO_VAL_FRACTIONAL_LOG2,4,2    ; @IIO_VAL_FRACTIONAL_LOG2
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mxs_lradc_adc_read_raw
.subsections_via_symbols
