	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rd_character
_rd_character:                          ## @rd_character
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_verbose@GOTPCREL(%rip), %r13
	cmpl	$6, (%r13)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_stack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_sp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r14), %r8
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movq	(%r14), %rax
	movsbl	(%rax), %ebx
	cmpl	$92, %ebx
	je	LBB0_6
## %bb.3:
	testb	%bl, %bl
	jne	LBB0_11
## %bb.4:
	testq	%r12, %r12
	je	LBB0_15
LBB0_5:
	movl	$0, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_36
LBB0_6:
	leaq	1(%rax), %rcx
	movq	%rcx, (%r14)
	movsbl	1(%rax), %esi
	movl	%esi, %edx
	andb	$-8, %dl
	cmpb	$48, %dl
	jne	LBB0_12
## %bb.7:
	movb	2(%rax), %dl
	andb	$-8, %dl
	cmpb	$48, %dl
	jne	LBB0_18
## %bb.8:
	cmpb	$51, %sil
	ja	LBB0_19
## %bb.9:
	movb	3(%rax), %bl
	andb	$-8, %bl
	cmpb	$48, %bl
	jne	LBB0_19
## %bb.10:
	movl	$3, %esi
	xorl	%edi, %edi
	jmp	LBB0_20
LBB0_11:
	incq	%rax
	jmp	LBB0_34
LBB0_12:
	leal	-97(%rsi), %ecx
	cmpl	$19, %ecx
	ja	LBB0_24
## %bb.13:
	movl	$10, %ebx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_14:
	movl	$7, %ebx
	jmp	LBB0_33
LBB0_15:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_36
## %bb.16:
	leaq	L_.str.1(%rip), %rsi
LBB0_17:
	movl	$1, %edi
	callq	_printerr
	jmp	LBB0_36
LBB0_18:
	movl	$1, %esi
	xorl	%edi, %edi
	jmp	LBB0_20
LBB0_19:
	movl	$2, %esi
	movb	$1, %dil
LBB0_20:
	movsbl	(%rax,%rsi), %ebx
	addl	$-48, %ebx
	cmpb	$48, %dl
	jne	LBB0_23
## %bb.21:
	movsbl	-2(%rsi,%rcx), %eax
	leal	(%rbx,%rax,8), %ebx
	addl	$-384, %ebx                     ## imm = 0xFE80
	testb	%dil, %dil
	jne	LBB0_23
## %bb.22:
	movsbl	-3(%rsi,%rcx), %eax
	shll	$6, %eax
	addl	%eax, %ebx
	addl	$-3072, %ebx                    ## imm = 0xF400
LBB0_23:
	addq	%rsi, %rcx
	movq	%rcx, %rax
	jmp	LBB0_34
LBB0_24:
	testl	%esi, %esi
	je	LBB0_37
## %bb.25:
	cmpl	$39, %esi
	jne	LBB0_29
## %bb.26:
	testq	%r12, %r12
	jne	LBB0_5
## %bb.27:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_36
## %bb.28:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_17
LBB0_29:
	movl	%esi, %ebx
	jmp	LBB0_33
LBB0_31:
	movl	$13, %ebx
	jmp	LBB0_33
LBB0_32:
	movl	$9, %ebx
LBB0_33:
	addq	$2, %rax
LBB0_34:
	movq	%rax, (%r14)
	cmpl	$7, (%r13)
	jl	LBB0_36
## %bb.35:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_stack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_sp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_fprintf
LBB0_36:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	testq	%r12, %r12
	jne	LBB0_5
## %bb.38:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_36
## %bb.39:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_33
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_31
	.long	L0_0_set_29
	.long	L0_0_set_32
	.end_data_region
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%5d (0x%04x): Starting to read character (string=%s).\n"

	.comm	_stack,8,3                      ## @stack
	.comm	_sp,8,3                         ## @sp
	.comm	_addr,4,2                       ## @addr
L_.str.1:                               ## @.str.1
	.asciz	"unexpected end of line in string constant\n"

L_.str.2:                               ## @.str.2
	.asciz	"empty literal character\n"

L_.str.3:                               ## @.str.3
	.asciz	"unexpected end of line after backslash in string constant\n"

