	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_utf16_hex
_parse_utf16_hex:                       ## @parse_utf16_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	(%rdi), %al
	xorl	%r13d, %r13d
	testb	%al, %al
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, 1(%rdi)
	je	LBB0_9
## %bb.2:
	cmpb	$0, 2(%rbx)
	je	LBB0_9
## %bb.3:
	cmpb	$0, 3(%rbx)
	je	LBB0_9
## %bb.4:
	movq	%rsi, %r14
	movsbl	%al, %edi
	callq	_hex_char_to_int
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movsbl	1(%rbx), %edi
	callq	_hex_char_to_int
	movl	%eax, %r12d
	movsbl	2(%rbx), %edi
	callq	_hex_char_to_int
	movl	%eax, %r15d
	movsbl	3(%rbx), %edi
	callq	_hex_char_to_int
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$-1, %ecx
	je	LBB0_9
## %bb.5:
	cmpl	$-1, %r12d
	je	LBB0_9
## %bb.6:
	cmpl	$-1, %r15d
	je	LBB0_9
## %bb.7:
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.8:
	shll	$12, %ecx
	shll	$8, %r12d
	shll	$4, %r15d
	orl	%r12d, %r15d
	orl	%ecx, %r15d
	orl	%eax, %r15d
	movl	%r15d, (%r14)
	movl	$1, %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_utf16_hex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_utf16_hex
_parse_utf16_hex:                       ; @parse_utf16_hex
	.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
	ldrb	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x21, x0
	ldrb	w9, [x0, #1]
	cbz	w9, LBB0_9
; %bb.2:
	ldrb	w9, [x21, #2]
	cbz	w9, LBB0_9
; %bb.3:
	ldrb	w9, [x21, #3]
	cbz	w9, LBB0_9
; %bb.4:
	mov	x19, x1
	sxtb	w0, w8
	bl	_hex_char_to_int
	mov	x20, x0
	ldrsb	w0, [x21, #1]
	bl	_hex_char_to_int
	mov	x22, x0
	ldrsb	w0, [x21, #2]
	bl	_hex_char_to_int
	mov	x23, x0
	ldrsb	w0, [x21, #3]
	bl	_hex_char_to_int
	mov	x8, x0
	mov	w0, #0
	cmn	w20, #1
	b.eq	LBB0_10
; %bb.5:
	cmn	w22, #1
	b.eq	LBB0_10
; %bb.6:
	cmn	w23, #1
	b.eq	LBB0_10
; %bb.7:
	cmn	w8, #1
	b.eq	LBB0_10
; %bb.8:
	lsl	w9, w22, #8
	orr	w9, w9, w20, lsl #12
	orr	w9, w9, w23, lsl #4
	orr	w8, w9, w8
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.no_dead_strip	_parse_utf16_hex
.subsections_via_symbols
