	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ms5611_read_raw
_ms5611_read_raw:                       ## @ms5611_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, %r14
	movq	%rcx, %r15
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_iio_priv
	cmpq	$130, %r14
	je	LBB0_7
## %bb.1:
	movq	%rax, %r13
	cmpq	$132, %r14
	je	LBB0_10
## %bb.2:
	cmpq	$131, %r14
	jne	LBB0_13
## %bb.3:
	movq	%r13, %rdi
	callq	_mutex_lock
	leaq	-56(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_ms5611_read_temp_and_pressure
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	js	LBB0_21
## %bb.4:
	movl	(%r12), %eax
	cmpl	$129, %eax
	je	LBB0_18
## %bb.5:
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.6:
	movl	-56(%rbp), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_17
LBB0_7:
	movl	(%r12), %eax
	cmpl	$129, %eax
	je	LBB0_14
## %bb.8:
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$10, (%rax)
	jmp	LBB0_17
LBB0_10:
	movl	(%r12), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.11:
	movq	%r13, %rdi
	callq	_mutex_lock
	cmpl	$128, (%r12)
	jne	LBB0_15
## %bb.12:
	movq	16(%r13), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
LBB0_14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movl	$1000, (%r15)                   ## imm = 0x3E8
	jmp	LBB0_19
LBB0_15:
	movq	8(%r13), %rax
LBB0_16:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movq	%r13, %rdi
	callq	_mutex_unlock
LBB0_17:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movslq	-52(%rbp), %rax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movl	%eax, (%r15)
LBB0_19:
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$24, %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	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ms5611_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ms5611_read_raw
_ms5611_read_raw:                       ; @ms5611_read_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x24, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	bl	_iio_priv
	cmp	x24, #130
	b.eq	LBB0_7
; %bb.1:
	mov	x21, x0
	cmp	x24, #132
	b.eq	LBB0_11
; %bb.2:
	cmp	x24, #131
	b.ne	LBB0_14
; %bb.3:
	mov	x0, x21
	bl	_mutex_lock
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x23
	bl	_ms5611_read_temp_and_pressure
	mov	x23, x0
	mov	x0, x21
	bl	_mutex_unlock
	tbnz	w23, #31, LBB0_22
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, #129
	b.eq	LBB0_19
; %bb.5:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.6:
	ldr	w8, [sp, #12]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	b	LBB0_10
LBB0_7:
	ldr	w8, [x22]
	cmp	w8, #129
	b.eq	LBB0_15
; %bb.8:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.9:
	mov	w8, #10
LBB0_10:
	str	w8, [x19]
	b	LBB0_18
LBB0_11:
	ldr	w8, [x22]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.12:
	mov	x0, x21
	bl	_mutex_lock
	ldr	w8, [x22]
	cmp	w8, #128
	b.ne	LBB0_16
; %bb.13:
	ldr	x8, [x21, #16]
	b	LBB0_17
LBB0_14:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_22
LBB0_15:
	str	wzr, [x19]
	mov	w8, #1000
	b	LBB0_20
LBB0_16:
	ldr	x8, [x21, #8]
LBB0_17:
	ldr	x8, [x8]
	str	w8, [x19]
	mov	x0, x21
	bl	_mutex_unlock
LBB0_18:
Lloh3:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
	ldr	w8, [sp, #8]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	str	w9, [x19]
	mov	w10, #1000
	msub	w8, w9, w10, w8
	mul	w8, w8, w10
LBB0_20:
	str	w8, [x20]
Lloh5:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
LBB0_21:
	ldr	w23, [x8]
LBB0_22:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ms5611_read_raw
.subsections_via_symbols
