	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hts221_read_raw
_hts221_read_raw:                       ## @hts221_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_iio_device_claim_direct_mode
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.1:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	$-130, %r13
	cmpq	$4, %r13
	ja	LBB0_13
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r13,4), %rsi
	addq	%rax, %rsi
	jmpq	*%rsi
LBB0_4:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_hts221_get_sensor_scale
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_5:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_hts221_get_sensor_offset
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_6:
	movl	(%r14), %eax
	jmp	LBB0_7
LBB0_3:
	movl	4(%r15), %esi
	movq	%r14, %rdi
	callq	_hts221_read_oneshot
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_9:
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_12
## %bb.10:
	cmpl	$129, %eax
	jne	LBB0_13
## %bb.11:
	movq	%rdx, %rsi
	movq	_hts221_avg_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HTS221_SENSOR_H@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%r14), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax,%rdx,4), %eax
	movl	%eax, (%rsi)
	jmp	LBB0_8
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_12:
	movq	_hts221_avg_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HTS221_SENSOR_T@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%r14), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	(%rax,%rcx,8), %rax
	movl	(%rax,%rsi,4), %eax
LBB0_7:
	movl	%eax, (%rdx)
LBB0_8:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_14:
	movq	%r12, %rdi
	callq	_iio_device_release_direct_mode
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %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_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_hts221_avg_list,8,3            ## @hts221_avg_list
	.comm	_HTS221_SENSOR_H,8,3            ## @HTS221_SENSOR_H
	.comm	_HTS221_SENSOR_T,8,3            ## @HTS221_SENSOR_T
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hts221_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hts221_read_raw
_hts221_read_raw:                       ; @hts221_read_raw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x4
	mov	x23, x3
	mov	x20, x2
	mov	x24, x1
	mov	x19, x0
	bl	_iio_priv
	mov	x21, x0
	mov	x0, x19
	bl	_iio_device_claim_direct_mode
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.1:
	sub	x8, x25, #130
	cmp	x8, #4
	b.hi	LBB0_10
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w1, [x24]
	mov	x0, x21
	mov	x2, x20
	mov	x3, x23
	bl	_hts221_get_sensor_scale
	mov	x22, x0
	b	LBB0_14
LBB0_4:
	ldr	w1, [x24]
	mov	x0, x21
	mov	x2, x20
	mov	x3, x23
	bl	_hts221_get_sensor_offset
	mov	x22, x0
	b	LBB0_14
LBB0_5:
	ldr	w8, [x21]
	b	LBB0_13
LBB0_6:
	ldr	w1, [x24, #4]
	mov	x0, x21
	mov	x2, x20
	bl	_hts221_read_oneshot
	mov	x22, x0
	b	LBB0_14
LBB0_7:
	ldr	w8, [x24]
	cmp	w8, #128
	b.eq	LBB0_11
; %bb.8:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.9:
Lloh2:
	adrp	x8, _hts221_avg_list@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hts221_avg_list@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _HTS221_SENSOR_H@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HTS221_SENSOR_H@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_14
LBB0_11:
Lloh10:
	adrp	x8, _hts221_avg_list@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hts221_avg_list@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _HTS221_SENSOR_T@GOTPAGE
Lloh14:
	ldr	x9, [x9, _HTS221_SENSOR_T@GOTPAGEOFF]
LBB0_12:
	ldr	x9, [x9]
	ldr	x10, [x21, #8]
	lsl	x9, x9, #3
	ldr	x10, [x10, x9]
	ldr	x8, [x8, x9]
	ldr	w8, [x8, x10, lsl #2]
LBB0_13:
	str	w8, [x20]
Lloh15:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
LBB0_14:
	mov	x0, x19
	bl	_iio_device_release_direct_mode
LBB0_15:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_hts221_avg_list,8,3            ; @hts221_avg_list
	.comm	_HTS221_SENSOR_H,8,3            ; @HTS221_SENSOR_H
	.comm	_HTS221_SENSOR_T,8,3            ; @HTS221_SENSOR_T
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hts221_read_raw
.subsections_via_symbols
