	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wide_str_to_charconst
_wide_str_to_charconst:                 ## @wide_str_to_charconst
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_bytes_big_endian@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CPP_OPTION
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_wchar_precision@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CPP_OPTION
	movq	%rax, %rbx
	movq	_char_precision@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CPP_OPTION
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_width_to_mask
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_width_to_mask
	movq	%rax, %r10
	movq	%rbx, %rax
	orq	%r13, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%r13
	jmp	LBB0_3
LBB0_1:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%r13d
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	subq	%rax, %r14
	subq	%rax, %r14
	cmpq	%rbx, %r13
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jbe	LBB0_5
## %bb.4:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_5:
	leaq	(%r14,%rax), %rbx
	movl	$1, %r8d
	cmpq	$2, %rax
	cmovaeq	%rax, %r8
	jae	LBB0_7
## %bb.6:
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	jmp	LBB0_9
LBB0_7:
	movq	%r8, %r9
	andq	$-2, %r9
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rsi,%r14), %rdi
	movq	%rsi, %rax
	notq	%rax
	addq	%rbx, %rax
	movl	%r13d, %ecx
	shlq	%cl, %r12
	movq	%rsi, %rcx
	orq	$1, %rcx
	addq	%r14, %rcx
	movq	%rbx, %rdx
	subq	%rsi, %rdx
	addq	$-2, %rdx
	testl	%r11d, %r11d
	cmovneq	%rdi, %rax
	cmovneq	%rcx, %rdx
	movq	(%r15,%rax,8), %rax
	andq	%r10, %rax
	orq	%r12, %rax
	movl	%r13d, %ecx
	shlq	%cl, %rax
	movq	(%r15,%rdx,8), %r12
	andq	%r10, %r12
	orq	%rax, %r12
	addq	$2, %rsi
	cmpq	%r9, %rsi
	jne	LBB0_8
LBB0_9:
	testb	$1, %r8b
	je	LBB0_11
## %bb.10:
	leaq	(%rsi,%r14), %rax
	notq	%rsi
	addq	%rsi, %rbx
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	cmovneq	%rax, %rbx
	movl	%r13d, %ecx
	shlq	%cl, %r12
	andq	(%r15,%rbx,8), %r10
	orq	%r10, %r12
LBB0_11:
	testq	%r14, %r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	movq	_CPP_DL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_cpp_error
LBB0_13:
	movq	_BITS_PER_CPPCHAR_T@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jbe	LBB0_18
## %bb.14:
	movq	_unsigned_wchar@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_CPP_OPTION
	testq	%rax, %rax
	je	LBB0_15
LBB0_16:
	andq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	jmp	LBB0_18
LBB0_15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	cltq
	testq	%rax, %r12
	je	LBB0_16
## %bb.17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	notq	%rax
	orq	%rax, %r12
LBB0_18:
	movq	_unsigned_wchar@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_CPP_OPTION
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bytes_big_endian,4,2           ## @bytes_big_endian
	.comm	_wchar_precision,4,2            ## @wchar_precision
	.comm	_char_precision,4,2             ## @char_precision
	.comm	_CPP_DL_WARNING,4,2             ## @CPP_DL_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"character constant too long for its type"

	.comm	_BITS_PER_CPPCHAR_T,8,3         ## @BITS_PER_CPPCHAR_T
	.comm	_unsigned_wchar,4,2             ## @unsigned_wchar
	.no_dead_strip	_wide_str_to_charconst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wide_str_to_charconst
_wide_str_to_charconst:                 ; @wide_str_to_charconst
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x19, x3
	mov	x25, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _bytes_big_endian@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bytes_big_endian@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_CPP_OPTION
	mov	x26, x0
Lloh3:
	adrp	x8, _wchar_precision@GOTPAGE
Lloh4:
	ldr	x8, [x8, _wchar_precision@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_CPP_OPTION
	mov	x23, x0
Lloh6:
	adrp	x8, _char_precision@GOTPAGE
Lloh7:
	ldr	x8, [x8, _char_precision@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_CPP_OPTION
	mov	x27, x0
	mov	x0, x23
	bl	_width_to_mask
	mov	x24, x0
	mov	x0, x27
	bl	_width_to_mask
	udiv	x11, x23, x27
	sub	x8, x22, x11, lsl #1
	cmp	x27, x23
	b.ls	LBB0_2
; %bb.1:
	mov	x22, #0
	b	LBB0_4
LBB0_2:
	mov	x9, #0
	mov	x22, #0
	add	x10, x8, x11
	cmp	x11, #1
	csinc	x11, x11, xzr, hi
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x12, x9, x8
	mvn	x13, x9
	add	x13, x10, x13
	cmp	w26, #0
	csel	x12, x13, x12, eq
	ldr	x12, [x25, x12, lsl #3]
	lsl	x13, x22, x27
	and	x12, x12, x0
	orr	x22, x12, x13
	add	x9, x9, #1
	cmp	x9, x11
	b.ne	LBB0_3
LBB0_4:
	cbz	x8, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _CPP_DL_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CPP_DL_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_cpp_error
LBB0_6:
Lloh14:
	adrp	x8, _BITS_PER_CPPCHAR_T@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BITS_PER_CPPCHAR_T@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x25, _unsigned_wchar@GOTPAGE
Lloh18:
	ldr	x25, [x25, _unsigned_wchar@GOTPAGEOFF]
	cmp	x8, x23
	b.ls	LBB0_11
; %bb.7:
	ldr	w1, [x25]
	mov	x0, x21
	bl	_CPP_OPTION
	cbz	x0, LBB0_9
LBB0_8:
	and	x22, x22, x24
	b	LBB0_11
LBB0_9:
	sub	w8, w23, #1
	mov	w9, #1
	lsl	w8, w9, w8
	sxtw	x8, w8
	tst	x22, x8
	b.eq	LBB0_8
; %bb.10:
	orn	x22, x22, x24
LBB0_11:
	ldr	w1, [x25]
	mov	x0, x21
	bl	_CPP_OPTION
	str	w0, [x20]
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_bytes_big_endian,4,2           ; @bytes_big_endian
	.comm	_wchar_precision,4,2            ; @wchar_precision
	.comm	_char_precision,4,2             ; @char_precision
	.comm	_CPP_DL_WARNING,4,2             ; @CPP_DL_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"character constant too long for its type"

	.comm	_BITS_PER_CPPCHAR_T,8,3         ; @BITS_PER_CPPCHAR_T
	.comm	_unsigned_wchar,4,2             ; @unsigned_wchar
	.no_dead_strip	_wide_str_to_charconst
.subsections_via_symbols
