	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_char
_handle_char:                           ## @handle_char
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_get_writing_screen
	movq	%rax, %r12
	movl	(%rax), %edi
	movl	24(%rbx), %esi
	callq	_SET_FLAG
	cmpl	$19, %r14d
	je	LBB0_8
## %bb.1:
	cmpl	$18, %r14d
	je	LBB0_5
## %bb.2:
	cmpl	$17, %r14d
	jne	LBB0_11
## %bb.3:
	movq	_CCSET_SPECIAL_AMERICAN@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.9:
	decl	%eax
	movl	%eax, (%rbx)
LBB0_10:
	movq	_CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.6:
	decl	%eax
	movl	%eax, (%rbx)
LBB0_7:
	movq	_CCSET_EXTENDED_SPANISH_FRENCH_MISC@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	jmp	LBB0_12
LBB0_11:
	movq	_CCSET_BASIC_AMERICAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movsbl	%r14b, %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_write_char
LBB0_12:
	movsbl	%r15b, %r13d
	testb	%r15b, %r15b
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_write_char
LBB0_14:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_write_char
	movq	8(%rbx), %rax
	movq	_CCMODE_POPON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.15:
	movl	$1, 16(%rbx)
LBB0_16:
	movsbl	%r14b, %edx
	testb	%r15b, %r15b
	je	LBB0_18
## %bb.17:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_dlog                        ## TAILCALL
LBB0_18:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_dlog                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CCSET_SPECIAL_AMERICAN,4,2     ## @CCSET_SPECIAL_AMERICAN
	.comm	_CCSET_EXTENDED_SPANISH_FRENCH_MISC,4,2 ## @CCSET_EXTENDED_SPANISH_FRENCH_MISC
	.comm	_CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH,4,2 ## @CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH
	.comm	_CCSET_BASIC_AMERICAN,4,2       ## @CCSET_BASIC_AMERICAN
	.comm	_CCMODE_POPON,8,3               ## @CCMODE_POPON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%c,%c)\n"

L_.str.1:                               ## @.str.1
	.asciz	"(%c)\n"

	.no_dead_strip	_handle_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_char
_handle_char:                           ; @handle_char
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_get_writing_screen
	mov	x22, x0
	ldr	w0, [x0]
	ldr	w1, [x20, #24]
	bl	_SET_FLAG
	cmp	w19, #19
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #18
	b.eq	LBB0_7
; %bb.2:
	cmp	w19, #17
	b.ne	LBB0_17
; %bb.3:
Lloh0:
	adrp	x8, _CCSET_SPECIAL_AMERICAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCSET_SPECIAL_AMERICAN@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	ldr	w8, [x20]
	subs	w8, w8, #1
	b.lt	LBB0_6
; %bb.5:
	str	w8, [x20]
LBB0_6:
Lloh2:
	adrp	x8, _CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	ldr	w8, [x20]
	subs	w8, w8, #1
	b.lt	LBB0_9
; %bb.8:
	str	w8, [x20]
LBB0_9:
Lloh4:
	adrp	x8, _CCSET_EXTENDED_SPANISH_FRENCH_MISC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CCSET_EXTENDED_SPANISH_FRENCH_MISC@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x20, #20]
	cbz	w21, LBB0_12
LBB0_11:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_write_char
LBB0_12:
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	bl	_write_char
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _CCMODE_POPON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CCMODE_POPON@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:
	mov	w8, #1
	str	w8, [x20, #16]
LBB0_14:
	cbz	w21, LBB0_16
; %bb.15:
	sxtw	x8, w21
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_ff_dlog
	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_16:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	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
	b	_ff_dlog
LBB0_17:
Lloh13:
	adrp	x8, _CCSET_BASIC_AMERICAN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CCSET_BASIC_AMERICAN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x20, #20]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_write_char
	cbnz	w21, LBB0_11
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CCSET_SPECIAL_AMERICAN,4,2     ; @CCSET_SPECIAL_AMERICAN
	.comm	_CCSET_EXTENDED_SPANISH_FRENCH_MISC,4,2 ; @CCSET_EXTENDED_SPANISH_FRENCH_MISC
	.comm	_CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH,4,2 ; @CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH
	.comm	_CCSET_BASIC_AMERICAN,4,2       ; @CCSET_BASIC_AMERICAN
	.comm	_CCMODE_POPON,8,3               ; @CCMODE_POPON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%c,%c)\n"

l_.str.1:                               ; @.str.1
	.asciz	"(%c)\n"

	.no_dead_strip	_handle_char
.subsections_via_symbols
