	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rd_byte
_rd_byte:                               ## @rd_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_in
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_in
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_in
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_in
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_in
	movl	%eax, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_in
	movl	%eax, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_in
	movl	%eax, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_in
	movl	%eax, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	callq	_stop_cmd
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sda_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_scl_out
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sda_out
LBB0_3:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	shll	$2, %eax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, %ecx
	orl	%eax, %ecx
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	orl	%ecx, %eax
	shll	$2, %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, %ecx
	orl	%eax, %ecx
	orl	%ecx, %r14d
	shll	$2, %r14d
	addl	%r15d, %r15d
	orl	%r14d, %r15d
	orl	%r15d, %r12d
	addl	%r12d, %r12d
	orl	%r12d, %r13d
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rd_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rd_byte
_rd_byte:                               ; @rd_byte
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x19, x0
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_sda_in
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_sda_in
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_sda_in
	mov	x23, x0
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_sda_in
	mov	x24, x0
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_sda_in
	mov	x25, x0
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_sda_in
	mov	x26, x0
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_sda_in
	mov	x27, x0
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_sda_in
	mov	x28, x0
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	cbz	w22, LBB0_2
; %bb.1:
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	bl	_stop_cmd
	b	LBB0_3
LBB0_2:
	mov	w1, #0
	bl	_sda_out
	mov	x0, x19
	mov	w1, #1
	bl	_scl_out
	mov	x0, x19
	mov	w1, #0
	bl	_scl_out
	mov	x0, x19
	mov	w1, #1
	bl	_sda_out
LBB0_3:
	lsl	w8, w20, #2
	orr	w8, w8, w21, lsl #1
	orr	w8, w23, w8
	lsl	w8, w8, #2
	orr	w8, w8, w24, lsl #1
	orr	w8, w25, w8
	lsl	w8, w8, #2
	orr	w8, w8, w26, lsl #1
	orr	w8, w27, w8
	orr	w0, w28, w8, lsl #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rd_byte
.subsections_via_symbols
