	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_text_attr
_handle_text_attr:                      ## @handle_text_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
	movq	(%rdx), %rax
	movq	8(%rdx), %rcx
	movq	%rax, (%rcx)
	movq	_cc_channel@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r12d
	movl	%edi, %ebx
	movq	_debug_608@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	movzbl	%r12b, %r15d
	je	LBB0_2
## %bb.3:
	movzbl	%bl, %esi
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_hb_log
	movq	(%r13), %rax
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	andb	$-9, %bl
	cmpb	$17, %bl
	sete	%cl
	addb	$-48, %r12b
	cmpb	$-16, %r12b
	setae	%dl
	testb	%dl, %cl
	jne	LBB0_6
## %bb.5:
	testq	%rax, %rax
	je	LBB0_6
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hb_log                         ## TAILCALL
LBB0_6:
	movq	_pac2_attribs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-256(%rcx,%r15,8), %rdx
	movq	(%rdx), %rsi
	movq	8(%r14), %rcx
	movq	%rsi, 8(%rcx)
	movq	8(%rdx), %rdx
	movq	%rdx, 16(%rcx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_color_text@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rsi,8), %rax
	movzbl	(%rax), %esi
	movq	_font_text@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%rax,%rdx), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	movq	8(%r14), %rcx
LBB0_8:
	movl	24(%rcx), %eax
	cmpl	$30, %eax
	jg	LBB0_10
## %bb.9:
	incl	%eax
	movl	%eax, 24(%rcx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cc_channel,8,3                 ## @cc_channel
	.comm	_debug_608,8,3                  ## @debug_608
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r608: text_attr: %02X %02X"

L_.str.1:                               ## @.str.1
	.asciz	"\rThis is not a text attribute!\n"

	.comm	_pac2_attribs,8,3               ## @pac2_attribs
L_.str.2:                               ## @.str.2
	.asciz	"  --  Color: %s,  font: %s\n"

	.comm	_color_text,8,3                 ## @color_text
	.comm	_font_text,8,3                  ## @font_text
	.no_dead_strip	_handle_text_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_text_attr
_handle_text_attr:                      ; @handle_text_attr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldp	x8, x9, [x2]
	str	x8, [x9]
Lloh0:
	adrp	x9, _cc_channel@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cc_channel@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh3:
	adrp	x22, _debug_608@GOTPAGE
Lloh4:
	ldr	x22, [x22, _debug_608@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w8, w20
	mov	w9, w21
	stp	x9, x8, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
	ldr	x8, [x22]
LBB0_3:
	and	w9, w21, #0xfffffff7
	sub	w10, w20, #48
	cmn	w10, #17
	ccmp	w9, #17, #0, hi
	b.eq	LBB0_6
; %bb.4:
	cbz	x8, LBB0_6
; %bb.5:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	add	sp, sp, #64
	b	_hb_log
LBB0_6:
Lloh9:
	adrp	x9, _pac2_attribs@GOTPAGE
Lloh10:
	ldr	x9, [x9, _pac2_attribs@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x9, x9, w20, uxtw #3
	ldur	x10, [x9, #-256]
	ldr	x9, [x19, #8]
	ldp	x11, x10, [x10]
	stp	x11, x10, [x9, #8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh12:
	adrp	x8, _color_text@GOTPAGE
Lloh13:
	ldr	x8, [x8, _color_text@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x8, [x8, x11, lsl #3]
	ldrb	w8, [x8]
Lloh15:
	adrp	x9, _font_text@GOTPAGE
Lloh16:
	ldr	x9, [x9, _font_text@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldrb	w9, [x9, x10]
	stp	x8, x9, [sp]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_hb_log
	ldr	x9, [x19, #8]
LBB0_8:
	ldr	w8, [x9, #24]
	cmp	w8, #30
	b.gt	LBB0_10
; %bb.9:
	add	w8, w8, #1
	str	w8, [x9, #24]
LBB0_10:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_cc_channel,8,3                 ; @cc_channel
	.comm	_debug_608,8,3                  ; @debug_608
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r608: text_attr: %02X %02X"

l_.str.1:                               ; @.str.1
	.asciz	"\rThis is not a text attribute!\n"

	.comm	_pac2_attribs,8,3               ; @pac2_attribs
l_.str.2:                               ; @.str.2
	.asciz	"  --  Color: %s,  font: %s\n"

	.comm	_color_text,8,3                 ; @color_text
	.comm	_font_text,8,3                  ; @font_text
	.no_dead_strip	_handle_text_attr
.subsections_via_symbols
