	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_io_gg_read                     ## -- Begin function io_gg_read
	.p2align	4, 0x90
_io_gg_read:                            ## @io_gg_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$5, %edi
	ja	LBB0_1
## %bb.2:
	movl	%edi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_io_reg@GOTPCREL(%rip), %rcx
	movq	_input@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_INPUT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdx), %eax
	movq	(%rcx), %rcx
	notl	%eax
	andl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_1:
	movl	$255, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_io_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	8(%rcx), %eax
	andl	$127, %eax
	orl	4(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_io_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_io_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	12(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_io_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rax), %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_io_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	20(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_io_reg,8,3                     ## @io_reg
	.comm	_input,8,3                      ## @input
	.comm	_INPUT_START,4,2                ## @INPUT_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_io_gg_read                     ; -- Begin function io_gg_read
	.p2align	2
_io_gg_read:                            ; @io_gg_read
	.cfi_startproc
; %bb.0:
	cmp	w0, #5
	b.hi	LBB0_3
; %bb.1:
	mov	w8, w0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _io_reg@GOTPAGE
Lloh3:
	ldr	x8, [x8, _io_reg@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _input@GOTPAGE
Lloh6:
	ldr	x9, [x9, _input@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _INPUT_START@GOTPAGE
Lloh9:
	ldr	x10, [x10, _INPUT_START@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	and	w9, w10, w9
	bic	w0, w8, w9
	ret
LBB0_3:
	mov	w0, #255
	ret
LBB0_4:
Lloh11:
	adrp	x8, _io_reg@GOTPAGE
Lloh12:
	ldr	x8, [x8, _io_reg@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldp	w9, w8, [x8, #4]
	and	w8, w8, #0x7f
	orr	w0, w8, w9
	ret
LBB0_5:
Lloh14:
	adrp	x8, _io_reg@GOTPAGE
Lloh15:
	ldr	x8, [x8, _io_reg@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w0, [x8, #8]
	ret
LBB0_6:
Lloh17:
	adrp	x8, _io_reg@GOTPAGE
Lloh18:
	ldr	x8, [x8, _io_reg@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w0, [x8, #12]
	ret
LBB0_7:
Lloh20:
	adrp	x8, _io_reg@GOTPAGE
Lloh21:
	ldr	x8, [x8, _io_reg@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w0, [x8, #16]
	ret
LBB0_8:
Lloh23:
	adrp	x8, _io_reg@GOTPAGE
Lloh24:
	ldr	x8, [x8, _io_reg@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w0, [x8, #20]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_io_reg,8,3                     ; @io_reg
	.comm	_input,8,3                      ; @input
	.comm	_INPUT_START,4,2                ; @INPUT_START
.subsections_via_symbols
