	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function postprocess_terminfo
_postprocess_terminfo:                  ## @postprocess_terminfo
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_box_chars_1@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_PRESENT
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rsp, %r13
	movq	_MAX_TERMCAP_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	-52(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	__nc_str_init
	movq	_acs_chars@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	__nc_safe_strcat
	movq	(%r12), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$108, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	4(%rax), %edx
	movq	%r15, %rdi
	movl	$113, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	8(%rax), %edx
	movq	%r15, %rdi
	movl	$107, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	12(%rax), %edx
	movq	%r15, %rdi
	movl	$120, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	16(%rax), %edx
	movq	%r15, %rdi
	movl	$106, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	20(%rax), %edx
	movq	%r15, %rdi
	movl	$109, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	24(%rax), %edx
	movq	%r15, %rdi
	movl	$119, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	28(%rax), %edx
	movq	%r15, %rdi
	movl	$117, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	32(%rax), %edx
	movq	%r15, %rdi
	movl	$118, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	36(%rax), %edx
	movq	%r15, %rdi
	movl	$116, %esi
	callq	_append_acs0
	movq	(%r12), %rax
	movl	40(%rax), %edx
	movq	%r15, %rdi
	movl	$110, %esi
	callq	_append_acs0
	cmpb	$0, (%r14)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	__nc_save_str
	movl	%eax, (%rbx)
	leaq	L_.str(%rip), %rdi
	callq	__nc_warning
	movq	_ABSENT_STRING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_3:
	movq	%r13, %rsp
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_box_chars_1,8,3                ## @box_chars_1
	.comm	_MAX_TERMCAP_LENGTH,4,2         ## @MAX_TERMCAP_LENGTH
	.comm	_acs_chars,4,2                  ## @acs_chars
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acsc string synthesized from AIX capabilities"

	.comm	_ABSENT_STRING,8,3              ## @ABSENT_STRING
	.no_dead_strip	_postprocess_terminfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function postprocess_terminfo
_postprocess_terminfo:                  ; @postprocess_terminfo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x20, _box_chars_1@GOTPAGE
Lloh4:
	ldr	x20, [x20, _box_chars_1@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_PRESENT
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, sp
Lloh5:
	adrp	x8, _MAX_TERMCAP_LENGTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_TERMCAP_LENGTH@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x9, x2
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	sub	x0, x29, #44
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	__nc_str_init
Lloh10:
	adrp	x22, _acs_chars@GOTPAGE
Lloh11:
	ldr	x22, [x22, _acs_chars@GOTPAGEOFF]
	ldr	w1, [x22]
	sub	x0, x29, #44
	bl	__nc_safe_strcat
	ldr	x8, [x20]
	ldr	w2, [x8]
	sub	x0, x29, #44
	mov	w1, #108
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #4]
	sub	x0, x29, #44
	mov	w1, #113
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #8]
	sub	x0, x29, #44
	mov	w1, #107
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #12]
	sub	x0, x29, #44
	mov	w1, #120
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #16]
	sub	x0, x29, #44
	mov	w1, #106
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #20]
	sub	x0, x29, #44
	mov	w1, #109
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #24]
	sub	x0, x29, #44
	mov	w1, #119
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #28]
	sub	x0, x29, #44
	mov	w1, #117
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #32]
	sub	x0, x29, #44
	mov	w1, #118
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #36]
	sub	x0, x29, #44
	mov	w1, #116
	bl	_append_acs0
	ldr	x8, [x20]
	ldr	w2, [x8, #40]
	sub	x0, x29, #44
	mov	w1, #110
	bl	_append_acs0
	ldrb	w8, [x19]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	__nc_save_str
	str	w0, [x22]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__nc_warning
Lloh14:
	adrp	x8, _ABSENT_STRING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ABSENT_STRING@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x20]
LBB0_3:
	mov	sp, x21
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_box_chars_1,8,3                ; @box_chars_1
	.comm	_MAX_TERMCAP_LENGTH,4,2         ; @MAX_TERMCAP_LENGTH
	.comm	_acs_chars,4,2                  ; @acs_chars
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acsc string synthesized from AIX capabilities"

	.comm	_ABSENT_STRING,8,3              ; @ABSENT_STRING
	.no_dead_strip	_postprocess_terminfo
.subsections_via_symbols
