	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bme680_read_press
_bme680_read_press:                     ## @bme680_read_press
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	(%rdi), %edi
	callq	_regmap_get_device
	movq	%rax, %r12
	movq	$0, -48(%rbp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_bme680_read_temp
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%r13), %edi
	movq	_BME680_REG_PRESS_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movl	$3, %ecx
	callq	_regmap_bulk_read
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	-48(%rbp), %rdi
	callq	_be32_to_cpu
	sarl	$12, %eax
	movq	_BME680_MEAS_SKIPPED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_7
LBB0_6:
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bme680_compensate_press
	movl	%eax, (%r15)
	movl	$100, (%r14)
	movq	_IIO_VAL_FRACTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BME680_REG_PRESS_MSB,4,2       ## @BME680_REG_PRESS_MSB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to read pressure\n"

	.comm	_BME680_MEAS_SKIPPED,4,2        ## @BME680_MEAS_SKIPPED
L_.str.1:                               ## @.str.1
	.asciz	"reading pressure skipped\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IIO_VAL_FRACTIONAL,4,2         ## @IIO_VAL_FRACTIONAL
	.no_dead_strip	_bme680_read_press
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bme680_read_press
_bme680_read_press:                     ; @bme680_read_press
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_regmap_get_device
	mov	x22, x0
	str	xzr, [sp, #8]
	mov	x0, x21
	mov	x1, #0
	bl	_bme680_read_temp
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	w0, [x21]
Lloh0:
	adrp	x8, _BME680_REG_PRESS_MSB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BME680_REG_PRESS_MSB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	w3, #3
	bl	_regmap_bulk_read
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_be32_to_cpu
	asr	w1, w0, #12
Lloh3:
	adrp	x8, _BME680_MEAS_SKIPPED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BME680_MEAS_SKIPPED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_6
; %bb.3:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_dev_err
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_7
LBB0_4:
	mov	x23, x0
	b	LBB0_7
LBB0_5:
	mov	x23, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	b	LBB0_7
LBB0_6:
	mov	x0, x21
	bl	_bme680_compensate_press
	str	w0, [x20]
	mov	w8, #100
	str	w8, [x19]
Lloh13:
	adrp	x8, _IIO_VAL_FRACTIONAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x8]
LBB0_7:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BME680_REG_PRESS_MSB,4,2       ; @BME680_REG_PRESS_MSB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to read pressure\n"

	.comm	_BME680_MEAS_SKIPPED,4,2        ; @BME680_MEAS_SKIPPED
l_.str.1:                               ; @.str.1
	.asciz	"reading pressure skipped\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IIO_VAL_FRACTIONAL,4,2         ; @IIO_VAL_FRACTIONAL
	.no_dead_strip	_bme680_read_press
.subsections_via_symbols
