	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max5432_read_raw
_max5432_read_raw:                      ## @max5432_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, %r15
	callq	_iio_priv
	movq	%rax, %r12
	movq	_IIO_CHAN_INFO_SCALE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_1
## %bb.3:
	movl	(%r12), %eax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movl	(%r12), %eax
	movl	%eax, (%r15)
	movq	_MAX5432_MAX_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_IIO_VAL_FRACTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_CHAN_INFO_SCALE,8,3        ## @IIO_CHAN_INFO_SCALE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_MAX5432_MAX_POS,4,2            ## @MAX5432_MAX_POS
	.comm	_IIO_VAL_FRACTIONAL,4,2         ## @IIO_VAL_FRACTIONAL
	.no_dead_strip	_max5432_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max5432_read_raw
_max5432_read_raw:                      ; @max5432_read_raw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x4
	mov	x19, x3
	mov	x20, x2
	bl	_iio_priv
Lloh0:
	adrp	x8, _IIO_CHAN_INFO_SCALE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IIO_CHAN_INFO_SCALE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _ERANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	ldr	w8, [x21]
Lloh10:
	adrp	x9, _MAX5432_MAX_POS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MAX5432_MAX_POS@GOTPAGEOFF]
	str	w8, [x20]
Lloh12:
	ldr	w8, [x9]
	str	w8, [x19]
Lloh13:
	adrp	x8, _IIO_VAL_FRACTIONAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_CHAN_INFO_SCALE,8,3        ; @IIO_CHAN_INFO_SCALE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_MAX5432_MAX_POS,4,2            ; @MAX5432_MAX_POS
	.comm	_IIO_VAL_FRACTIONAL,4,2         ; @IIO_VAL_FRACTIONAL
	.no_dead_strip	_max5432_read_raw
.subsections_via_symbols
