	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rd_sp
_rd_sp:                                 ## @rd_sp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$80, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -40(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -32(%rbp)
	leaq	-64(%rbp), %rsi
	leaq	-72(%rbp), %rcx
	xorl	%edx, %edx
	callq	_indx
	cmpl	$4, %eax
	jl	LBB0_2
## %bb.1:
	movq	-72(%rbp), %rax
	movq	_readword@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	sete	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$1, %ecx
	je	LBB0_4
## %bb.3:
	shll	$5, %ecx
	addl	$157, %ecx
	movq	_indexed@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$80, %rsp
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hl"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"(*)"

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

	.comm	_readword,8,3                   ## @readword
	.comm	_indexed,4,2                    ## @indexed
	.no_dead_strip	_rd_sp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rd_sp
_rd_sp:                                 ; @rd_sp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
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_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [sp, #8]
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh9:
	adrp	x9, l_.str.3@PAGE
Lloh10:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x8, x9, [sp, #24]
Lloh11:
	adrp	x8, l_.str.4@PAGE
Lloh12:
	add	x8, x8, l_.str.4@PAGEOFF
	stp	x8, xzr, [sp, #40]
	add	x1, sp, #8
	mov	x3, sp
	mov	w2, #0
	bl	_indx
	cmp	w0, #4
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [sp]
Lloh13:
	adrp	x9, _readword@GOTPAGE
Lloh14:
	ldr	x9, [x9, _readword@GOTPAGEOFF]
Lloh15:
	str	x8, [x9]
	cmp	w0, #4
	cset	w8, eq
	lsl	w0, w8, #1
	b	LBB0_4
LBB0_2:
	cmp	w0, #1
	b.eq	LBB0_4
; %bb.3:
	lsl	w8, w0, #5
	add	w8, w8, #157
Lloh16:
	adrp	x9, _indexed@GOTPAGE
Lloh17:
	ldr	x9, [x9, _indexed@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
	mov	w0, #1
LBB0_4:
	ldur	x8, [x29, #-8]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hl"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"(*)"

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

	.comm	_readword,8,3                   ; @readword
	.comm	_indexed,4,2                    ; @indexed
	.no_dead_strip	_rd_sp
.subsections_via_symbols
