	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_r1
_i2c_r1:                                ## @i2c_r1
	.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	%rdx, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	(%rdi), %eax
	orl	$16, %eax
	movl	%eax, -64(%rbp)
	movl	4(%rdi), %eax
	movl	%eax, -60(%rbp)
	movl	%esi, -56(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -52(%rbp)
	movl	$16, -36(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r15, %rsi
	callq	_i2c_w
	movl	(%rbx), %eax
	orl	$18, %eax
	movl	%eax, -64(%rbp)
	movl	$0, -56(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_i2c_w
	movq	%rbx, %rdi
	movl	$4290, %esi                     ## imm = 0x10C2
	movl	$5, %edx
	callq	_reg_r
	movq	(%rbx), %rax
	movl	16(%rax), %eax
	movl	%eax, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	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
	.no_dead_strip	_i2c_r1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_r1
_i2c_r1:                                ; @i2c_r1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldp	w8, w9, [x0]
	orr	w8, w8, #0x10
	stp	w8, w9, [sp, #8]
	str	w1, [sp, #16]
	stur	xzr, [sp, #28]
	stur	xzr, [sp, #20]
	mov	w8, #16
	str	w8, [sp, #36]
	add	x1, sp, #8
	bl	_i2c_w
	ldr	w8, [x20]
	mov	w9, #18
	orr	w8, w8, w9
	str	w8, [sp, #8]
	str	wzr, [sp, #16]
	add	x1, sp, #8
	mov	x0, x20
	bl	_i2c_w
	mov	x0, x20
	mov	w1, #4290
	mov	w2, #5
	bl	_reg_r
	ldr	x8, [x20]
	ldr	w8, [x8, #16]
	str	w8, [x19]
	ldur	x8, [x29, #-24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	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
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_i2c_r1
.subsections_via_symbols
