	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wr_byte
_wr_byte:                               ## @wr_byte
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	shrl	$7, %esi
	andl	$1, %esi
	callq	_sda_out
	movq	_i2c_line_high@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movq	_i2c_line_low@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	%r14d, %esi
	shrl	$6, %esi
	andl	$1, %esi
	movq	%rbx, %rdi
	callq	_sda_out
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	%r14d, %esi
	shrl	$5, %esi
	andl	$1, %esi
	movq	%rbx, %rdi
	callq	_sda_out
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	%r14d, %esi
	shrl	$4, %esi
	andl	$1, %esi
	movq	%rbx, %rdi
	callq	_sda_out
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	%r14d, %esi
	shrl	$3, %esi
	andl	$1, %esi
	movq	%rbx, %rdi
	callq	_sda_out
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	%r14d, %esi
	shrl	$2, %esi
	andl	$1, %esi
	movq	%rbx, %rdi
	callq	_sda_out
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	%r14d, %esi
	shrl	%esi
	andl	$1, %esi
	movq	%rbx, %rdi
	callq	_sda_out
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	andl	$1, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_sda_out
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_scl_out
	movq	%rbx, %rdi
	callq	_i2c_ackrcv
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_i2c_line_high,4,2              ## @i2c_line_high
	.comm	_i2c_line_low,4,2               ## @i2c_line_low
	.no_dead_strip	_wr_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wr_byte
_wr_byte:                               ; @wr_byte
	.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, x1
	mov	x19, x0
	ubfx	w1, w1, #7, #1
	bl	_sda_out
Lloh0:
	adrp	x21, _i2c_line_high@GOTPAGE
Lloh1:
	ldr	x21, [x21, _i2c_line_high@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_scl_out
Lloh2:
	adrp	x22, _i2c_line_low@GOTPAGE
Lloh3:
	ldr	x22, [x22, _i2c_line_low@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_scl_out
	ubfx	w1, w20, #6, #1
	mov	x0, x19
	bl	_sda_out
	ldr	w1, [x21]
	mov	x0, x19
	bl	_scl_out
	ldr	w1, [x22]
	mov	x0, x19
	bl	_scl_out
	ubfx	w1, w20, #5, #1
	mov	x0, x19
	bl	_sda_out
	ldr	w1, [x21]
	mov	x0, x19
	bl	_scl_out
	ldr	w1, [x22]
	mov	x0, x19
	bl	_scl_out
	ubfx	w1, w20, #4, #1
	mov	x0, x19
	bl	_sda_out
	ldr	w1, [x21]
	mov	x0, x19
	bl	_scl_out
	ldr	w1, [x22]
	mov	x0, x19
	bl	_scl_out
	ubfx	w1, w20, #3, #1
	mov	x0, x19
	bl	_sda_out
	ldr	w1, [x21]
	mov	x0, x19
	bl	_scl_out
	ldr	w1, [x22]
	mov	x0, x19
	bl	_scl_out
	ubfx	w1, w20, #2, #1
	mov	x0, x19
	bl	_sda_out
	ldr	w1, [x21]
	mov	x0, x19
	bl	_scl_out
	ldr	w1, [x22]
	mov	x0, x19
	bl	_scl_out
	ubfx	w1, w20, #1, #1
	mov	x0, x19
	bl	_sda_out
	ldr	w1, [x21]
	mov	x0, x19
	bl	_scl_out
	ldr	w1, [x22]
	mov	x0, x19
	bl	_scl_out
	and	w1, w20, #0x1
	mov	x0, x19
	bl	_sda_out
	ldr	w1, [x21]
	mov	x0, x19
	bl	_scl_out
	ldr	w1, [x22]
	mov	x0, x19
	bl	_scl_out
	mov	x0, x19
	bl	_i2c_ackrcv
	cmp	w0, #0
	cset	w0, eq
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_i2c_line_high,4,2              ; @i2c_line_high
	.comm	_i2c_line_low,4,2               ; @i2c_line_low
	.no_dead_strip	_wr_byte
.subsections_via_symbols
