	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_my_wcstombs                    ## -- Begin function my_wcstombs
	.p2align	4, 0x90
_my_wcstombs:                           ## @my_wcstombs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%edi, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_wcstombs
	movl	%eax, %ebx
	leal	1(%rbx), %r15d
	cmpl	_my_wcstombs.buf.1(%rip), %eax
	jge	LBB0_2
## %bb.1:
	movq	_my_wcstombs.buf.0(%rip), %rdi
	jmp	LBB0_3
LBB0_2:
	movl	%r15d, %edi
	callq	_malloc
	movq	%rax, %rdi
	movq	%rax, _my_wcstombs.buf.0(%rip)
	movl	%r15d, _my_wcstombs.buf.1(%rip)
LBB0_3:
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_wcstombs
	movq	_my_wcstombs.buf.0(%rip), %rax
	movslq	%ebx, %rcx
	movb	$0, (%rax,%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_my_wcstombs.buf.0,8,3 ## @my_wcstombs.buf.0
.zerofill __DATA,__bss,_my_wcstombs.buf.1,4,3 ## @my_wcstombs.buf.1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_my_wcstombs                    ; -- Begin function my_wcstombs
	.p2align	2
_my_wcstombs:                           ; @my_wcstombs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	x0, #0
	mov	x1, x19
	mov	w2, #0
	bl	_wcstombs
	mov	x20, x0
	add	w21, w0, #1
	adrp	x23, _my_wcstombs.buf.1@PAGE
	ldr	w8, [x23, _my_wcstombs.buf.1@PAGEOFF]
	adrp	x22, _my_wcstombs.buf.0@PAGE
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.1:
	ldr	x0, [x22, _my_wcstombs.buf.0@PAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_malloc
	str	x0, [x22, _my_wcstombs.buf.0@PAGEOFF]
	str	w21, [x23, _my_wcstombs.buf.1@PAGEOFF]
LBB0_3:
	mov	x1, x19
	mov	x2, x21
	bl	_wcstombs
	ldr	x0, [x22, _my_wcstombs.buf.0@PAGEOFF]
	strb	wzr, [x0, w20, sxtw]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_my_wcstombs.buf.0,8,3 ; @my_wcstombs.buf.0
.zerofill __DATA,__bss,_my_wcstombs.buf.1,4,3 ; @my_wcstombs.buf.1
.subsections_via_symbols
