	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __sccl
___sccl:                                ## @__sccl
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	___get_locale
	movq	(%rax), %rax
	movq	_XLC_COLLATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r13), %ebx
	cmpl	$94, %ebx
	jne	LBB0_1
## %bb.2:
	movl	4(%r13), %ebx
	addq	$8, %r13
	movl	$1, %r14d
	jmp	LBB0_3
LBB0_1:
	addq	$4, %r13
	xorl	%r14d, %r14d
LBB0_3:
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.4:
	xorb	$1, %r14b
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_17 Depth 3
	movslq	%ebx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movb	%dl, (%rcx,%rax)
	movq	%r13, %r12
	movl	%ebx, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	leal	1(%r15), %eax
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %rdi
	cmpl	%eax, %r14d
	cmovgl	%r14d, %eax
	notl	%r15d
	addl	%eax, %r15d
	incq	%r15
	movzbl	-44(%rbp), %esi                 ## 1-byte Folded Reload
	movq	%r15, %rdx
	callq	_memset
	movl	%r14d, %r15d
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_17 Depth 3
	leaq	4(%r12), %r13
	movl	(%r12), %ebx
	cmpl	$45, %ebx
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r13), %r14d
	cmpl	$93, %r14d
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%r15d, %r14d
	jl	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	addq	$8, %r12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	___collate_range_cmp
	testl	%eax, %eax
	js	LBB0_5
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	addq	$8, %r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=2
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=3
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	je	LBB0_21
LBB0_17:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	___collate_range_cmp
	testl	%eax, %eax
	jg	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=3
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	___collate_range_cmp
	testl	%eax, %eax
	jg	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=3
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	%r13b, (%rax,%rbx)
	jmp	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%r14d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	testl	%ebx, %ebx
	je	LBB0_24
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$93, %ebx
	je	LBB0_23
	jmp	LBB0_5
LBB0_22:
	addq	$-4, %r13
LBB0_23:
	movq	%r13, %r12
LBB0_24:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLC_COLLATE,8,3                ## @XLC_COLLATE
	.no_dead_strip	___sccl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __sccl
___sccl:                                ; @__sccl
	.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
	mov	x20, x1
	mov	x19, x0
	bl	___get_locale
Lloh0:
	adrp	x9, _XLC_COLLATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XLC_COLLATE@GOTPAGEOFF]
	ldr	x8, [x0]
Lloh2:
	ldr	x9, [x9]
	mov	x24, x20
	ldr	w26, [x24], #4
	cmp	w26, #94
	b.ne	LBB0_2
; %bb.1:
	add	x24, x20, #8
	ldr	w26, [x20, #4]
	mov	w20, #1
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	ldr	x25, [x8, x9, lsl #3]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #256
	bl	_memset
	cbz	w26, LBB0_23
; %bb.4:
	eor	w20, w20, #0x1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_16 Depth 3
	strb	w20, [x19, w26, sxtw]
	mov	x21, x24
	mov	x22, x26
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	w8, w22, #1
	add	x0, x19, w8, sxtw
	cmp	w23, w8
	csinc	w8, w23, w22, gt
	mvn	w9, w22
	add	w8, w8, w9
	add	x2, x8, #1
	mov	x1, x20
	bl	_memset
	mov	x22, x23
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_16 Depth 3
	mov	x24, x21
	ldr	w26, [x24], #4
	cmp	w26, #45
	b.ne	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w23, [x24]
	cmp	w23, #93
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x25]
	cbz	w8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	w23, w22
	b.lt	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x21, x21, #8
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x23
	mov	x1, x22
	bl	___collate_range_cmp
	tbnz	w0, #31, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x25]
	add	x21, x21, #8
	cbnz	w8, LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x24, #0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=3
	add	x24, x24, #1
	cmp	x24, #256
	b.eq	LBB0_19
LBB0_16:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x22
	mov	x1, x24
	bl	___collate_range_cmp
	cmp	w0, #0
	b.gt	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=3
	mov	x0, x24
	mov	x1, x23
	bl	___collate_range_cmp
	cmp	w0, #0
	b.gt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=3
	strb	w20, [x19, x24]
	b	LBB0_15
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x22, x23
	b	LBB0_7
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w26, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w26, #93
	b.ne	LBB0_5
; %bb.22:
	mov	x21, x24
	b	LBB0_24
LBB0_23:
	sub	x21, x24, #4
LBB0_24:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XLC_COLLATE,8,3                ; @XLC_COLLATE
	.no_dead_strip	___sccl
.subsections_via_symbols
