	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bmp180_compensate_press
_bmp180_compensate_press:               ## @bmp180_compensate_press
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-4000, %r8d                    ## imm = 0xF060
	addl	4(%rdi), %r8d
	movb	(%rdi), %cl
	movl	%r8d, %r9d
	imull	%r9d, %r9d
	shrl	$12, %r9d
	movl	8(%rdi), %edx
	imull	%r9d, %edx
	sarl	$11, %edx
	movl	12(%rdi), %eax
	imull	%r8d, %eax
	sarl	$11, %eax
	addl	%edx, %eax
	movl	32(%rdi), %edx
	leal	(%rax,%rdx,4), %edx
	shll	%cl, %edx
	leal	2(%rdx), %eax
	addl	$5, %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$2, %edx
	imull	16(%rdi), %r8d
	sarl	$13, %r8d
	imull	20(%rdi), %r9d
	sarl	$16, %r9d
	addl	%r9d, %r8d
	addl	$2, %r8d
	sarl	$2, %r8d
	addl	$32768, %r8d                    ## imm = 0x8000
	imull	24(%rdi), %r8d
	movl	$50000, %eax                    ## imm = 0xC350
	shrl	%cl, %eax
	sarl	$15, %r8d
	subl	%edx, %esi
	imull	%esi, %eax
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	addl	%eax, %eax
	cltd
	idivl	%r8d
	jmp	LBB0_3
LBB0_2:
	cltd
	idivl	%r8d
	addl	%eax, %eax
LBB0_3:
	movl	%eax, %ecx
	sarl	$8, %ecx
	imull	%ecx, %ecx
	imull	$3038, %ecx, %ecx               ## imm = 0xBDE
	shrl	$16, %ecx
	imull	$-7357, %eax, %edx              ## imm = 0xE343
	sarl	$16, %edx
	addl	%edx, %ecx
	addl	$3791, %ecx                     ## imm = 0xECF
	sarl	$4, %ecx
	addl	%eax, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bmp180_compensate_press
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bmp180_compensate_press
_bmp180_compensate_press:               ; @bmp180_compensate_press
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	sub	w9, w9, #4000
	mul	w10, w9, w9
	lsr	w10, w10, #12
	ldp	w11, w12, [x0, #8]
	mul	w11, w10, w11
	asr	w11, w11, #11
	mul	w12, w12, w9
	add	w11, w11, w12, asr #11
	ldr	w12, [x0, #32]
	add	w11, w11, w12, lsl #2
	lsl	w11, w11, w8
	add	w12, w11, #2
	add	w11, w11, #5
	cmp	w12, #0
	csel	w11, w11, w12, lt
	ldp	w12, w13, [x0, #16]
	mul	w9, w12, w9
	asr	w9, w9, #13
	mul	w10, w13, w10
	add	w9, w9, w10, asr #16
	add	w9, w9, #2
	asr	w9, w9, #2
	ldr	w10, [x0, #24]
	add	w9, w9, #8, lsl #12             ; =32768
	mul	w9, w9, w10
	asr	w9, w9, #15
	sub	w10, w1, w11, asr #2
	mov	w11, #50000
	lsr	w8, w11, w8
	mul	w8, w10, w8
	sdiv	w10, w8, w9
	lsl	w10, w10, #1
	lsl	w11, w8, #1
	sdiv	w9, w11, w9
	tst	w8, #0x80000000
	csel	w8, w10, w9, ne
	asr	w9, w8, #8
	mul	w9, w9, w9
	mov	w10, #3038
	mul	w9, w9, w10
	mov	w10, #-7357
	mul	w10, w8, w10
	asr	w10, w10, #16
	add	w9, w10, w9, lsr #16
	add	w9, w9, #3791
	add	w0, w8, w9, asr #4
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bmp180_compensate_press
.subsections_via_symbols
