	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phr_decode_chunked             ## -- Begin function phr_decode_chunked
	.p2align	4, 0x90
_phr_decode_chunked:                    ## @phr_decode_chunked
	.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	%rsi, %r12
	movq	%rdi, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r15
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	negq	%r15
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %r14
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	callq	_assert
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_41
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r14,%rax,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$-2, %r14d
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_5
## %bb.32:                              ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-1(%r12,%rbx), %eax
	cmpb	$13, %al
	jne	LBB0_34
## %bb.40:                              ##   in Loop: Header=BB0_33 Depth=2
	leaq	(%r15,%rbx), %rax
	incq	%rax
	incq	%rbx
	cmpq	$1, %rax
	jne	LBB0_33
	jmp	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$-2, %r14d
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%r12,%rbx), %edi
	callq	_decode_hex
	movl	4(%r13), %ecx
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$16, %ecx
	je	LBB0_43
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	8(%r13), %edx
	shll	$4, %edx
	addl	%eax, %edx
	movl	%edx, 8(%r13)
	incl	%ecx
	movl	%ecx, 4(%r13)
	incq	%rbx
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_7
	jmp	LBB0_5
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%r13), %eax
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	subq	%rbx, %r14
	movslq	%eax, %rdx
	cmpq	%rdx, %r14
	jb	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpq	%rbx, %r14
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%r12,%r14), %rdi
	leaq	(%r12,%rbx), %rsi
	callq	_memmove
	movslq	8(%r13), %rdx
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	%rdx, %rbx
	movl	$0, 8(%r13)
	movl	$133, (%r13)
	addq	%rdx, %r14
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$-2, %r14d
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_5
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r12,%rbx), %eax
	cmpb	$13, %al
	jne	LBB0_29
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=2
	incq	%rbx
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_28
	jmp	LBB0_5
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$10, %al
	jne	LBB0_43
## %bb.30:                              ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	movl	$130, (%r13)
	leaq	LJTI0_0(%rip), %r14
	jmp	LBB0_1
LBB0_34:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$10, %al
	je	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$128, (%r13)
LBB0_36:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$-2, %r14d
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_5
## %bb.37:                              ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, -1(%r12,%rbx)
	je	LBB0_18
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	leaq	(%r15,%rbx), %rax
	incq	%rax
	incq	%rbx
	cmpq	$1, %rax
	jne	LBB0_38
	jmp	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%ecx, %ecx
	je	LBB0_43
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$131, (%r13)
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$-2, %r14d
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, -1(%r12,%rbx)
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	leaq	(%r15,%rbx), %rax
	incq	%rax
	incq	%rbx
	cmpq	$1, %rax
	jne	LBB0_12
	jmp	LBB0_5
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%r13), %eax
	testl	%eax, %eax
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 12(%r13)
	je	LBB0_42
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$129, (%r13)
	leaq	LJTI0_0(%rip), %r14
	jmp	LBB0_1
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$132, (%r13)
	jmp	LBB0_20
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_44
LBB0_43:
	movl	$-1, %r14d
	jmp	LBB0_44
LBB0_42:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	subl	%ebx, %r14d
LBB0_44:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	cmpq	%rbx, %r13
	je	LBB0_47
LBB0_46:
	leaq	(%r12,%r13), %rdi
	addq	%rbx, %r12
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subq	%rbx, %rdx
	movq	%r12, %rsi
	callq	_memmove
LBB0_47:
	movq	%r13, (%r15)
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rbx, %rcx
	je	LBB0_23
## %bb.22:
	leaq	(%r12,%rcx), %rdi
	addq	%r12, %rbx
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%rcx, %rbx
	callq	_memmove
	movq	%rbx, %rcx
	movl	8(%r13), %eax
LBB0_23:
	subl	%r14d, %eax
	movl	%eax, 8(%r13)
	addq	%r14, %rcx
	movl	$-2, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rcx, %r13
	cmpq	%rbx, %r13
	jne	LBB0_46
	jmp	LBB0_47
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
LJTI0_0:
	.long	L0_0_set_36
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_27
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function phr_decode_chunked
lCPI0_0:
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_phr_decode_chunked
	.p2align	2
