	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_DrawBannerString            ## -- Begin function UI_DrawBannerString
	.p2align	4, 0x90
_UI_DrawBannerString:                   ## @UI_DrawBannerString
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	(%rdx), %r15b
	testb	%r15b, %r15b
	je	LBB0_1
## %bb.2:
	movq	_propMapB@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r10
	movq	_PROPB_GAP_WIDTH@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r9
	movq	_PROPB_SPACE_WIDTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r11d
	leaq	1(%rdx), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%r11d, %r14d
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rbx), %r15d
	incq	%rbx
	testb	%r15b, %r15b
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, %r15b
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-65(%r15), %eax
	cmpb	$25, %al
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movsbq	%r15b, %rax
	addl	$-65, %eax
	movq	(%r10,%rax,8), %rax
	movl	16(%rax), %eax
	addl	%r9d, %eax
	addl	%eax, %r14d
	jmp	LBB0_7
LBB0_1:
	movq	_PROPB_GAP_WIDTH@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	xorl	%r14d, %r14d
LBB0_8:
	subl	%r9d, %r14d
	movq	_UI_FORMATMASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	cmpl	$128, %ecx
	je	LBB0_11
## %bb.9:
	cmpl	$130, %ecx
	jne	LBB0_12
## %bb.10:
	movl	%r14d, %eax
	shrl	$31, %eax
	addl	%r14d, %eax
	sarl	%eax
	subl	%eax, %edi
	jmp	LBB0_12
LBB0_11:
	subl	%r14d, %edi
LBB0_12:
	movq	%r8, %rcx
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawBannerString2           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PROPB_SPACE_WIDTH,8,3          ## @PROPB_SPACE_WIDTH
	.comm	_propMapB,8,3                   ## @propMapB
	.comm	_PROPB_GAP_WIDTH,8,3            ## @PROPB_GAP_WIDTH
	.comm	_UI_FORMATMASK,4,2              ## @UI_FORMATMASK
	.comm	_UI_DROPSHADOW,4,2              ## @UI_DROPSHADOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_DrawBannerString            ; -- Begin function UI_DrawBannerString
	.p2align	2
_UI_DrawBannerString:                   ; @UI_DrawBannerString
	.cfi_startproc
; %bb.0:
	ldrb	w13, [x2]
	cbz	w13, LBB0_7
; %bb.1:
	mov	w8, #0
Lloh0:
	adrp	x9, _propMapB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _propMapB@GOTPAGEOFF]
Lloh2:
	adrp	x11, _PROPB_GAP_WIDTH@GOTPAGE
Lloh3:
	ldr	x11, [x11, _PROPB_GAP_WIDTH@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x9]
Lloh5:
	ldr	x9, [x11]
Lloh6:
	adrp	x11, _PROPB_SPACE_WIDTH@GOTPAGE
Lloh7:
	ldr	x11, [x11, _PROPB_SPACE_WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	add	x12, x2, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, w11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w13, [x12], #1
	cbz	w13, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w14, w13, #0xff
	cmp	w14, #32
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	x13, w13
	sub	w14, w13, #65
	and	w14, w14, #0xff
	cmp	w14, #25
	b.hi	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w13, w13, #65
	ldr	x13, [x10, w13, uxtw #3]
	ldr	w13, [x13, #16]
	add	w13, w9, w13
	add	w8, w8, w13
	b	LBB0_3
LBB0_7:
	mov	w8, #0
Lloh9:
	adrp	x9, _PROPB_GAP_WIDTH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PROPB_GAP_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
LBB0_8:
	sub	w8, w8, w9
Lloh12:
	adrp	x9, _UI_FORMATMASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _UI_FORMATMASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w9, w9, w3
	cmp	w9, #128
	b.eq	LBB0_11
; %bb.9:
	cmp	w9, #130
	b.ne	LBB0_12
; %bb.10:
	cmp	w8, #0
	cinc	w8, w8, lt
	sub	w0, w0, w8, asr #1
	mov	x3, x4
	b	_UI_DrawBannerString2
LBB0_11:
	sub	w0, w0, w8
LBB0_12:
	mov	x3, x4
	b	_UI_DrawBannerString2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PROPB_SPACE_WIDTH,8,3          ; @PROPB_SPACE_WIDTH
	.comm	_propMapB,8,3                   ; @propMapB
	.comm	_PROPB_GAP_WIDTH,8,3            ; @PROPB_GAP_WIDTH
	.comm	_UI_FORMATMASK,4,2              ; @UI_FORMATMASK
	.comm	_UI_DROPSHADOW,4,2              ; @UI_DROPSHADOW
.subsections_via_symbols
