	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ms5611_temp_and_pressure_compensate
_ms5611_temp_and_pressure_compensate:   ## @ms5611_temp_and_pressure_compensate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	movl	(%rdx), %r8d
	movq	(%rdi), %rcx
	movl	20(%rcx), %edi
	shll	$8, %edi
	subl	%edi, %eax
	movl	4(%rcx), %r10d
	movl	8(%rcx), %edi
	shll	$16, %edi
	movl	16(%rcx), %r9d
	imull	%eax, %r9d
	sarl	$7, %r9d
	addl	%edi, %r9d
	shll	$15, %r10d
	movl	12(%rcx), %edi
	imull	%eax, %edi
	sarl	$8, %edi
	addl	%r10d, %edi
	imull	24(%rcx), %eax
	movl	%eax, %ecx
	sarl	$23, %ecx
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movl	%ecx, %eax
	imull	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, %r10d
	sarl	%r10d
	sarl	$2, %eax
	subl	%r10d, %r9d
	subl	%eax, %edi
LBB0_2:
	imull	%r8d, %edi
	addl	$2000, %ecx                     ## imm = 0x7D0
	movl	%ecx, (%rsi)
	sarl	$21, %edi
	subl	%r9d, %edi
	sarl	$15, %edi
	movl	%edi, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ms5611_temp_and_pressure_compensate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ms5611_temp_and_pressure_compensate
lCPI0_0:
	.long	15                              ; 0xf
	.long	16                              ; 0x10
lCPI0_1:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967289                      ; 0xfffffff9
lCPI0_2:
	.long	4294967294                      ; 0xfffffffe
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ms5611_temp_and_pressure_compensate:   ; @ms5611_temp_and_pressure_compensate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	ldr	x9, [x0]
	ldp	w10, w11, [x9, #20]
	sub	w10, w8, w10, lsl #8
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	ldr	w8, [x2]
	ldur	d1, [x9, #4]
	ushl.2s	v0, v1, v0
	ldur	d1, [x9, #12]
	dup.2s	v2, w10
	mul.2s	v1, v1, v2
Lloh2:
	adrp	x9, lCPI0_1@PAGE
Lloh3:
	ldr	d2, [x9, lCPI0_1@PAGEOFF]
	sshl.2s	v1, v1, v2
	add.2s	v0, v1, v0
	mul	w10, w11, w10
	asr	w9, w10, #23
	tbz	w10, #31, LBB0_2
; %bb.1:
	mul	w10, w9, w9
	add	w10, w10, w10, lsl #2
	dup.2s	v1, w10
Lloh4:
	adrp	x10, lCPI0_2@PAGE
Lloh5:
	ldr	d2, [x10, lCPI0_2@PAGEOFF]
	sshl.2s	v1, v1, v2
	sub.2s	v0, v0, v1
LBB0_2:
	add	w9, w9, #2000
	str	w9, [x1]
	fmov	w9, s0
	mul	w8, w9, w8
	asr	w8, w8, #21
	mov.s	w9, v0[1]
	sub	w8, w8, w9
	asr	w8, w8, #15
	str	w8, [x2]
	mov	w0, #0
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ms5611_temp_and_pressure_compensate
.subsections_via_symbols
