	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpu3050_read_mem
_mpu3050_read_mem:                      ## @mpu3050_read_mem
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %edx
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_MPU3050_BANK_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_write
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	_MPU3050_MEM_START_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%rbx), %edi
	movq	_MPU3050_MEM_R_W@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_bulk_read               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MPU3050_BANK_SEL,4,2           ## @MPU3050_BANK_SEL
	.comm	_MPU3050_MEM_START_ADDR,4,2     ## @MPU3050_MEM_START_ADDR
	.comm	_MPU3050_MEM_R_W,4,2            ## @MPU3050_MEM_R_W
	.no_dead_strip	_mpu3050_read_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpu3050_read_mem
_mpu3050_read_mem:                      ; @mpu3050_read_mem
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x4
	mov	x19, x3
	mov	x22, x2
	mov	x2, x1
	mov	x21, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _MPU3050_BANK_SEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPU3050_BANK_SEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_regmap_write
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _MPU3050_MEM_START_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPU3050_MEM_START_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_regmap_write
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x8, _MPU3050_MEM_R_W@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPU3050_MEM_R_W@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_regmap_bulk_read
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MPU3050_BANK_SEL,4,2           ; @MPU3050_BANK_SEL
	.comm	_MPU3050_MEM_START_ADDR,4,2     ; @MPU3050_MEM_START_ADDR
	.comm	_MPU3050_MEM_R_W,4,2            ; @MPU3050_MEM_R_W
	.no_dead_strip	_mpu3050_read_mem
.subsections_via_symbols
