	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bme680_compensate_press
_bme680_compensate_press:               ## @bme680_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	(%rdi), %ecx
	movl	12(%rdi), %r8d
	sarl	%ecx
	addl	$-64000, %ecx                   ## imm = 0xFFFF0600
	movl	%ecx, %edx
	sarl	$2, %edx
	imull	%edx, %edx
	movl	%edx, %r9d
	shrl	$11, %r9d
	imull	4(%rdi), %r9d
	sarl	$2, %r9d
	movl	8(%rdi), %eax
	imull	%ecx, %eax
	leal	(%r9,%rax,2), %eax
	sarl	$2, %eax
	shll	$16, %r8d
	shrl	$13, %edx
	imull	16(%rdi), %edx
	addl	%eax, %r8d
	shll	$5, %edx
	imull	20(%rdi), %ecx
	sarl	$3, %edx
	sarl	%ecx
	addl	%edx, %ecx
	sarl	$18, %ecx
	addl	$32768, %ecx                    ## imm = 0x8000
	imull	24(%rdi), %ecx
	sarl	$15, %ecx
	sarl	$12, %r8d
	addl	%esi, %r8d
	movl	$1048576, %eax                  ## imm = 0x100000
	subl	%r8d, %eax
	imull	$3125, %eax, %eax               ## imm = 0xC35
	movq	_BME680_MAX_OVERFLOW_VAL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_1
## %bb.2:
	addl	%eax, %eax
	cltd
	idivl	%ecx
	jmp	LBB0_3
LBB0_1:
	cltd
	idivl	%ecx
	addl	%eax, %eax
LBB0_3:
	movl	%eax, %ecx
	sarl	$3, %ecx
	imull	%ecx, %ecx
	shrl	$13, %ecx
	imull	28(%rdi), %ecx
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%edx, %esi
	imull	%edx, %esi
	imull	%edx, %esi
	movl	%eax, %edx
	sarl	$2, %edx
	imull	32(%rdi), %edx
	sarl	$12, %ecx
	sarl	$13, %edx
	imull	36(%rdi), %esi
	addl	%ecx, %edx
	sarl	$17, %esi
	addl	%edx, %esi
	movl	40(%rdi), %ecx
	shll	$7, %ecx
	addl	%esi, %ecx
	sarl	$4, %ecx
	addl	%eax, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BME680_MAX_OVERFLOW_VAL,4,2    ## @BME680_MAX_OVERFLOW_VAL
	.no_dead_strip	_bme680_compensate_press
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bme680_compensate_press
_bme680_compensate_press:               ; @bme680_compensate_press
	.cfi_startproc
; %bb.0:
	mov	w8, #-64000
	ldp	w9, w10, [x0]
	add	w8, w8, w9, asr #1
	asr	w9, w8, #2
	mul	w9, w9, w9
	lsr	w11, w9, #11
	mul	w10, w11, w10
	asr	w10, w10, #2
	ldp	w11, w12, [x0, #8]
	mul	w11, w11, w8
	add	w10, w10, w11, lsl #1
	asr	w10, w10, #2
	add	w10, w10, w12, lsl #16
	lsr	w9, w9, #13
	ldp	w11, w12, [x0, #16]
	mul	w9, w11, w9
	sbfiz	w9, w9, #2, #27
	mul	w8, w12, w8
	add	w8, w9, w8, asr #1
	asr	w8, w8, #18
	add	w8, w8, #8, lsl #12             ; =32768
	ldp	w9, w11, [x0, #24]
	mul	w8, w8, w9
	asr	w8, w8, #15
	add	w9, w1, w10, asr #12
	mov	w10, #1048576
	sub	w9, w10, w9
	mov	w10, #3125
	mul	w9, w9, w10
Lloh0:
	adrp	x10, _BME680_MAX_OVERFLOW_VAL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BME680_MAX_OVERFLOW_VAL@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	lsl	w12, w9, #1
	sdiv	w12, w12, w8
	sdiv	w8, w9, w8
	lsl	w8, w8, #1
	cmp	w9, w10
	csel	w8, w12, w8, lt
	asr	w9, w8, #3
	mul	w9, w9, w9
	lsr	w9, w9, #13
	mul	w9, w9, w11
	asr	w10, w8, #2
	ldp	w11, w12, [x0, #32]
	mul	w10, w11, w10
	asr	w11, w8, #8
	mul	w13, w11, w11
	mul	w11, w13, w11
	asr	w9, w9, #12
	mul	w11, w11, w12
	add	w9, w9, w10, asr #13
	add	w9, w9, w11, asr #17
	ldr	w10, [x0, #40]
	add	w9, w9, w10, lsl #7
	add	w0, w8, w9, asr #4
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BME680_MAX_OVERFLOW_VAL,4,2    ; @BME680_MAX_OVERFLOW_VAL
	.no_dead_strip	_bme680_compensate_press
.subsections_via_symbols
