	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setChar
_setChar:                               ## @setChar
	.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, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_lcdMap@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpl	%ebx, %eax
	jle	LBB0_1
## %bb.2:
	leal	-9(%r12), %eax
	xorl	%r15d, %r15d
	cmpl	$2, %eax
	jb	LBB0_16
## %bb.3:
	movq	(%r14), %rax
	movq	%r13, %rdx
	movslq	%ebx, %r13
	movl	%r12d, (%rax,%r13,4)
	movq	(%rdx), %rcx
	shlq	$5, %r13
	cmpb	$46, (%rcx,%r13)
	jne	LBB0_7
## %bb.4:
	movslq	24(%rcx,%r13), %rax
	movl	28(%rcx,%r13), %ecx
	cmpl	$32, %r12d
	jne	LBB0_5
## %bb.6:
	notl	%ecx
	movq	8(%r14), %rdx
	andl	%ecx, (%rdx,%rax,4)
	jmp	LBB0_16
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_16:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_map_seg7@GOTPCREL(%rip), %rdi
	movl	%r12d, %esi
	movq	%rdx, %rbx
	callq	_map_to_seg7
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_16
## %bb.8:
	movl	$8, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	notl	%ecx
	movq	8(%r14), %rsi
	andl	%ecx, (%rsi,%rdx,4)
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	sarl	%r12d
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	movq	16(%rax), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$32, %rbx
	cmpq	%rax, %r15
	jge	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_lcdMap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rax,%r13), %rdx
	movl	-4(%rdx,%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movslq	(%rdx,%rbx), %rdx
	testb	$1, %r12b
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r14), %rsi
	orl	%ecx, (%rsi,%rdx,4)
	jmp	LBB0_13
LBB0_15:
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_5:
	movq	8(%r14), %rdx
	orl	%ecx, (%rdx,%rax,4)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_lcdMap,8,3                     ## @lcdMap
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_map_seg7,4,2                   ## @map_seg7
	.no_dead_strip	_setChar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setChar
_setChar:                               ; @setChar
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _lcdMap@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lcdMap@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, w21
	b.le	LBB0_3
; %bb.1:
	sub	w8, w20, #9
	cmp	w8, #2
	b.hs	LBB0_5
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19]
	str	w20, [x8, w21, sxtw #2]
	sxtw	x23, w21
	ldr	x8, [x22]
	sbfiz	x9, x21, #5, #32
	ldrb	w9, [x8, x9]
	cmp	w9, #46
	b.ne	LBB0_8
; %bb.6:
	add	x8, x8, x23, lsl #5
	ldp	w9, w8, [x8, #24]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	cmp	w20, #32
	b.ne	LBB0_16
; %bb.7:
	mov	w0, #0
	ldr	x10, [x19, #8]
	lsl	x9, x9, #2
	ldr	w11, [x10, x9]
	bic	w8, w11, w8
	str	w8, [x10, x9]
	b	LBB0_4
LBB0_8:
Lloh5:
	adrp	x0, _map_seg7@GOTPAGE
Lloh6:
	ldr	x0, [x0, _map_seg7@GOTPAGEOFF]
	mov	x1, x20
	bl	_map_to_seg7
	mov	x20, x0
	ldr	x8, [x22]
	ldr	x0, [x8, #16]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.9:
	mov	x21, #0
	mov	x24, #0
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x11, [x19, #8]
	lsl	x10, x10, #2
	ldr	w12, [x11, x10]
	bic	w9, w12, w9
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	str	w9, [x11, x10]
	asr	w20, w20, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x24, #1
	ldr	x0, [x8, #16]
	bl	_ARRAY_SIZE
	add	x21, x21, #32
	cmp	x24, w0, sxtw
	b.ge	LBB0_2
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x9, x8, x23, lsl #5
	ldr	x9, [x9, #16]
	add	x10, x9, x21
	ldr	w9, [x10, #4]
	cbz	w9, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldrsw	x10, [x10, #8]
	tbz	w20, #0, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x11, [x19, #8]
	lsl	x10, x10, #2
	ldr	w12, [x11, x10]
	orr	w9, w12, w9
	b	LBB0_11
LBB0_16:
	mov	w0, #0
	ldr	x10, [x19, #8]
	lsl	x9, x9, #2
	ldr	w11, [x10, x9]
	orr	w8, w11, w8
	str	w8, [x10, x9]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_lcdMap,8,3                     ; @lcdMap
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_map_seg7,4,2                   ; @map_seg7
	.no_dead_strip	_setChar
.subsections_via_symbols
