	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str_width_split
_str_width_split:                       ## @str_width_split
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rdi, %r14
	cmpb	$0, (%rdi)
	je	LBB0_13
## %bb.2:
	movl	%esi, %ebx
	movq	%r14, %rdi
	callq	_strlen
	cmpl	%ebx, %eax
	jle	LBB0_16
## %bb.3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %r13
	leaq	(%r14,%r13), %r12
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	cltq
	addq	%r14, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	movq	%r14, %rbx
	movq	%r12, %rsi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_reverse_search_char
	cmpq	%rbx, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	leaq	(%rax,%r13), %rsi
	incq	%rsi
	incq	%rax
	movq	%rax, %rbx
	cmpq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	jb	LBB0_4
LBB0_6:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leal	2(%r15), %edi
	movl	$8, %esi
	callq	_calloc
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	%rax, %rcx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, -56(%rbp)                 ## 4-byte Folded Reload
	jle	LBB0_20
## %bb.8:
	movl	%r15d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %r15
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$32, %edx
	callq	_reverse_search_char
	cmpq	%r14, %rax
	je	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	movl	%ebx, %esi
	subl	%r14d, %esi
	movq	%r14, %rdi
	callq	_my_strndup
	movq	%r15, %rcx
	movq	%rax, (%r15,%r13,8)
	leaq	1(%rbx), %r14
	incq	%r13
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax), %r12
	incq	%r12
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	jb	LBB0_9
LBB0_12:
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	setae	%al
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpb	$0, (%r14)
	jne	LBB0_22
	jmp	LBB0_24
LBB0_13:
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rax, %rcx
	movq	$0, (%rax)
	jmp	LBB0_24
LBB0_16:
	movl	$3, %edi
	movl	$8, %esi
	callq	_calloc
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:
	movq	%rax, %rcx
LBB0_20:
	xorl	%eax, %eax
	cmpb	$0, (%r14)
	je	LBB0_24
LBB0_22:
	testb	%al, %al
	jne	LBB0_24
## %bb.23:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rcx, %rbx
	callq	_my_strndup
	movl	%r13d, %ecx
	movq	%rax, (%rbx,%rcx,8)
	movq	%rbx, %rcx
	jmp	LBB0_24
LBB0_15:
	xorl	%ecx, %ecx
LBB0_24:
	movq	%rcx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	xorl	%eax, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	%r15, %rcx
	cmpb	$0, (%r14)
	jne	LBB0_22
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_str_width_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_width_split
_str_width_split:                       ; @str_width_split
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_13
; %bb.2:
	mov	x19, x1
	mov	x0, x20
	bl	_strlen
	cmp	w0, w19
	b.le	LBB0_15
; %bb.3:
	mov	x23, x0
	sxtw	x24, w19
	add	x22, x20, x24
	add	x25, x20, w0, sxtw
	mov	w26, #1
	mov	x21, x20
	mov	x1, x22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w2, #32
	bl	_reverse_search_char
	cmp	x0, x21
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, #1
	add	x21, x0, #1
	add	x1, x21, x24
	cmp	x1, x25
	b.lo	LBB0_4
LBB0_6:
	add	w0, w26, #2
	mov	w1, #8
	bl	_calloc
	mov	x21, x0
	cbz	x0, LBB0_21
; %bb.7:
	cmp	w23, w19
	b.le	LBB0_16
; %bb.8:
	mov	x23, #0
	mov	w26, w26
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	w2, #32
	bl	_reverse_search_char
	cmp	x0, x20
	b.eq	LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, x0
	sub	w1, w22, w20
	mov	x0, x20
	bl	_my_strndup
	str	x0, [x21, x23, lsl #3]
	add	x20, x22, #1
	add	x23, x23, #1
	cmp	x23, x26
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x20, x24
	cmp	x22, x25
	b.lo	LBB0_9
LBB0_12:
	cmp	x23, x26
	cset	w8, hs
	b	LBB0_18
LBB0_13:
	mov	w0, #8
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_21
; %bb.14:
	str	xzr, [x21]
	b	LBB0_21
LBB0_15:
	mov	w0, #3
	mov	w1, #8
	bl	_calloc
	mov	x21, x0
	cbz	x0, LBB0_21
LBB0_16:
	mov	w23, #0
LBB0_17:
	mov	w8, #0
LBB0_18:
	ldrb	w9, [x20]
	cbz	w9, LBB0_21
; %bb.19:
	tbnz	w8, #0, LBB0_21
; %bb.20:
	mov	x0, x20
	mov	x1, x19
	bl	_my_strndup
	str	x0, [x21, w23, uxtw #3]
LBB0_21:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_str_width_split
.subsections_via_symbols
