	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_Text_Wrapped_Paint        ## -- Begin function Item_Text_Wrapped_Paint
	.p2align	4, 0x90
_Item_Text_Wrapped_Paint:               ## @Item_Text_Wrapped_Paint
	.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
	subq	$2088, %rsp                     ## imm = 0x828
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	cmpb	$0, (%rbx)
	jne	LBB0_4
	jmp	LBB0_9
LBB0_1:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.2:
	leaq	-1072(%rbp), %rbx
	movq	_DC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	*8(%rax)
	cmpb	$0, (%rbx)
	je	LBB0_9
LBB0_4:
	leaq	-2108(%rbp), %rsi
	movq	%r14, %rdi
	callq	_Item_TextColor
	leaq	-2116(%rbp), %rsi
	leaq	-2112(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_Item_SetTextExtents
	movss	16(%r14), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -2104(%rbp)              ## 4-byte Spill
	movss	20(%r14), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -2100(%rbp)              ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$13, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r13
	leaq	-2096(%rbp), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r13)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %r12
	subq	%rbx, %r12
	leal	1(%r12), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strncpy
	movb	$0, -2096(%rbp,%r12)
	movq	_DC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%r14), %r9d
	movl	12(%r14), %edi
	movl	-2108(%rbp), %esi
	movss	-2104(%rbp), %xmm0              ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-2100(%rbp), %xmm1              ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	*(%rax)
	movl	-2112(%rbp), %eax
	addl	$5, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	-2100(%rbp), %xmm1              ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, -2100(%rbp)              ## 4-byte Spill
	movq	%r13, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	movl	$13, %esi
	callq	_strchr
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_6
LBB0_8:
	movq	_DC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%r14), %r9d
	movl	12(%r14), %edi
	movl	-2108(%rbp), %esi
	movss	-2104(%rbp), %xmm0              ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-2100(%rbp), %xmm1              ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	*(%rax)
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$2088, %rsp                     ## imm = 0x828
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DC,8,3                         ## @DC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_Text_Wrapped_Paint        ; -- Begin function Item_Text_Wrapped_Paint
	.p2align	2
_Item_Text_Wrapped_Paint:               ; @Item_Text_Wrapped_Paint
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	sub	sp, sp, #2080
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x20, [x0]
	cbz	x20, LBB0_2
; %bb.1:
	ldrb	w8, [x20]
	cbnz	w8, LBB0_4
	b	LBB0_9
LBB0_2:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_9
; %bb.3:
	add	x20, sp, #1048
Lloh3:
	adrp	x8, _DC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	add	x1, sp, #1048
	mov	w2, #1024
	blr	x8
	ldrb	w8, [x20]
	cbz	w8, LBB0_9
LBB0_4:
	add	x1, sp, #12
	mov	x0, x19
	bl	_Item_TextColor
	add	x1, sp, #20
	add	x2, sp, #16
	mov	x0, x19
	mov	x3, x20
	bl	_Item_SetTextExtents
	ldp	s8, s9, [x19, #16]
	mov	x0, x20
	mov	w1, #13
	bl	_strchr
Lloh6:
	adrp	x22, _DC@GOTPAGE
Lloh7:
	ldr	x22, [x22, _DC@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.5:
	mov	x21, x0
	add	x23, sp, #24
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cbz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x24, x21, x20
	add	w2, w24, #1
	add	x0, sp, #24
	mov	x1, x20
	bl	_strncpy
	strb	wzr, [x23, x24]
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	w1, [sp, #12]
	ldp	w5, w0, [x19, #8]
	add	x2, sp, #24
	fmov	s0, s8
	fmov	s1, s9
	mov	w3, #0
	mov	w4, #0
	blr	x8
	ldr	w8, [sp, #16]
	add	w8, w8, #5
	scvtf	s0, w8
	fadd	s9, s9, s0
	add	x20, x21, #1
	mov	x0, x20
	mov	w1, #13
	bl	_strchr
	mov	x21, x0
	cbnz	x0, LBB0_6
LBB0_8:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	w1, [sp, #12]
	ldp	w5, w0, [x19, #8]
	fmov	s0, s8
	fmov	s1, s9
	mov	x2, x20
	mov	w3, #0
	mov	w4, #0
	blr	x8
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	add	sp, sp, #2080
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DC,8,3                         ; @DC
.subsections_via_symbols
