	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adxrs450_read_raw
_adxrs450_read_raw:                     ## @adxrs450_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	addq	$-129, %r8
	cmpq	$3, %r8
	ja	LBB0_10
## %bb.1:
	movq	%rdx, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r8,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_2:
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_13
## %bb.3:
	cmpl	$133, %eax
	jne	LBB0_10
## %bb.4:
	movl	$0, (%rbx)
	movl	$218166, (%rcx)                 ## imm = 0x35436
	movq	_IIO_VAL_INT_PLUS_NANO@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_5:
	movq	_ADXRS450_QUAD1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_adxrs450_spi_read_reg_16
	testl	%eax, %eax
	jne	LBB0_19
	jmp	LBB0_9
LBB0_6:
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_14
## %bb.7:
	cmpl	$133, %eax
	jne	LBB0_10
## %bb.8:
	leaq	-12(%rbp), %rsi
	callq	_adxrs450_spi_sensor_data
	testl	%eax, %eax
	jne	LBB0_19
LBB0_9:
	movl	-12(%rbp), %eax
	jmp	LBB0_16
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_19
LBB0_11:
	movq	_ADXRS450_DNC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_adxrs450_spi_read_reg_16
	testl	%eax, %eax
	jne	LBB0_19
## %bb.12:
	movl	-12(%rbp), %edi
	movl	$9, %esi
	callq	_sign_extend32
	jmp	LBB0_16
LBB0_13:
	movl	$200, (%rbx)
	movl	$0, (%rcx)
	jmp	LBB0_17
LBB0_14:
	movq	_ADXRS450_TEMP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_adxrs450_spi_read_reg_16
	testl	%eax, %eax
	jne	LBB0_19
## %bb.15:
	movl	-12(%rbp), %eax
	sarl	$6, %eax
	addl	$225, %eax
LBB0_16:
	movl	%eax, (%rbx)
LBB0_17:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_ADXRS450_TEMP1,4,2             ## @ADXRS450_TEMP1
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IIO_VAL_INT_PLUS_NANO,4,2      ## @IIO_VAL_INT_PLUS_NANO
	.comm	_ADXRS450_QUAD1,4,2             ## @ADXRS450_QUAD1
	.comm	_ADXRS450_DNC1,4,2              ## @ADXRS450_DNC1
	.no_dead_strip	_adxrs450_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adxrs450_read_raw
_adxrs450_read_raw:                     ; @adxrs450_read_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	sub	x8, x4, #129
	cmp	x8, #3
	b.hi	LBB0_10
; %bb.1:
	mov	x19, x2
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, [x1]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.3:
	cmp	w8, #133
	b.ne	LBB0_10
; %bb.4:
	str	wzr, [x19]
	mov	w8, #21558
	movk	w8, #3, lsl #16
	str	w8, [x3]
Lloh2:
	adrp	x8, _IIO_VAL_INT_PLUS_NANO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_NANO@GOTPAGEOFF]
	b	LBB0_18
LBB0_5:
Lloh4:
	adrp	x8, _ADXRS450_QUAD1@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ADXRS450_QUAD1@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_adxrs450_spi_read_reg_16
	cbnz	w0, LBB0_19
	b	LBB0_9
LBB0_6:
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_14
; %bb.7:
	cmp	w8, #133
	b.ne	LBB0_10
; %bb.8:
	add	x1, sp, #12
	bl	_adxrs450_spi_sensor_data
	cbnz	w0, LBB0_19
LBB0_9:
	ldr	w8, [sp, #12]
	b	LBB0_16
LBB0_10:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_11:
Lloh10:
	adrp	x8, _ADXRS450_DNC1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ADXRS450_DNC1@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_adxrs450_spi_read_reg_16
	cbnz	w0, LBB0_19
; %bb.12:
	ldr	w0, [sp, #12]
	mov	w1, #9
	bl	_sign_extend32
	str	w0, [x19]
	b	LBB0_17
LBB0_13:
	mov	w8, #200
	str	w8, [x19]
	str	wzr, [x3]
	b	LBB0_17
LBB0_14:
Lloh13:
	adrp	x8, _ADXRS450_TEMP1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ADXRS450_TEMP1@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_adxrs450_spi_read_reg_16
	cbnz	w0, LBB0_19
; %bb.15:
	ldr	w8, [sp, #12]
	asr	w8, w8, #6
	add	w8, w8, #225
LBB0_16:
	str	w8, [x19]
LBB0_17:
Lloh16:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_ADXRS450_TEMP1,4,2             ; @ADXRS450_TEMP1
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IIO_VAL_INT_PLUS_NANO,4,2      ; @IIO_VAL_INT_PLUS_NANO
	.comm	_ADXRS450_QUAD1,4,2             ; @ADXRS450_QUAD1
	.comm	_ADXRS450_DNC1,4,2              ; @ADXRS450_DNC1
	.no_dead_strip	_adxrs450_read_raw
.subsections_via_symbols
