	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slimpro_i2c_rd
_slimpro_i2c_rd:                        ## @slimpro_i2c_rd
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rax
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	16(%rbp), %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -32(%rbp)
	movq	_SLIMPRO_IIC_BUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_SLIMPRO_IIC_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r8, %rcx
	movq	%rax, %r8
	callq	_SLIMPRO_IIC_ENCODE_MSG
	movq	%rax, -64(%rbp)
	movq	%rbx, %rdi
	callq	_SLIMPRO_IIC_ENCODE_ADDR
	movq	%rax, -56(%rbp)
	movq	$0, -48(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_slimpro_i2c_send_msg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIMPRO_IIC_BUS,4,2            ## @SLIMPRO_IIC_BUS
	.comm	_SLIMPRO_IIC_READ,4,2           ## @SLIMPRO_IIC_READ
	.no_dead_strip	_slimpro_i2c_rd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slimpro_i2c_rd
_slimpro_i2c_rd:                        ; @slimpro_i2c_rd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x6
	mov	x8, x3
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x9, [sp, #24]
Lloh3:
	adrp	x9, _SLIMPRO_IIC_BUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SLIMPRO_IIC_BUS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x9, _SLIMPRO_IIC_READ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SLIMPRO_IIC_READ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	mov	x3, x4
	mov	x4, x8
	bl	_SLIMPRO_IIC_ENCODE_MSG
	str	x0, [sp]
	mov	x0, x20
	bl	_SLIMPRO_IIC_ENCODE_ADDR
	stp	x0, xzr, [sp, #8]
	mov	x1, sp
	mov	x0, x21
	mov	x2, x19
	bl	_slimpro_i2c_send_msg
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	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
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIMPRO_IIC_BUS,4,2            ; @SLIMPRO_IIC_BUS
	.comm	_SLIMPRO_IIC_READ,4,2           ; @SLIMPRO_IIC_READ
	.no_dead_strip	_slimpro_i2c_rd
.subsections_via_symbols
