	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bwsalloc                       ## -- Begin function bwsalloc
	.p2align	4, 0x90
_bwsalloc:                              ## @bwsalloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_MB_CUR_MAX@GOTPCREL(%rip), %r14
	cmpl	$1, (%r14)
	jne	LBB0_2
## %bb.1:
	leal	25(%rbx), %edi
	jmp	LBB0_3
LBB0_2:
	leaq	1(%rbx), %rdi
	callq	_SIZEOF_WCHAR_STRING
	movl	%eax, %edi
	addl	$24, %edi
LBB0_3:
	callq	_sort_malloc
	movq	%rbx, (%rax)
	cmpl	$1, (%r14)
	jne	LBB0_5
## %bb.4:
	movq	8(%rax), %rcx
	movb	$0, (%rcx,%rbx)
	jmp	LBB0_6
LBB0_5:
	movq	16(%rax), %rcx
	movl	$0, (%rcx,%rbx,4)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_CUR_MAX,4,2                 ## @MB_CUR_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bwsalloc                       ; -- Begin function bwsalloc
	.p2align	2
_bwsalloc:                              ; @bwsalloc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _MB_CUR_MAX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MB_CUR_MAX@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	add	w0, w19, #25
	b	LBB0_3
LBB0_2:
	add	x0, x19, #1
	bl	_SIZEOF_WCHAR_STRING
	add	w0, w0, #24
LBB0_3:
	bl	_sort_malloc
	str	x19, [x0]
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x0, #8]
	strb	wzr, [x8, x19]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x0, #16]
	str	wzr, [x8, x19, lsl #2]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_CUR_MAX,4,2                 ; @MB_CUR_MAX
.subsections_via_symbols
