	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_wcs                        ## -- Begin function get_wcs
	.p2align	4, 0x90
_get_wcs:                               ## @get_wcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_widestr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	_wideidx@GOTPCREL(%rip), %rdx
	movq	$0, (%rdx)
	movq	$0, (%rcx)
	movq	_widesz@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	leaq	l_.str(%rip), %rdi
	callq	_wcsdup
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_yyerror
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_widestr,8,3                    ## @widestr
	.comm	_wideidx,8,3                    ## @wideidx
	.comm	_widesz,8,3                     ## @widesz
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.space	4

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_wcs                        ; -- Begin function get_wcs
	.p2align	2
_get_wcs:                               ; @get_wcs
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _widestr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _widestr@GOTPAGEOFF]
Lloh2:
	adrp	x9, _wideidx@GOTPAGE
Lloh3:
	ldr	x9, [x9, _wideidx@GOTPAGEOFF]
	ldr	x0, [x8]
Lloh4:
	str	xzr, [x9]
	str	xzr, [x8]
Lloh5:
	adrp	x8, _widesz@GOTPAGE
Lloh6:
	ldr	x8, [x8, _widesz@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wcsdup
	cbnz	x0, LBB0_1
; %bb.3:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_yyerror
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_widestr,8,3                    ; @widestr
	.comm	_wideidx,8,3                    ; @wideidx
	.comm	_widesz,8,3                     ; @widesz
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.space	4

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

.subsections_via_symbols
