	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bmi160_get_data
_bmi160_get_data:                       ## @bmi160_get_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_bmi160_to_sensor
	movq	_bmi160_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movq	_IIO_MOD_X@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movslq	%ebx, %rsi
	subq	%rdx, %rsi
	shlq	$2, %rsi
	addq	(%rcx,%rax,8), %rsi
	movl	(%r15), %edi
	leaq	-28(%rbp), %rdx
	movl	$4, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-28(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, %edi
	movl	$15, %esi
	callq	_sign_extend32
	movl	%eax, (%r14)
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bmi160_regs,8,3                ## @bmi160_regs
	.comm	_IIO_MOD_X,4,2                  ## @IIO_MOD_X
	.no_dead_strip	_bmi160_get_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bmi160_get_data
_bmi160_get_data:                       ; @bmi160_get_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	mov	x0, x1
	bl	_bmi160_to_sensor
Lloh0:
	adrp	x8, _bmi160_regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bmi160_regs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, uxtw #3]
Lloh3:
	adrp	x9, _IIO_MOD_X@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IIO_MOD_X@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w9, w20, w9
	add	x1, x8, w9, sxtw #2
	ldr	w0, [x21]
	add	x2, sp, #12
	mov	w3, #4
	bl	_regmap_bulk_read
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_le16_to_cpu
	mov	w1, #15
	bl	_sign_extend32
	str	w0, [x19]
LBB0_2:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bmi160_regs,8,3                ; @bmi160_regs
	.comm	_IIO_MOD_X,4,2                  ; @IIO_MOD_X
	.no_dead_strip	_bmi160_get_data
.subsections_via_symbols
