	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_termcap
_is_termcap:                            ## @is_termcap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movb	(%rdi), %dl
	testb	%dl, %dl
	je	LBB0_4
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$36, %dl
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$37, %dl
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movsbl	1(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdi
	cmpl	$112, %edx
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%ecx, %eax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$60, 1(%rdi)
	cmovel	%ecx, %eax
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movzbl	1(%rdi), %edx
	testb	%dl, %dl
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdi
	testl	%eax, %eax
	jne	LBB0_6
LBB0_14:
	popq	%rbp
	retq
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_is_termcap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_termcap
_is_termcap:                            ; @is_termcap
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	ldrb	w10, [x0]
	cbz	w10, LBB0_9
; %bb.2:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.3:
Lloh3:
	adrp	x9, _FALSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w10, [x0, #1]
	cmp	w10, #60
	csel	w8, w9, w8, eq
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w10, [x0, #1]!
	cmp	w10, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #36
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w10, #37
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x10, x0
	ldrsb	w11, [x10, #1]!
	cmp	w11, #112
	csel	w12, w8, w9, ne
	cmp	w11, #0
	csel	w8, w8, w12, eq
	csel	x0, x0, x10, eq
	b	LBB0_5
LBB0_9:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_10:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_is_termcap
.subsections_via_symbols