_phr_decode_chunked:                    ; @phr_decode_chunked
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x26, #0
	mov	x23, #0
	ldr	x24, [x2]
	mov	x25, x24
Lloh0:
	adrp	x27, lJTI0_0@PAGE
Lloh1:
	add	x27, x27, lJTI0_0@PAGEOFF
	mov	w28, #129
	mov	w22, #128
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	bl	_assert
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_30 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x26, x24
	b.eq	LBB0_41
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20, x26]
	cmp	w8, #13
	b.ne	LBB0_21
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x26, x26, #1
	cmp	x24, x26
	b.ne	LBB0_5
	b	LBB0_41
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x26, x24
	b.eq	LBB0_41
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x20, x26]
	bl	_decode_hex
	ldr	w8, [x21, #4]
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w8, #16
	b.eq	LBB0_36
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w9, [x21, #8]
	add	w9, w0, w9, lsl #4
	add	w8, w8, #1
	stp	w8, w9, [x21, #4]
	add	x26, x26, #1
	cmp	x24, x26
	b.ne	LBB0_8
	b	LBB0_41
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21, #8]
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x2, w8
	sub	x22, x24, x26
	cmp	x22, x2
	b.lo	LBB0_38
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x23, x26
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x20, x23
	add	x1, x20, x26
	bl	_memmove
	ldrsw	x2, [x21, #8]
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w22, #128
	add	x26, x26, x2
	str	wzr, [x21, #8]
	mov	w8, #133
	str	w8, [x21]
	add	x23, x23, x2
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x26, x24
	b.eq	LBB0_41
LBB0_17:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20, x26]
	cmp	w8, #13
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x26, x26, #1
	cmp	x24, x26
	b.ne	LBB0_17
	b	LBB0_41
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #10
	b.ne	LBB0_36
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x26, x26, #1
	mov	w8, #130
	str	w8, [x21]
	b	LBB0_2
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #10
	b.eq	LBB0_37
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
	str	w22, [x21]
	add	x26, x26, #1
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x26, x24
	b.eq	LBB0_41
LBB0_24:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20, x26]
	add	x26, x26, #1
	cmp	w8, #10
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	cmp	x24, x26
	b.ne	LBB0_24
	b	LBB0_41
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x26
	b	LBB0_34
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_36
; %bb.28:                               ;   in Loop: Header=BB0_2 Depth=1
	str	d8, [x21]
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x26, x24
	b.eq	LBB0_41
LBB0_30:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20, x26]
	add	x9, x26, #1
	cmp	w8, #10
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	x26, x9
	cmp	x24, x9
	b.ne	LBB0_30
	b	LBB0_41
LBB0_32:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_37
LBB0_34:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w28, [x21]
	mov	x26, x9
	b	LBB0_2
LBB0_35:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #132
	str	w9, [x21]
	add	x26, x26, #1
	b	LBB0_12
LBB0_36:
	mov	w21, #-1
	mov	x25, x26
	b	LBB0_42
LBB0_37:
	add	x8, x26, #1
	sub	w21, w25, w8
	mov	x25, x8
	b	LBB0_42
LBB0_38:
	cmp	x23, x26
	b.eq	LBB0_40
; %bb.39:
	add	x0, x20, x23
	add	x1, x20, x26
	mov	x2, x22
	bl	_memmove
	ldr	w8, [x21, #8]
LBB0_40:
	sub	w8, w8, w22
	str	w8, [x21, #8]
	add	x23, x22, x23
LBB0_41:
	mov	w21, #-2
LBB0_42:
	cmp	x23, x25
	b.eq	LBB0_44
; %bb.43:
	add	x0, x20, x23
	add	x1, x20, x25
	sub	x2, x24, x25
	bl	_memmove
LBB0_44:
	str	x23, [x19]
	mov	x0, x21
	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
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_23-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_29-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
                                        ; -- End function
.subsections_via_symbols
