	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjd_s311_read_raw
_adjd_s311_read_raw:                    ## @adjd_s311_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
	movq	%rdi, %r13
	callq	_iio_priv
	cmpq	$130, %rbx
	je	LBB0_5
## %bb.1:
	cmpq	$129, %rbx
	je	LBB0_7
## %bb.2:
	cmpq	$128, %rbx
	jne	LBB0_9
## %bb.3:
	movl	(%r12), %edi
	callq	_ADJD_S311_DATA_REG
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_adjd_s311_read_data
	testl	%eax, %eax
	jns	LBB0_4
	jmp	LBB0_10
LBB0_5:
	movl	(%rax), %ebx
	movl	(%r12), %edi
	callq	_ADJD_S311_CAP_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:
	movq	_ADJD_S311_CAP_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, (%r14)
LBB0_4:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_7:
	movl	(%rax), %ebx
	movl	(%r12), %edi
	callq	_ADJD_S311_INT_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_i2c_smbus_read_word_data
	testl	%eax, %eax
	js	LBB0_10
## %bb.8:
	movl	$0, (%r14)
	movq	_ADJD_S311_INT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, (%r15)
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_ADJD_S311_CAP_MASK,4,2         ## @ADJD_S311_CAP_MASK
	.comm	_ADJD_S311_INT_MASK,4,2         ## @ADJD_S311_INT_MASK
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_adjd_s311_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjd_s311_read_raw
_adjd_s311_read_raw:                    ; @adjd_s311_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	x22, x1
	mov	x21, x0
	bl	_iio_priv
	cmp	x23, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	x23, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	x23, #128
	b.ne	LBB0_8
; %bb.3:
	ldr	w0, [x22]
	bl	_ADJD_S311_DATA_REG
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_adjd_s311_read_data
Lloh0:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w0, w8, lt
	b	LBB0_9
LBB0_4:
	ldr	w20, [x0]
	ldr	w0, [x22]
	bl	_ADJD_S311_CAP_REG
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_9
; %bb.5:
Lloh3:
	adrp	x8, _ADJD_S311_CAP_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADJD_S311_CAP_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19]
Lloh6:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_6:
	ldr	w21, [x0]
	ldr	w0, [x22]
	bl	_ADJD_S311_INT_REG
	mov	x1, x0
	mov	x0, x21
	bl	_i2c_smbus_read_word_data
	tbnz	w0, #31, LBB0_9
; %bb.7:
	str	wzr, [x19]
Lloh9:
	adrp	x8, _ADJD_S311_INT_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADJD_S311_INT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x20]
Lloh12:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_8:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_ADJD_S311_CAP_MASK,4,2         ; @ADJD_S311_CAP_MASK
	.comm	_ADJD_S311_INT_MASK,4,2         ; @ADJD_S311_INT_MASK
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_adjd_s311_read_raw
.subsections_via_symbols
