	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rd_r
_rd_r:                                  ## @rd_r
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$160, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movaps	l___const.rd_r.list+112(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movaps	l___const.rd_r.list+96(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.rd_r.list+80(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.rd_r.list+64(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.rd_r.list+48(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.rd_r.list+32(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	l___const.rd_r.list+16(%rip), %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	l___const.rd_r.list(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	leaq	-144(%rbp), %rsi
	leaq	-152(%rbp), %rcx
	xorl	%edx, %edx
	callq	_indx
	cmpl	$15, %eax
	jne	LBB0_2
## %bb.1:
	movq	-152(%rbp), %rax
	movq	_readbyte@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_writebyte@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_7
LBB0_2:
	cmpl	$4, %eax
	jg	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$3, %eax
	setge	%cl
	shll	$5, %ecx
	orl	$221, %ecx
	movq	_indexed@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	andl	$1, %eax
	movl	$6, %ecx
	subl	%eax, %ecx
	jmp	LBB0_8
LBB0_4:
	cmpl	$12, %eax
	ja	LBB0_6
## %bb.5:
	addl	$-4, %eax
	movl	%eax, %ecx
	jmp	LBB0_8
LBB0_6:
	shll	$5, %eax
	addl	$-195, %eax
	movq	_indexed@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	-152(%rbp), %rax
	movq	_indexjmp@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_7:
	movl	$7, %ecx
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ecx, %eax
	addq	$160, %rsp
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ixl"

L_.str.1:                               ## @.str.1
	.asciz	"ixh"

L_.str.2:                               ## @.str.2
	.asciz	"iyl"

L_.str.3:                               ## @.str.3
	.asciz	"iyh"

L_.str.4:                               ## @.str.4
	.asciz	"b"

L_.str.5:                               ## @.str.5
	.asciz	"c"

L_.str.6:                               ## @.str.6
	.asciz	"d"

L_.str.7:                               ## @.str.7
	.asciz	"e"

L_.str.8:                               ## @.str.8
	.asciz	"h"

L_.str.9:                               ## @.str.9
	.asciz	"l"

L_.str.10:                              ## @.str.10
	.asciz	"( hl )"

L_.str.11:                              ## @.str.11
	.asciz	"a"

L_.str.12:                              ## @.str.12
	.asciz	"( ix +)"

L_.str.13:                              ## @.str.13
	.asciz	"( iy +)"

L_.str.14:                              ## @.str.14
	.asciz	"*"

	.section	__DATA,__const
	.p2align	4                               ## @__const.rd_r.list
l___const.rd_r.list:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	L_.str.10
	.quad	L_.str.11
	.quad	L_.str.12
	.quad	L_.str.13
	.quad	L_.str.14
	.quad	0

	.comm	_readbyte,8,3                   ## @readbyte
	.comm	_writebyte,4,2                  ## @writebyte
	.comm	_indexed,4,2                    ## @indexed
	.comm	_indexjmp,8,3                   ## @indexjmp
	.no_dead_strip	_rd_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rd_r
_rd_r:                                  ; @rd_r
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, l___const.rd_r.list@PAGE
Lloh4:
	add	x8, x8, l___const.rd_r.list@PAGEOFF
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [sp, #80]
	ldp	q0, q1, [x8, #96]
	stp	q0, q1, [sp, #112]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #48]
	add	x1, sp, #16
	add	x3, sp, #8
	mov	w2, #0
	bl	_indx
	cmp	w0, #15
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
Lloh5:
	adrp	x9, _readbyte@GOTPAGE
Lloh6:
	ldr	x9, [x9, _readbyte@GOTPAGEOFF]
Lloh7:
	str	x8, [x9]
Lloh8:
	adrp	x8, _writebyte@GOTPAGE
Lloh9:
	ldr	x8, [x8, _writebyte@GOTPAGEOFF]
	mov	w9, #1
Lloh10:
	str	w9, [x8]
	b	LBB0_6
LBB0_2:
	mov	x8, x0
	subs	w0, w0, #4
	b.gt	LBB0_4
; %bb.3:
	mov	w9, #221
	mov	w10, #253
	cmp	w8, #2
	csel	w9, w10, w9, gt
Lloh11:
	adrp	x10, _indexed@GOTPAGE
Lloh12:
	ldr	x10, [x10, _indexed@GOTPAGEOFF]
Lloh13:
	str	w9, [x10]
	and	w8, w8, #0x1
	mov	w9, #6
	sub	w0, w9, w8
	b	LBB0_7
LBB0_4:
	cmp	w8, #12
	b.ls	LBB0_7
; %bb.5:
	lsl	w8, w8, #5
	sub	w8, w8, #195
Lloh14:
	adrp	x9, _indexed@GOTPAGE
Lloh15:
	ldr	x9, [x9, _indexed@GOTPAGEOFF]
Lloh16:
	str	w8, [x9]
	ldr	x8, [sp, #8]
Lloh17:
	adrp	x9, _indexjmp@GOTPAGE
Lloh18:
	ldr	x9, [x9, _indexjmp@GOTPAGEOFF]
Lloh19:
	str	x8, [x9]
LBB0_6:
	mov	w0, #7
LBB0_7:
	ldur	x8, [x29, #-8]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ixl"

l_.str.1:                               ; @.str.1
	.asciz	"ixh"

l_.str.2:                               ; @.str.2
	.asciz	"iyl"

l_.str.3:                               ; @.str.3
	.asciz	"iyh"

l_.str.4:                               ; @.str.4
	.asciz	"b"

l_.str.5:                               ; @.str.5
	.asciz	"c"

l_.str.6:                               ; @.str.6
	.asciz	"d"

l_.str.7:                               ; @.str.7
	.asciz	"e"

l_.str.8:                               ; @.str.8
	.asciz	"h"

l_.str.9:                               ; @.str.9
	.asciz	"l"

l_.str.10:                              ; @.str.10
	.asciz	"( hl )"

l_.str.11:                              ; @.str.11
	.asciz	"a"

l_.str.12:                              ; @.str.12
	.asciz	"( ix +)"

l_.str.13:                              ; @.str.13
	.asciz	"( iy +)"

l_.str.14:                              ; @.str.14
	.asciz	"*"

	.section	__DATA,__const
	.p2align	3                               ; @__const.rd_r.list
l___const.rd_r.list:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11
	.quad	l_.str.12
	.quad	l_.str.13
	.quad	l_.str.14
	.quad	0

	.comm	_readbyte,8,3                   ; @readbyte
	.comm	_writebyte,4,2                  ; @writebyte
	.comm	_indexed,4,2                    ; @indexed
	.comm	_indexjmp,8,3                   ; @indexjmp
	.no_dead_strip	_rd_r
.subsections_via_symbols
