	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bme680_compensate_gas
_bme680_compensate_gas:                 ## @bme680_compensate_gas
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	(%rdi), %eax
	leal	(%rax,%rax,4), %eax
	addl	$1340, %eax                     ## imm = 0x53C
	leaq	l___const.bme680_compensate_gas.lookupTable(%rip), %rcx
	imull	(%rcx,%rdx,4), %eax
	sarl	$16, %eax
	shll	$15, %esi
	addl	%eax, %esi
	addl	$-16777216, %esi                ## imm = 0xFF000000
	movb	$15, %cl
	subb	%dl, %cl
	movl	$125000, %edx                   ## imm = 0x1E848
	shll	%cl, %edx
	imull	%eax, %edx
	sarl	$9, %edx
	movl	%esi, %edi
	sarl	%edi
	addl	%edx, %edi
	popq	%rbp
	jmp	_div64_s64                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.bme680_compensate_gas.lookupTable
l___const.bme680_compensate_gas.lookupTable:
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff
	.long	2126008810                      ## 0x7eb851ea
	.long	2147483647                      ## 0x7fffffff
	.long	2130303777                      ## 0x7ef9db21
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff
	.long	2143188679                      ## 0x7fbe76c7
	.long	2136746228                      ## 0x7f5c28f4
	.long	2147483647                      ## 0x7fffffff
	.long	2126008810                      ## 0x7eb851ea
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff

	.no_dead_strip	_bme680_compensate_gas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bme680_compensate_gas
_bme680_compensate_gas:                 ; @bme680_compensate_gas
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w8, w8, w8, lsl #2
	add	w8, w8, #1340
Lloh0:
	adrp	x9, l___const.bme680_compensate_gas.lookupTable@PAGE
Lloh1:
	add	x9, x9, l___const.bme680_compensate_gas.lookupTable@PAGEOFF
	ldr	w9, [x9, x2, lsl #2]
	mul	w8, w8, w9
	asr	w8, w8, #16
	add	w9, w8, w1, lsl #15
	mov	w10, #-16777216
	add	w1, w9, w10
	mov	w9, #15
	sub	w9, w9, w2
	mov	w10, #59464
	movk	w10, #1, lsl #16
	lsl	w9, w10, w9
	mul	w8, w8, w9
	asr	w8, w8, #9
	add	w0, w8, w1, asr #1
	b	_div64_s64
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.bme680_compensate_gas.lookupTable
l___const.bme680_compensate_gas.lookupTable:
	.long	2147483647                      ; 0x7fffffff
	.long	2147483647                      ; 0x7fffffff
	.long	2147483647                      ; 0x7fffffff
	.long	2147483647                      ; 0x7fffffff
	.long	2147483647                      ; 0x7fffffff
	.long	2126008810                      ; 0x7eb851ea
	.long	2147483647                      ; 0x7fffffff
	.long	2130303777                      ; 0x7ef9db21
	.long	2147483647                      ; 0x7fffffff
	.long	2147483647                      ; 0x7fffffff
	.long	2143188679                      ; 0x7fbe76c7
	.long	2136746228                      ; 0x7f5c28f4
	.long	2147483647                      ; 0x7fffffff
	.long	2126008810                      ; 0x7eb851ea
	.long	2147483647                      ; 0x7fffffff
	.long	2147483647                      ; 0x7fffffff

	.no_dead_strip	_bme680_compensate_gas
.subsections_via_symbols
