	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function narrow_str_to_charconst
_narrow_str_to_charconst:               ## @narrow_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_char_precision@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CPP_OPTION
	movq	%rax, %r13
	movq	_int_precision@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CPP_OPTION
	movq	%rax, %rcx
	orq	%r13, %rcx
	shrq	$32, %rcx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%r13
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r13d
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_width_to_mask
	decl	%r14d
	je	LBB0_4
## %bb.5:
	movq	_BITS_PER_CPPCHAR_T@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r11
	movslq	%r14d, %r9
	leaq	-1(%r9), %rcx
	movl	%r14d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rcx
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	jae	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_7:
	andq	$-4, %r9
	xorl	%r10d, %r10d
	xorl	%edi, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rsi,8), %rbx
	movl	%r13d, %ecx
	shlq	%cl, %rdi
	andq	%rax, %rbx
	cmpq	%r11, %r13
	cmovaeq	%r10, %rdi
	orq	%rbx, %rdi
	shlq	%cl, %rdi
	cmpq	%r11, %r13
	cmovaeq	%r10, %rdi
	movq	8(%r15,%rsi,8), %rbx
	andq	%rax, %rbx
	orq	%rdi, %rbx
	shlq	%cl, %rbx
	cmpq	%r11, %r13
	cmovaeq	%r10, %rbx
	movq	16(%r15,%rsi,8), %rdx
	andq	%rax, %rdx
	orq	%rbx, %rdx
	shlq	%cl, %rdx
	cmpq	%r11, %r13
	cmovaeq	%r10, %rdx
	movq	24(%r15,%rsi,8), %rdi
	andq	%rax, %rdi
	orq	%rdx, %rdi
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_8
LBB0_9:
	movq	%rdi, %rbx
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%r15,%rsi,8), %r9
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rsi,8), %rdx
	andq	%rax, %rdx
	movl	%r13d, %ecx
	shlq	%cl, %rdi
	cmpq	%r11, %r13
	movl	$0, %ebx
	cmovbq	%rdi, %rbx
	orq	%rdx, %rbx
	incq	%rsi
	movq	%rbx, %rdi
	cmpq	%rsi, %r8
	jne	LBB0_11
