	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cl_attr                        ## -- Begin function cl_attr
	.p2align	4, 0x90
_cl_attr:                               ## @cl_attr
	.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, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_CLP
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_CLSP
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_CLSP
	movq	%rax, %r12
	cmpl	$128, %ebx
	je	LBB0_16
LBB0_4:
	cmpl	$129, %ebx
	jne	LBB0_23
## %bb.5:
	movl	24(%r14), %eax
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.6:
	movq	_TI_SENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_15
## %bb.7:
	movl	%ecx, 24(%r14)
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_9
## %bb.8:
	addq	$32, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_cl_getcap
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_9
	jmp	LBB0_15
LBB0_2:
	movq	_stdscr@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpl	$128, %ebx
	jne	LBB0_4
LBB0_16:
	movq	_SC_EX@GOTPCREL(%rip), %rax
	movq	_SC_SCR_EXWROTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_F_ISSET
	testl	%eax, %eax
	je	LBB0_21
## %bb.17:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.19:
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.20:
	movq	(%r14), %rdi
LBB0_9:
	movq	_cl_putchar@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_tputs
	jmp	LBB0_15
LBB0_10:
	movq	_TE_SENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_15
## %bb.11:
	movl	%ecx, 24(%r14)
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_13
## %bb.12:
	addq	$16, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_cl_getcap
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
LBB0_13:
	movq	_cl_putchar@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_tputs
LBB0_14:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
LBB0_15:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
LBB0_25:
	xorl	%eax, %eax
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	%r12, %rdi
	testl	%r15d, %r15d
	je	LBB0_24
## %bb.22:
	callq	_wstandout
	jmp	LBB0_25
LBB0_18:
	movl	$1, %eax
	jmp	LBB0_26
LBB0_24:
	callq	_wstandend
	jmp	LBB0_25
LBB0_23:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_stdscr,8,3                     ## @stdscr
	.comm	_TI_SENT,4,2                    ## @TI_SENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smcup"

	.comm	_cl_putchar,4,2                 ## @cl_putchar
	.comm	_TE_SENT,4,2                    ## @TE_SENT
L_.str.1:                               ## @.str.1
	.asciz	"rmcup"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_SC_EX,4,2                      ## @SC_EX
	.comm	_SC_SCR_EXWROTE,4,2             ## @SC_SCR_EXWROTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cl_attr                        ; -- Begin function cl_attr
	.p2align	2
_cl_attr:                               ; @cl_attr
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_CLP
	mov	x19, x0
	mov	x0, x20
	bl	_CLSP
	cbz	x0, LBB0_8
; %bb.1:
	mov	x0, x20
	bl	_CLSP
	mov	x23, x0
	cmp	w22, #128
	b.eq	LBB0_9
LBB0_2:
	cmp	w22, #129
	b.ne	LBB0_27
; %bb.3:
	ldr	w8, [x19, #24]
Lloh0:
	adrp	x22, _stdout@GOTPAGE
Lloh1:
	ldr	x22, [x22, _stdout@GOTPAGEOFF]
	cbz	w21, LBB0_14
; %bb.4:
Lloh2:
	adrp	x9, _TI_SENT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TI_SENT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_19
; %bb.5:
	ldr	x0, [x19, #32]!
	stur	w9, [x19, #-8]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_cl_getcap
	ldr	x0, [x19]
	cbz	x0, LBB0_19
LBB0_7:
Lloh7:
	adrp	x8, _cl_putchar@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cl_putchar@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_tputs
	b	LBB0_19
LBB0_8:
Lloh10:
	adrp	x8, _stdscr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stdscr@GOTPAGEOFF]
Lloh12:
	ldr	x23, [x8]
	cmp	w22, #128
	b.ne	LBB0_2
LBB0_9:
Lloh13:
	adrp	x8, _SC_EX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SC_EX@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _SC_SCR_EXWROTE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SC_SCR_EXWROTE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_F_ISSET
	cbz	w0, LBB0_23
; %bb.10:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_25
; %bb.11:
	cbnz	w21, LBB0_13
; %bb.12:
	ldr	x0, [x19]
LBB0_13:
Lloh19:
	adrp	x8, _cl_putchar@GOTPAGE
Lloh20:
	ldr	x8, [x8, _cl_putchar@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_tputs
Lloh22:
	adrp	x8, _stdout@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_14:
Lloh25:
	adrp	x9, _TE_SENT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TE_SENT@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_19
; %bb.15:
	ldr	x0, [x19, #16]!
	str	w9, [x19, #8]
	cbnz	x0, LBB0_17
; %bb.16:
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_cl_getcap
	ldr	x0, [x19]
	cbz	x0, LBB0_18
LBB0_17:
Lloh30:
	adrp	x8, _cl_putchar@GOTPAGE
Lloh31:
	ldr	x8, [x8, _cl_putchar@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_tputs
LBB0_18:
	ldr	w0, [x22]
	bl	_fflush
LBB0_19:
	ldr	w0, [x22]
LBB0_20:
	bl	_fflush
LBB0_21:
	mov	w0, #0
LBB0_22:
	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_23:
	mov	x0, x23
	cbz	w21, LBB0_26
; %bb.24:
	bl	_wstandout
	b	LBB0_21
LBB0_25:
	mov	w0, #1
	b	LBB0_22
LBB0_26:
	bl	_wstandend
	b	LBB0_21
LBB0_27:
	bl	_abort
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_stdscr,8,3                     ; @stdscr
	.comm	_TI_SENT,4,2                    ; @TI_SENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smcup"

	.comm	_cl_putchar,4,2                 ; @cl_putchar
	.comm	_TE_SENT,4,2                    ; @TE_SENT
l_.str.1:                               ; @.str.1
	.asciz	"rmcup"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_SC_EX,4,2                      ; @SC_EX
	.comm	_SC_SCR_EXWROTE,4,2             ; @SC_SCR_EXWROTE
.subsections_via_symbols