L_.str.4:                               ## @.str.4
	.asciz	"%5d (0x%04x): rd_character returned %d (%c).\n"

	.no_dead_strip	_rd_character
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rd_character
_rd_character:                          ; @rd_character
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _verbose@GOTPAGE
Lloh1:
	ldr	x22, [x22, _verbose@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #6
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _stack@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stack@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _sp@GOTPAGE
Lloh9:
	ldr	x9, [x9, _sp@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
Lloh11:
	adrp	x8, _addr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _addr@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cmp	w9, #92
	b.eq	LBB0_6
; %bb.3:
	cbnz	w9, LBB0_11
; %bb.4:
	cbz	x21, LBB0_15
LBB0_5:
	mov	w20, #0
	str	wzr, [x21]
	b	LBB0_35
LBB0_6:
	add	x9, x8, #1
	str	x9, [x19]
	ldrsb	w11, [x8, #1]
	and	w10, w11, #0xfffffff8
	cmp	w10, #48
	b.ne	LBB0_12
; %bb.7:
	ldrb	w10, [x8, #2]
	and	w10, w10, #0xf8
	cmp	w10, #48
	b.ne	LBB0_18
; %bb.8:
	cmp	w11, #51
	b.hi	LBB0_19
; %bb.9:
	ldrb	w11, [x8, #3]
	and	w11, w11, #0xf8
	cmp	w11, #48
	b.ne	LBB0_19
; %bb.10:
	mov	w12, #0
	mov	w11, #3
	b	LBB0_20
LBB0_11:
	sxtb	w20, w9
	add	x8, x8, #1
	b	LBB0_33
LBB0_12:
	sub	w9, w11, #97
	cmp	w9, #19
	b.hi	LBB0_24
; %bb.13:
	mov	w20, #10
Lloh16:
	adrp	x10, lJTI0_0@PAGE
Lloh17:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x12, LBB0_14
	ldrb	w13, [x10, x9]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_14:
	mov	w20, #7
	b	LBB0_32
LBB0_15:
	cbz	w20, LBB0_35
; %bb.16:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_17:
	mov	w0, #1
	bl	_printerr
	mov	w20, #0
	b	LBB0_35
LBB0_18:
	mov	w12, #0
	mov	w11, #1
	b	LBB0_20
LBB0_19:
	mov	w12, #1
	mov	w11, #2
LBB0_20:
	ldrsb	w8, [x8, x11]
	sub	w20, w8, #48
	cmp	w10, #48
	b.ne	LBB0_23
; %bb.21:
	add	x8, x11, x9
	ldursb	w10, [x8, #-2]
	add	w10, w20, w10, lsl #3
	sub	w20, w10, #384
	tbnz	w12, #0, LBB0_23
; %bb.22:
	ldursb	w8, [x8, #-3]
	add	w8, w20, w8, lsl #6
	sub	w20, w8, #3072
LBB0_23:
	add	x8, x9, x11
	b	LBB0_33
LBB0_24:
	cbz	w11, LBB0_36
; %bb.25:
	cmp	w11, #39
	b.ne	LBB0_29
; %bb.26:
	cbnz	x21, LBB0_5
; %bb.27:
	cbz	w20, LBB0_35
; %bb.28:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_29:
	mov	x20, x11
	b	LBB0_32
LBB0_30:
	mov	w20, #13
	b	LBB0_32
LBB0_31:
	mov	w20, #9
LBB0_32:
	add	x8, x8, #2
LBB0_33:
	str	x8, [x19]
	ldr	w8, [x22]
	cmp	w8, #7
	b.lt	LBB0_35
; %bb.34:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _stack@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stack@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _sp@GOTPAGE
Lloh29:
	ldr	x9, [x9, _sp@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
Lloh31:
	adrp	x8, _addr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _addr@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	stp	x20, x20, [sp]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_35:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_36:
	cbnz	x21, LBB0_5
; %bb.37:
	cbz	w20, LBB0_35
; %bb.38:
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_32-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_30-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_31-LBB0_14)>>2
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%5d (0x%04x): Starting to read character (string=%s).\n"

	.comm	_stack,8,3                      ; @stack
	.comm	_sp,8,3                         ; @sp
	.comm	_addr,4,2                       ; @addr
l_.str.1:                               ; @.str.1
	.asciz	"unexpected end of line in string constant\n"

l_.str.2:                               ; @.str.2
	.asciz	"empty literal character\n"

l_.str.3:                               ; @.str.3
	.asciz	"unexpected end of line after backslash in string constant\n"

l_.str.4:                               ; @.str.4
	.asciz	"%5d (0x%04x): rd_character returned %d (%c).\n"

	.no_dead_strip	_rd_character
.subsections_via_symbols
