	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bmp180_read_calib
_bmp180_read_calib:                     ## @bmp180_read_calib
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BMP180_REG_CALIB_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r13d
	shrl	$31, %r13d
	addl	%eax, %r13d
	sarl	%r13d
	leaq	(,%r13,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%r12), %edi
	movq	_BMP180_REG_CALIB_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$3, %r13d
	movq	%r15, %rdx
	movl	%r13d, %ecx
	callq	_regmap_bulk_read
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %r12
	xorl	%edi, %edi
	callq	_cpu_to_be16
	cmpq	%rax, %r12
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15,%rbx,8), %r12
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_be16
	cmpq	%rax, %r12
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_7:
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_add_device_randomness
	movq	_AC1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 80(%r14)
	movq	_AC2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 72(%r14)
	movq	_AC3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 64(%r14)
	movq	_AC4@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 56(%r14)
	movq	_AC5@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 48(%r14)
	movq	_AC6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 40(%r14)
	movq	_B1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 32(%r14)
	movq	_B2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 24(%r14)
	movq	_MB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 16(%r14)
	movq	_MC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, 8(%r14)
	movq	_MD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_be16_to_cpu
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BMP180_REG_CALIB_COUNT,4,2     ## @BMP180_REG_CALIB_COUNT
	.comm	_BMP180_REG_CALIB_START,4,2     ## @BMP180_REG_CALIB_START
	.comm	_EIO,4,2                        ## @EIO
	.comm	_AC1,8,3                        ## @AC1
	.comm	_AC2,8,3                        ## @AC2
	.comm	_AC3,8,3                        ## @AC3
	.comm	_AC4,8,3                        ## @AC4
	.comm	_AC5,8,3                        ## @AC5
	.comm	_AC6,8,3                        ## @AC6
	.comm	_B1,8,3                         ## @B1
	.comm	_B2,8,3                         ## @B2
	.comm	_MB,8,3                         ## @MB
	.comm	_MC,8,3                         ## @MC
	.comm	_MD,8,3                         ## @MD
	.no_dead_strip	_bmp180_read_calib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bmp180_read_calib
_bmp180_read_calib:                     ; @bmp180_read_calib
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _BMP180_REG_CALIB_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BMP180_REG_CALIB_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	lsl	x9, x8, #3
	add	x10, x9, #15
	and	x12, x10, #0xffffffff0
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x20, x9, x12
	mov	sp, x20
	ldr	w0, [x0]
Lloh8:
	adrp	x9, _BMP180_REG_CALIB_START@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BMP180_REG_CALIB_START@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	lsl	w21, w8, #3
	mov	x2, x20
	mov	x3, x21
	bl	_regmap_bulk_read
	tbnz	w0, #31, LBB0_8
; %bb.1:
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x20, x22, lsl #3]
	mov	w0, #0
	bl	_cpu_to_be16
	cmp	x23, x0
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x20, x22, lsl #3]
	mov	w0, #65535
	bl	_cpu_to_be16
	cmp	x23, x0
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_3
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_add_device_randomness
Lloh11:
	adrp	x8, _AC1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AC1@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #80]
Lloh14:
	adrp	x8, _AC2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AC2@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #72]
Lloh17:
	adrp	x8, _AC3@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AC3@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #64]
Lloh20:
	adrp	x8, _AC4@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AC4@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #56]
Lloh23:
	adrp	x8, _AC5@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AC5@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #48]
Lloh26:
	adrp	x8, _AC6@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AC6@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #40]
Lloh29:
	adrp	x8, _B1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _B1@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #32]
Lloh32:
	adrp	x8, _B2@GOTPAGE
Lloh33:
	ldr	x8, [x8, _B2@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #24]
Lloh35:
	adrp	x8, _MB@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MB@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #16]
Lloh38:
	adrp	x8, _MC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MC@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	str	x0, [x19, #8]
Lloh41:
	adrp	x8, _MD@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MD@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_be16_to_cpu
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_8
LBB0_7:
Lloh44:
	adrp	x8, _EIO@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_BMP180_REG_CALIB_COUNT,4,2     ; @BMP180_REG_CALIB_COUNT
	.comm	_BMP180_REG_CALIB_START,4,2     ; @BMP180_REG_CALIB_START
	.comm	_EIO,4,2                        ; @EIO
	.comm	_AC1,8,3                        ; @AC1
	.comm	_AC2,8,3                        ; @AC2
	.comm	_AC3,8,3                        ; @AC3
	.comm	_AC4,8,3                        ; @AC4
	.comm	_AC5,8,3                        ; @AC5
	.comm	_AC6,8,3                        ; @AC6
	.comm	_B1,8,3                         ; @B1
	.comm	_B2,8,3                         ; @B2
	.comm	_MB,8,3                         ; @MB
	.comm	_MC,8,3                         ; @MC
	.comm	_MD,8,3                         ; @MD
	.no_dead_strip	_bmp180_read_calib
.subsections_via_symbols
