	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_DrawTextBox                 ## -- Begin function UI_DrawTextBox
	.p2align	4, 0x90
_UI_DrawTextBox:                        ## @UI_DrawTextBox
	.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	%ecx, %r14d
	movl	%edx, %ebx
	movl	%esi, %r15d
	movl	%edi, %r12d
	movq	_BIGCHAR_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %edi
	shrl	$31, %edi
	addl	%edx, %edi
	sarl	%edi
	addl	%r12d, %edi
	movq	_BIGCHAR_HEIGHT@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	addl	%r15d, %esi
	incl	%ebx
	imull	%ebx, %edx
	incl	%r14d
	imull	%r14d, %ecx
	movq	_colorBlack@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_UI_FillRect
	movq	_BIGCHAR_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	addl	%r12d, %edi
	movl	(%r13), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	addl	%r15d, %esi
	imull	%eax, %ebx
	imull	%ecx, %r14d
	movq	_colorWhite@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%ebx, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawRect                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BIGCHAR_WIDTH,4,2              ## @BIGCHAR_WIDTH
	.comm	_BIGCHAR_HEIGHT,4,2             ## @BIGCHAR_HEIGHT
	.comm	_colorBlack,4,2                 ## @colorBlack
	.comm	_colorWhite,4,2                 ## @colorWhite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_DrawTextBox                 ; -- Begin function UI_DrawTextBox
	.p2align	2
_UI_DrawTextBox:                        ; @UI_DrawTextBox
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _BIGCHAR_WIDTH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BIGCHAR_WIDTH@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #0
	cinc	w9, w8, lt
Lloh2:
	adrp	x22, _BIGCHAR_HEIGHT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _BIGCHAR_HEIGHT@GOTPAGEOFF]
	add	w0, w0, w9, asr #1
	ldr	w9, [x22]
	cmp	w9, #0
	cinc	w10, w9, lt
	add	w1, w1, w10, asr #1
	add	w23, w2, #1
	mul	w2, w8, w23
	add	w24, w3, #1
	mul	w3, w9, w24
Lloh4:
	adrp	x8, _colorBlack@GOTPAGE
Lloh5:
	ldr	x8, [x8, _colorBlack@GOTPAGEOFF]
Lloh6:
	ldr	w4, [x8]
	bl	_UI_FillRect
	ldr	w8, [x21]
	cmp	w8, #0
	cinc	w9, w8, lt
	add	w0, w20, w9, asr #1
	ldr	w9, [x22]
	cmp	w9, #0
	cinc	w10, w9, lt
	add	w1, w19, w10, asr #1
	mul	w2, w8, w23
	mul	w3, w9, w24
Lloh7:
	adrp	x8, _colorWhite@GOTPAGE
Lloh8:
	ldr	x8, [x8, _colorWhite@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
	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
	b	_UI_DrawRect
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BIGCHAR_WIDTH,4,2              ; @BIGCHAR_WIDTH
	.comm	_BIGCHAR_HEIGHT,4,2             ; @BIGCHAR_HEIGHT
	.comm	_colorBlack,4,2                 ; @colorBlack
	.comm	_colorWhite,4,2                 ; @colorWhite
.subsections_via_symbols
