	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_ps_map
_decode_ps_map:                         ## @decode_ps_map
	.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, %r14
	leaq	-44(%rbp), %rbx
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_bits_init
	movq	%rbx, %rdi
	callq	_bits_bytes_left
	cmpl	$10, %eax
	jl	LBB0_28
## %bb.1:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_bits_skip
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_bits_get
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_bits_bytes_left
	cmpl	%r12d, %eax
	jl	LBB0_28
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.3:
	leaq	-64(%rbp), %rbx
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_bits_clone
	movq	%rbx, %rdi
	callq	_bits_bytes_left
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.4:
	leaq	-64(%rbp), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	shll	$3, %ebx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bits_skip
	movq	%r14, %rdi
	callq	_bits_bytes_left
	cmpl	$1, %eax
	jle	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %r13
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_bits_bytes_left
	cmpl	%ebx, %eax
	jl	LBB0_28
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$5, %r13d
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$4, %ebx
	jl	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_bits_get
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	leal	-32(,%rbx,8), %ebx
	jmp	LBB0_10
LBB0_11:
	shll	$3, %r12d
	leaq	-44(%rbp), %rdi
	movl	%r12d, %esi
	callq	_bits_skip
LBB0_12:
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_bits_get
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_bits_bytes_left
	cmpl	%ebx, %eax
	jl	LBB0_28
## %bb.13:
	leaq	-44(%rbp), %rdi
	callq	_bits_bytes_left
	movl	$1, %r15d
	cmpl	$8, %eax
	jl	LBB0_28
## %bb.14:
	leaq	-44(%rbp), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=1
	shll	$3, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_bits_skip
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=1
	incl	%r13d
	movq	%rbx, %rdi
	callq	_bits_bytes_left
	cmpl	$7, %eax
	jle	LBB0_27
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_bits_get
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_bits_bytes_left
	cmpl	%r15d, %eax
	jl	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%edx, %edx
	leal	-129(%r12), %eax
	cmpl	$6, %eax
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	ja	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$71, %ecx
	btl	%eax, %ecx
	jae	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$185, %r14d
	movl	%r14d, %edx
	movl	%r14d, %eax
	movl	$189, %ecx
	cmovll	%ecx, %eax
	movl	$0, %ecx
	cmovgel	%ecx, %edx
	movl	%eax, %r14d
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	movl	$-1, %r8d
	callq	_update_ps_streams
	testl	%eax, %eax
	js	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%eax, %r14d
	movq	(%r13), %rax
	movl	%r14d, %ecx
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, (%rax,%rcx,4)
	testl	%r15d, %r15d
	leaq	-44(%rbp), %rbx
	jle	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	-60(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_bits_clone
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_decode_element_descriptors
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=1
	testl	%r15d, %r15d
	leaq	-44(%rbp), %rbx
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	-60(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_bits_clone
	jmp	LBB0_25
LBB0_27:
	movl	$1, %r15d
	jmp	LBB0_28
LBB0_16:
	xorl	%r15d, %r15d
LBB0_28:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_ps_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_ps_map
_decode_ps_map:                         ; @decode_ps_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	add	x0, sp, #12
	mov	w3, #0
	bl	_bits_init
	add	x0, sp, #12
	bl	_bits_bytes_left
	mov	x8, x0
	mov	w0, #0
	cmp	w8, #10
	b.lt	LBB0_7
; %bb.1:
	add	x0, sp, #12
	mov	w1, #64
	bl	_bits_skip
	add	x0, sp, #12
	mov	w1, #16
	bl	_bits_get
	mov	x20, x0
	add	x0, sp, #12
	bl	_bits_bytes_left
	cmp	w0, w20
	b.lt	LBB0_6
; %bb.2:
	cbz	w20, LBB0_5
; %bb.3:
	add	x0, sp, #8
	add	x1, sp, #12
	mov	x2, x20
	bl	_bits_clone
	add	x0, sp, #8
	bl	_bits_bytes_left
	cmp	w0, #2
	b.ge	LBB0_10
LBB0_4:
	lsl	w1, w20, #3
	add	x0, sp, #12
	bl	_bits_skip
LBB0_5:
	add	x0, sp, #12
	mov	w1, #16
	bl	_bits_get
	mov	x20, x0
	add	x0, sp, #12
	bl	_bits_bytes_left
	cmp	w0, w20
	b.ge	LBB0_14
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	add	sp, sp, #96
	ret
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	lsl	w1, w21, #3
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #8
	bl	_bits_skip
	add	x0, sp, #8
	bl	_bits_bytes_left
	cmp	w0, #1
	b.le	LBB0_4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #8
	bl	_bits_get
	mov	x22, x0
	add	x0, sp, #8
	mov	w1, #8
	bl	_bits_get
	mov	x21, x0
	add	x0, sp, #8
	bl	_bits_bytes_left
	cmp	w0, w21
	b.lt	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w22, #5
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w21, #4
	b.lt	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #8
	mov	w1, #32
	bl	_bits_get
	str	x0, [x19, #8]
	lsl	w8, w21, #3
	sub	w1, w8, #32
	b	LBB0_9
LBB0_14:
	add	x0, sp, #12
	bl	_bits_bytes_left
	mov	x8, x0
	mov	w23, #1
	mov	w0, #1
	cmp	w8, #8
	b.lt	LBB0_7
; %bb.15:
	mov	w24, #0
	mov	w25, #71
	mov	w26, #189
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	lsl	w1, w20, #3
	add	x0, sp, #12
	bl	_bits_skip
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w24, w24, #1
	add	x0, sp, #12
	bl	_bits_bytes_left
	mov	x8, x0
	mov	w0, #1
	cmp	w8, #7
	b.le	LBB0_7
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	mov	x21, x0
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	mov	x22, x0
	add	x0, sp, #12
	mov	w1, #16
	bl	_bits_get
	mov	x20, x0
	add	x0, sp, #12
	bl	_bits_bytes_left
	cmp	w0, w20
	b.lt	LBB0_6
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	w8, w21, #129
	lsl	w9, w23, w8
	cmp	w22, #185
	csel	w10, w26, w22, lt
	csel	w11, w22, wzr, lt
	tst	w9, w25
	csel	w9, w10, w22, ne
	csel	w10, w11, wzr, ne
	cmp	w8, #6
	csel	w1, w22, w9, hi
	csel	w2, wzr, w10, hi
	mov	x0, x19
	mov	x3, x21
	mov	w4, #-1
	bl	_update_ps_streams
	tbnz	w0, #31, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x21, x0
	ldr	x8, [x19]
	str	w24, [x8, w0, uxtw #2]
	cmp	w20, #0
	b.le	LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x0, sp, #4
	add	x1, sp, #12
	mov	x2, x20
	bl	_bits_clone
	add	x2, sp, #4
	mov	x0, x19
	mov	x1, x21
	bl	_decode_element_descriptors
	b	LBB0_16
LBB0_22:                                ;   in Loop: Header=BB0_18 Depth=1
	cmp	w20, #1
	b.lt	LBB0_17
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x0, sp, #4
	add	x1, sp, #12
	mov	x2, x20
	bl	_bits_clone
	b	LBB0_16
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_ps_map
.subsections_via_symbols
