	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cl_pfmap
_cl_pfmap:                              ## @cl_pfmap
	.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
	subq	$440, %rsp                      ## imm = 0x1B8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -464(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -472(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	4(%rdx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_STRTOL
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%eax, %ecx
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_tigetstr
	movq	%rax, %rbx
	incq	%rax
	cmpq	$2, %rax
	jae	LBB0_1
LBB0_2:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_msgq_wstr
	movl	$1, %eax
	jmp	LBB0_4
LBB0_1:
	cmpb	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	leaq	-368(%rbp), %rdi
	callq	_SIZE
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rdi
	callq	_L
	movq	%r12, -456(%rbp)                ## 8-byte Spill
	movl	%eax, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_STRTOL
	leaq	-368(%rbp), %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_SPRINTF
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_CHAR2INT
	leaq	-448(%rbp), %r15
	movq	%r15, %rdi
	callq	_MEMCPY
	movq	%rbx, %rdi
	callq	_strlen
	movq	_SEQ_NOOVERWRITE@GOTPCREL(%rip), %rcx
	movq	_SEQ_SCREEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	subq	$8, %rsp
	movq	%r13, %rdi
	leaq	-368(%rbp), %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movq	%rax, %r8
	movq	-464(%rbp), %r9                 ## 8-byte Reload
	pushq	%rbx
	pushq	-472(%rbp)                      ## 8-byte Folded Reload
	pushq	-456(%rbp)                      ## 8-byte Folded Reload
	callq	_seq_set
	addq	$32, %rsp
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$440, %rsp                      ## imm = 0x1B8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kf%d"

	.comm	_M_ERR,4,2                      ## @M_ERR
L_.str.1:                               ## @.str.1
	.asciz	"233|This terminal has no %s key"

L_.str.2:                               ## @.str.2
	.asciz	"function key %d"

	.comm	_SEQ_NOOVERWRITE,4,2            ## @SEQ_NOOVERWRITE
	.comm	_SEQ_SCREEN,4,2                 ## @SEQ_SCREEN
	.no_dead_strip	_cl_pfmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cl_pfmap
_cl_pfmap:                              ; @cl_pfmap
	.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
	sub	sp, sp, #416
	mov	x19, x5
	mov	x22, x4
	mov	x25, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x24, x2, #4
	mov	x0, x24
	mov	x1, #0
	mov	w2, #10
	bl	_STRTOL
	mov	x3, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #152
	mov	w1, #64
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_snprintf
	sub	x0, x29, #152
	bl	_tigetstr
	add	x8, x0, #1
	cmp	x8, #2
	b.hs	LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _M_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x25
	bl	_msgq_wstr
	mov	w0, #1
	b	LBB0_4
LBB0_2:
	mov	x23, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_1
; %bb.3:
	add	x0, sp, #88
	bl	_SIZE
	mov	x25, x0
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_L
	mov	x26, x0
	mov	x0, x24
	mov	x1, #0
	mov	w2, #10
	bl	_STRTOL
	mov	x3, x0
	add	x0, sp, #88
	mov	x1, x25
	mov	x2, x26
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SPRINTF
	mov	x24, x0
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_CHAR2INT
	add	x0, sp, #8
	bl	_MEMCPY
	mov	x0, x23
	bl	_strlen
	mov	x4, x0
Lloh12:
	adrp	x8, _SEQ_NOOVERWRITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SEQ_NOOVERWRITE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SEQ_SCREEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SEQ_SCREEN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp]
	add	x1, sp, #88
	add	x3, sp, #8
	mov	x0, x20
	mov	x2, x24
	mov	x5, x22
	mov	x6, x19
	mov	x7, x21
	bl	_seq_set
LBB0_4:
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	add	sp, sp, #416
	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
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kf%d"

	.comm	_M_ERR,4,2                      ; @M_ERR
l_.str.1:                               ; @.str.1
	.asciz	"233|This terminal has no %s key"

l_.str.2:                               ; @.str.2
	.asciz	"function key %d"

	.comm	_SEQ_NOOVERWRITE,4,2            ; @SEQ_NOOVERWRITE
	.comm	_SEQ_SCREEN,4,2                 ; @SEQ_SCREEN
	.no_dead_strip	_cl_pfmap
.subsections_via_symbols