LBB0_12:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	cmpq	%r15, -64(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_13
## %bb.18:
	movq	_CPP_DL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_cpp_error
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmpq	$1, %r15
	ja	LBB0_16
	jmp	LBB0_19
LBB0_13:
	cmpl	$2, %r14d
	jb	LBB0_19
## %bb.14:
	movq	_warn_multichar@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CPP_OPTION
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_CPP_DL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	callq	_cpp_error
LBB0_16:
	movq	_int_precision@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CPP_OPTION
	movq	%rax, %r13
	xorl	%eax, %eax
	movq	_BITS_PER_CPPCHAR_T@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	jae	LBB0_20
## %bb.17:
	movq	$-1, %rsi
	movl	%r13d, %ecx
	shlq	%cl, %rsi
	movq	%rsi, %rdx
	notq	%rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_19:
	movq	_unsigned_char@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CPP_OPTION
	movq	_BITS_PER_CPPCHAR_T@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	jae	LBB0_20
## %bb.21:
	movq	$-1, %rsi
	movl	%r13d, %ecx
	shlq	%cl, %rsi
	movq	%rsi, %rdx
	notq	%rdx
	testl	%eax, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_24
LBB0_22:
	decb	%r13b
	movl	$1, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	cltq
	testq	%rax, %rbx
	je	LBB0_23
## %bb.25:
	orq	%rsi, %rbx
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_20:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_23:
	xorl	%eax, %eax
LBB0_24:
	andq	%rdx, %rbx
LBB0_26:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, (%rcx)
	movl	%eax, (%rdi)
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_char_precision,4,2             ## @char_precision
	.comm	_int_precision,4,2              ## @int_precision
	.comm	_BITS_PER_CPPCHAR_T,8,3         ## @BITS_PER_CPPCHAR_T
	.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	_warn_multichar,4,2             ## @warn_multichar
L_.str.1:                               ## @.str.1
	.asciz	"multi-character character constant"

	.comm	_unsigned_char,4,2              ## @unsigned_char
	.no_dead_strip	_narrow_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 narrow_str_to_charconst
_narrow_str_to_charconst:               ; @narrow_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	x19, x4
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _char_precision@GOTPAGE
Lloh1:
	ldr	x8, [x8, _char_precision@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_CPP_OPTION
	mov	x22, x0
Lloh3:
	adrp	x28, _int_precision@GOTPAGE
Lloh4:
	ldr	x28, [x28, _int_precision@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x23
	bl	_CPP_OPTION
	mov	x25, x0
	mov	x0, x22
	bl	_width_to_mask
	mov	x8, #-4294967296
	adds	x8, x8, x21, lsl #32
Lloh5:
	adrp	x27, _BITS_PER_CPPCHAR_T@GOTPAGE
Lloh6:
	ldr	x27, [x27, _BITS_PER_CPPCHAR_T@GOTPAGEOFF]
	mov	x21, #0
	b.eq	LBB0_5
; %bb.1:
	asr	x10, x8, #32
	ldr	x9, [x27]
	cmp	x10, #1
	csinc	x26, x10, xzr, hi
	mov	x10, x26
	udiv	x25, x25, x22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x24], #8
	and	x11, x11, x0
	lsl	x12, x21, x22
	cmp	x22, x9
	csel	x12, x12, xzr, lo
	orr	x21, x12, x11
	subs	x10, x10, #1
	b.ne	LBB0_2
; %bb.3:
	cmp	x26, x25
	b.ls	LBB0_6
; %bb.4:
Lloh7:
	adrp	x8, _CPP_DL_WARNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CPP_DL_WARNING@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	bl	_cpp_error
	mov	x26, x25
	cmp	x25, #1
	b.hi	LBB0_9
	b	LBB0_11
LBB0_5:
	mov	x26, #0
	b	LBB0_11
LBB0_6:
	mov	x9, #4294967297
	cmp	x8, x9
	b.lo	LBB0_11
; %bb.7:
Lloh12:
	adrp	x8, _warn_multichar@GOTPAGE
Lloh13:
	ldr	x8, [x8, _warn_multichar@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_CPP_OPTION
	cbz	x0, LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _CPP_DL_WARNING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CPP_DL_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_cpp_error
LBB0_9:
	ldr	w1, [x28]
	mov	x0, x23
	bl	_CPP_OPTION
	ldr	x8, [x27]
	cmp	x0, x8
	b.hs	LBB0_15
; %bb.10:
	mov	x22, x0
	mov	x8, #-1
	lsl	x9, x8, x0
	mvn	x8, x9
	b	LBB0_13
LBB0_11:
Lloh20:
	adrp	x8, _unsigned_char@GOTPAGE
Lloh21:
	ldr	x8, [x8, _unsigned_char@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_CPP_OPTION
	ldr	x8, [x27]
	cmp	x22, x8
	b.hs	LBB0_18
; %bb.12:
	mov	x8, #-1
	lsl	x9, x8, x22
	mvn	x8, x9
	cbnz	w0, LBB0_17
LBB0_13:
	sub	w10, w22, #1
	mov	w11, #1
	lsl	w10, w11, w10
	sxtw	x10, w10
	tst	x21, x10
	b.eq	LBB0_16
; %bb.14:
	mov	w0, #0
	orr	x21, x9, x21
	b	LBB0_18
LBB0_15:
	mov	w0, #0
	b	LBB0_18
LBB0_16:
	mov	w0, #0
LBB0_17:
	and	x21, x21, x8
LBB0_18:
	str	w26, [x20]
	str	w0, [x19]
	mov	x0, x21
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_char_precision,4,2             ; @char_precision
	.comm	_int_precision,4,2              ; @int_precision
	.comm	_BITS_PER_CPPCHAR_T,8,3         ; @BITS_PER_CPPCHAR_T
	.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	_warn_multichar,4,2             ; @warn_multichar
l_.str.1:                               ; @.str.1
	.asciz	"multi-character character constant"

	.comm	_unsigned_char,4,2              ; @unsigned_char
	.no_dead_strip	_narrow_str_to_charconst
.subsections_via_symbols
