	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decode_source                  ## -- Begin function decode_source
	.p2align	4, 0x90
_decode_source:                         ## @decode_source
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	cmpb	$0, (%rdi)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_25
## %bb.1:
	leaq	_decode_source.decode_beginW(%rip), %rbx
	leaq	LJTI0_0(%rip), %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	(%r14), %al
	incq	%r14
	movb	%al, (%r12)
	incq	%r12
	cmpb	$0, (%r14)
	je	LBB0_25
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_wcsncmp
	testq	%rax, %rax
	jne	LBB0_23
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	%rax, %r14
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_decode_dword
	testl	%eax, %eax
	je	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %r14
	cmpq	$0, -56(%rbp)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	_dictionary@GOTPCREL(%rip), %r8
	movq	_pick_encoding@GOTPCREL(%rip), %rdi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	(%r8), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movq	(%rdi), %rdx
	movl	%r15d, %esi
	andl	$63, %esi
	movq	(%rdx,%rsi,8), %rdx
	movsbq	(%rcx,%rdx), %rcx
	movb	%cl, (%r12,%r15)
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=2
	addq	%rcx, %rbx
	incq	%r15
	incq	%rax
	movq	-56(%rbp), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_18
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbq	(%r14,%rax), %rcx
	cmpq	$64, %rcx
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movsbl	1(%r14,%rax), %ecx
	leal	-33(%rcx), %edx
	cmpl	$9, %edx
	ja	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	incq	%rax
	movslq	(%r13,%rdx,4), %rdx
	addq	%r13, %rdx
	jmpq	*%rdx
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	movb	$60, (%r12,%r15)
	movl	$60, %ecx
	jmp	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	movb	$13, (%r12,%r15)
	movl	$13, %ecx
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=2
	movb	$64, (%r12,%r15)
	movl	$64, %ecx
	jmp	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	movb	$10, (%r12,%r15)
	movl	$10, %ecx
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	movb	$62, (%r12,%r15)
	movl	$62, %ecx
	jmp	LBB0_17
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%rcx, %r14
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	callq	_decode_dword
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-64(%rbp), %rbx
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %r14
	leaq	_decode_source.decode_endW(%rip), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_wcsncmp
	testq	%rax, %rax
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%r15, %r12
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	%rax, %r14
	leaq	_decode_source.decode_beginW(%rip), %rbx
	cmpb	$0, (%r14)
	jne	LBB0_2
LBB0_25:
	movb	$0, (%r12)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_debugstr_w
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_21:
	movq	_JS_E_INVALID_CHAR@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_15:
	movsbl	%cl, %esi
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	movq	_E_FAIL@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
_decode_source.decode_beginW:           ## @decode_source.decode_beginW
	.ascii	"#@~^"

_decode_source.decode_endW:             ## @decode_source.decode_endW
	.ascii	"^#~@"

	.comm	_JS_E_INVALID_CHAR,4,2          ## @JS_E_INVALID_CHAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unescape %c\n"

	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_dictionary,8,3                 ## @dictionary
	.comm	_pick_encoding,8,3              ## @pick_encoding
L_.str.2:                               ## @.str.2
	.asciz	"decoded %s\n"

	.comm	_S_OK,4,2                       ## @S_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decode_source                  ; -- Begin function decode_source
	.p2align	2
_decode_source:                         ; @decode_source
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
	ldrb	w8, [x0]
	mov	x25, x0
	cbz	w8, LBB0_22
; %bb.1:
Lloh0:
	adrp	x20, _decode_source.decode_beginW@PAGE
Lloh1:
	add	x20, x20, _decode_source.decode_beginW@PAGEOFF
Lloh2:
	adrp	x8, _JS_E_INVALID_CHAR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JS_E_INVALID_CHAR@GOTPAGEOFF]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh4:
	adrp	x21, _decode_source.decode_endW@PAGE
Lloh5:
	add	x21, x21, _decode_source.decode_endW@PAGEOFF
Lloh6:
	adrp	x24, _dictionary@GOTPAGE
Lloh7:
	ldr	x24, [x24, _dictionary@GOTPAGEOFF]
Lloh8:
	adrp	x26, _pick_encoding@GOTPAGE
Lloh9:
	ldr	x26, [x26, _pick_encoding@GOTPAGEOFF]
	mov	x25, x19
	mov	x22, x19
Lloh10:
	adrp	x27, lJTI0_0@PAGE
Lloh11:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x22], #1
	strb	w8, [x25], #1
	ldrb	w8, [x22]
	cbz	w8, LBB0_22
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_wcsncmp
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_ARRAY_SIZE
	add	x22, x22, w0, sxtw
	add	x1, sp, #24
	mov	x0, x22
	bl	_decode_dword
	cbz	w0, LBB0_23
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x22, #8
	ldr	x9, [sp, #24]
	cbz	x9, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	mov	x28, #0
	mov	x9, #0
	mov	w14, #60
	mov	w15, #13
	mov	w16, #64
	mov	w17, #10
	mov	w0, #62
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x11, [x24]
	ldr	x10, [x11, x10, lsl #3]
	ldr	x11, [x26]
	and	x12, x28, #0x3f
	ldr	x11, [x11, x12, lsl #3]
	ldrsb	x10, [x10, x11]
	strb	w10, [x25, x28]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x23, x23, x10
	add	x28, x28, #1
	add	x9, x9, #1
	ldr	x10, [sp, #24]
	cmp	x9, x10
	b.hs	LBB0_18
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	x10, [x8, x9]
	cmp	x10, #64
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x9, x9, #1
	ldrsb	w10, [x8, x9]
	sub	w11, w10, #33
	cmp	w11, #9
	b.hi	LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	adr	x12, LBB0_12
	ldrb	w13, [x27, x11]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	strb	w14, [x25, x28]
	mov	w10, #60
	b	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	strb	w15, [x25, x28]
	mov	w10, #13
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	strb	w16, [x25, x28]
	mov	w10, #64
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	strb	w17, [x25, x28]
	mov	w10, #10
	b	LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	strb	w0, [x25, x28]
	mov	w10, #62
	b	LBB0_8
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, #0
	mov	x23, #0
	mov	x10, #0
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x8, x10
	add	x1, sp, #16
	mov	x0, x22
	bl	_decode_dword
	cbz	w0, LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	cmp	x23, x8
	b.ne	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #8
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_wcsncmp
	cbnz	x0, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, x28
	mov	x0, x21
	bl	_ARRAY_SIZE
	add	x22, x22, w0, sxtw
	ldrb	w8, [x22]
	cbnz	w8, LBB0_3
LBB0_22:
	strb	wzr, [x25]
	mov	x0, x19
	bl	_debugstr_w
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
Lloh14:
	adrp	x8, _S_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_25
LBB0_23:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_25
LBB0_24:
	and	w8, w10, #0xff
	sxtb	w1, w8
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
Lloh18:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
LBB0_25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_24-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_24-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_24-LBB0_12)>>2
	.byte	(LBB0_24-LBB0_12)>>2
	.byte	(LBB0_24-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
                                        ; -- End function
_decode_source.decode_beginW:           ; @decode_source.decode_beginW
	.ascii	"#@~^"

_decode_source.decode_endW:             ; @decode_source.decode_endW
	.ascii	"^#~@"

	.comm	_JS_E_INVALID_CHAR,4,2          ; @JS_E_INVALID_CHAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unescape %c\n"

	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_dictionary,8,3                 ; @dictionary
	.comm	_pick_encoding,8,3              ; @pick_encoding
l_.str.2:                               ; @.str.2
	.asciz	"decoded %s\n"

	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
