	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_curses_putch                   ## -- Begin function curses_putch
	.p2align	4, 0x90
_curses_putch:                          ## @curses_putch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	leal	-3(%rdx), %eax
	cmpl	$23, %eax
	ja	LBB0_1
## %bb.3:
	leaq	LJTI0_0(%rip), %r9
	movslq	(%r9,%rax,4), %rax
	addq	%r9, %rax
	jmpq	*%rax
LBB0_5:
	movl	$47, %edx
	jmp	LBB0_7
LBB0_6:
	movl	$92, %edx
	jmp	LBB0_7
LBB0_1:
	cmpl	$124, %edx
	jne	LBB0_7
## %bb.2:
	movl	$124, %edx
	jmp	LBB0_7
LBB0_4:
	movl	$45, %edx
LBB0_7:
	andl	$15, %r8d
	andl	$15, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %r8d
	jbe	LBB0_9
## %bb.8:
	movq	_A_REVERSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addl	%eax, %edx
	movq	_curses_screen@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	movslq	%edi, %rcx
	movl	%edx, (%rax,%rcx,4)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_A_REVERSE,4,2                  ## @A_REVERSE
	.comm	_curses_screen,8,3              ## @curses_screen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_curses_putch                   ; -- Begin function curses_putch
	.p2align	2
_curses_putch:                          ; @curses_putch
	.cfi_startproc
; %bb.0:
	sub	w8, w2, #3
	cmp	w8, #23
	b.hi	LBB0_4
; %bb.1:
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:
	mov	w2, #47
	b	LBB0_6
LBB0_3:
	mov	w2, #92
	b	LBB0_6
LBB0_4:
	mov	w8, #124
	cmp	w2, #124
	csel	w2, w8, w2, eq
	b	LBB0_6
LBB0_5:
	mov	w2, #45
LBB0_6:
	and	w8, w4, #0xf
Lloh2:
	adrp	x9, _A_REVERSE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _A_REVERSE@GOTPAGEOFF]
	and	w10, w3, #0xf
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w10
	csel	w8, w9, wzr, hi
Lloh5:
	adrp	x9, _curses_screen@GOTPAGE
Lloh6:
	ldr	x9, [x9, _curses_screen@GOTPAGEOFF]
	add	w8, w2, w8
Lloh7:
	ldr	x9, [x9]
	ldr	x9, [x9, w1, sxtw #3]
	str	w8, [x9, w0, sxtw #2]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_A_REVERSE,4,2                  ; @A_REVERSE
	.comm	_curses_screen,8,3              ; @curses_screen
.subsections_via_symbols
