	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_installmap
_r_installmap:                          ## @r_installmap
	.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
	movq	_TRUE@GOTPCREL(%rip), %r12
	cmpb	$0, (%rdi)
	je	LBB0_24
## %bb.1:
	movq	%rdi, %rbx
	movq	_MOUSE_MAXBUTTON@GOTPCREL(%rip), %r13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rbx, %rdi
	callq	_skipspace
	movq	%rax, %r14
	leaq	-1(%rax), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_skipspace
	cmpq	%r14, %rax
	jbe	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	cmpb	$61, (%rax)
	jne	LBB0_23
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_atoi
	movl	%eax, %r14d
	incq	%rbx
	movq	%rbx, %rdi
	callq	_skipspace
	movq	%rax, %r15
	leaq	-1(%rax), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %rbx
	jbe	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%rbx), %edi
	callq	_isspace
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%rbx)
	jne	LBB0_23
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_atoi
                                        ## kill: def $eax killed $eax def $rax
	testl	%r14d, %r14d
	jle	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %ecx
	cmpl	%ecx, %r14d
	jg	LBB0_23
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jle	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %eax
	jg	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	decl	%r14d
	movl	$1, %edx
	movl	%r14d, %ecx
	shll	%cl, %edx
	movq	_p2l@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	decl	%eax
	movl	%edx, (%rcx,%rax,4)
	shlq	$2, %rax
	movq	_bstate@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	_mstate@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%r14,8)
	cmpb	$0, (%rbx)
	jne	LBB0_2
	jmp	LBB0_24
LBB0_23:
	movq	_FALSE@GOTPCREL(%rip), %r12
LBB0_24:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MOUSE_MAXBUTTON,4,2            ## @MOUSE_MAXBUTTON
	.comm	_p2l,8,3                        ## @p2l
	.comm	_bstate,8,3                     ## @bstate
	.comm	_mstate,8,3                     ## @mstate
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_r_installmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_installmap
_r_installmap:                          ; @r_installmap
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldrb	w8, [x0]
	cbz	w8, LBB0_17
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x22, _FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
Lloh2:
	adrp	x23, _MOUSE_MAXBUTTON@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MOUSE_MAXBUTTON@GOTPAGEOFF]
	mov	w24, #1
Lloh4:
	adrp	x25, _p2l@GOTPAGE
Lloh5:
	ldr	x25, [x25, _p2l@GOTPAGEOFF]
Lloh6:
	adrp	x27, _bstate@GOTPAGE
Lloh7:
	ldr	x27, [x27, _bstate@GOTPAGEOFF]
Lloh8:
	adrp	x28, _mstate@GOTPAGE
Lloh9:
	ldr	x28, [x28, _mstate@GOTPAGEOFF]
Lloh10:
	adrp	x26, _TRUE@GOTPAGE
Lloh11:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x19
	bl	_skipspace
	mov	x19, x0
	sub	x20, x0, #1
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x20, #1]!
	bl	_isdigit
	cbnz	x0, LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_skipspace
	cmp	x0, x19
	b.ls	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	ldrb	w8, [x0]
	cmp	w8, #61
	b.ne	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_atoi
	mov	x20, x0
	add	x0, x21, #1
	bl	_skipspace
	mov	x21, x0
	sub	x19, x0, #1
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x19, #1]!
	bl	_isdigit
	cbnz	x0, LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x19, x21
	b.ls	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	w0, [x19]
	bl	_isspace
	cbnz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x19]
	cbnz	w8, LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_atoi
	subs	w8, w20, #1
	b.lt	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x23]
	cmp	w20, w10
	b.gt	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	subs	w9, w0, #1
	b.lt	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, w10
	b.gt	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	lsl	w10, w24, w8
	ldr	x11, [x25]
	lsl	x9, x9, #2
	str	w10, [x11, x9]
	ldr	x10, [x27]
	add	x9, x10, x9
	ldr	x10, [x28]
	str	x9, [x10, w8, uxtw #3]
	ldrb	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.16:
	mov	x22, x26
	b	LBB0_18
LBB0_17:
Lloh12:
	adrp	x22, _TRUE@GOTPAGE
Lloh13:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MOUSE_MAXBUTTON,4,2            ; @MOUSE_MAXBUTTON
	.comm	_p2l,8,3                        ; @p2l
	.comm	_bstate,8,3                     ; @bstate
	.comm	_mstate,8,3                     ; @mstate
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_r_installmap
.subsections_via_symbols
