	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strxfrm_l                      ## -- Begin function strxfrm_l
	.p2align	4, 0x90
_strxfrm_l:                             ## @strxfrm_l
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rcx, %rdi
	callq	_FIX_LOCALE
	cmpb	$0, (%r12)
	je	LBB0_1
## %bb.4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	_XLC_COLLATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%r12, %rdi
	callq	_strlen
	cmpq	$0, (%rbx)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.5:
	xorl	%r13d, %r13d
LBB0_6:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_1:
	testq	%r15, %r15
	je	LBB0_2
## %bb.3:
	movb	$0, (%rbx)
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_8:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	4(,%rax,4), %rdi
	movq	%rax, %r15
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r13
	leaq	1(%r15), %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_mbstowcs_l
	cmpq	$-1, %rax
	je	LBB0_11
## %bb.12:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	__collate_sxfrm
	cmpq	$-1, %rax
	je	LBB0_6
## %bb.13:
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_free
	cmpq	%r15, %rbx
	jae	LBB0_15
## %bb.14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax,%rbx)
	jmp	LBB0_17
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_9:
	xorl	%r13d, %r13d
LBB0_11:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_7:
	movq	%r13, %rdi
	callq	_free
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_strlcpy
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	testq	%r15, %r15
	je	LBB0_17
## %bb.16:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movb	$0, -1(%r15,%rax)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_XLC_COLLATE,8,3                ## @XLC_COLLATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strxfrm_l                      ; -- Begin function strxfrm_l
	.p2align	2
_strxfrm_l:                             ; @strxfrm_l
	.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	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x3
	bl	_FIX_LOCALE
	ldrb	w8, [x21]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x8, [x24]
Lloh0:
	adrp	x9, _XLC_COLLATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XLC_COLLATE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x25, [x8, x9, lsl #3]
	mov	x0, x21
	bl	_strlen
	mov	x22, x0
	ldr	x8, [x25]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x23, #0
LBB0_3:
	mov	x0, x23
	bl	_free
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_strlcpy
	mov	x24, x22
	b	LBB0_6
LBB0_4:
	mov	x24, #0
	cbz	x20, LBB0_6
; %bb.5:
	strb	wzr, [x19]
LBB0_6:
	mov	x0, x24
	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
LBB0_7:
	add	x26, x22, #1
	lsl	x0, x26, #2
	bl	_malloc
	mov	x23, x0
	cbz	x0, LBB0_3
; %bb.8:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x26
	mov	x3, x24
	bl	_mbstowcs_l
	cmn	x0, #1
	b.eq	LBB0_3
; %bb.9:
	mov	x0, x25
	mov	x1, x23
	mov	x2, x19
	mov	x3, x20
	bl	__collate_sxfrm
	cmn	x0, #1
	b.eq	LBB0_3
; %bb.10:
	mov	x24, x0
	mov	x0, x23
	bl	_free
	cmp	x24, x20
	b.hs	LBB0_12
; %bb.11:
	strb	wzr, [x19, x24]
	b	LBB0_6
LBB0_12:
	cbz	x20, LBB0_6
; %bb.13:
	add	x8, x20, x19
	sturb	wzr, [x8, #-1]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XLC_COLLATE,8,3                ; @XLC_COLLATE
.subsections_via_symbols
