	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_hex
_convert_hex:                           ## @convert_hex
	.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
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testl	%r8d, %r8d
	jne	LBB0_1
## %bb.2:
	movq	_char_precision@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_wchar_precision@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_CPP_OPTION
	movq	%rax, %rdi
	callq	_width_to_mask
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_CPP_WTRADITIONAL
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_CPP_DL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_cpp_error
LBB0_5:
	leaq	4(%rbx), %r13
	cmpq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_17
## %bb.6:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %r12d
	movl	%r12d, %edi
	callq	_hex_p
	testl	%eax, %eax
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	je	LBB0_7
## %bb.8:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	addq	$8, %rbx
	xorl	%r15d, %r15d
	movq	%rbx, %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movl	%r15d, %r14d
	shll	$4, %r14d
	movl	%r14d, %ebx
	sarl	$4, %ebx
	xorl	%r15d, %ebx
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_hex_value
	movl	%eax, %r15d
	addl	%r14d, %r15d
	cmpq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r13), %r12d
	movl	%r12d, %edi
	callq	_hex_p
	addq	$4, %r13
	testl	%eax, %eax
	jne	LBB0_10
## %bb.15:
	addq	$-4, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_16
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
LBB0_16:
	testl	%eax, %eax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_12
LBB0_17:
	movq	_CPP_DL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_cpp_error
	jmp	LBB0_18
LBB0_11:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_12:
	movslq	%r15d, %rax
	andq	%rax, %rdx
	xorl	%ecx, %ecx
	cmpq	%rax, %rdx
	setne	%cl
	orl	%ebx, %ecx
	je	LBB0_14
## %bb.13:
	movq	_CPP_DL_PEDWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rbx
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_cpp_error
	movl	%ebx, %r15d
LBB0_14:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_emit_numeric_escape
LBB0_18:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	"the meaning of '\\x' is different in traditional C"

	.comm	_CPP_DL_ERROR,4,2               ## @CPP_DL_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"\\x used with no following hex digits"

	.comm	_CPP_DL_PEDWARN,4,2             ## @CPP_DL_PEDWARN
L_.str.2:                               ## @.str.2
	.asciz	"hex escape sequence out of range"

	.no_dead_strip	_convert_hex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_hex
_convert_hex:                           ; @convert_hex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x3
	mov	x24, x2
	mov	x27, x1
	mov	x19, x0
	cmp	w4, #0
Lloh0:
	adrp	x8, _char_precision@GOTPAGE
Lloh1:
	ldr	x8, [x8, _char_precision@GOTPAGEOFF]
Lloh2:
	adrp	x9, _wchar_precision@GOTPAGE
Lloh3:
	ldr	x9, [x9, _wchar_precision@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	bl	_CPP_OPTION
	bl	_width_to_mask
	mov	x23, x0
	mov	x0, x19
	bl	_CPP_WTRADITIONAL
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _CPP_DL_WARNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CPP_DL_WARNING@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_cpp_error
LBB0_2:
	add	x22, x27, #4
	cmp	x22, x24
	b.hs	LBB0_12
; %bb.3:
	ldr	w28, [x22]
	mov	x0, x28
	bl	_hex_p
	mov	x26, x0
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	cbz	w0, LBB0_11
; %bb.4:
	mov	w25, #0
	mov	w21, #0
	add	x22, x27, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w27, w25, #4
	eor	w8, w25, w27, asr #4
	orr	w21, w8, w21
	mov	x0, x28
	bl	_hex_value
	add	w25, w0, w27
	cmp	x22, x24
	b.hs	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w28, [x22], #4
	mov	x0, x28
	bl	_hex_p
	cbnz	w0, LBB0_5
; %bb.7:
	sub	x22, x22, #4
	cbz	w26, LBB0_12
LBB0_8:
	sxtw	x8, w25
	and	x23, x23, x8
	cmp	x23, x8
	cset	w8, ne
	orr	w8, w21, w8
	cbz	w8, LBB0_10
; %bb.9:
Lloh9:
	adrp	x8, _CPP_DL_PEDWARN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CPP_DL_PEDWARN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_cpp_error
	mov	x25, x23
LBB0_10:
	mov	x0, x19
	mov	x1, x25
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x20
	bl	_emit_numeric_escape
	b	LBB0_13
LBB0_11:
	mov	w21, #0
	mov	w25, #0
	cbnz	w26, LBB0_8
LBB0_12:
Lloh14:
	adrp	x8, _CPP_DL_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CPP_DL_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_cpp_error
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.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	"the meaning of '\\x' is different in traditional C"

	.comm	_CPP_DL_ERROR,4,2               ; @CPP_DL_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"\\x used with no following hex digits"

	.comm	_CPP_DL_PEDWARN,4,2             ; @CPP_DL_PEDWARN
l_.str.2:                               ; @.str.2
	.asciz	"hex escape sequence out of range"

	.no_dead_strip	_convert_hex
.subsections_via_symbols
