	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetCode_
_GetCode_:                              ## @GetCode_
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	$0, (%r15)
	movl	$2, 8(%r15)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_2:
	movl	%edx, %r14d
	movl	(%r15), %esi
	leal	(%rsi,%r14), %r9d
	cmpl	4(%r15), %r9d
	jl	LBB0_7
## %bb.3:
	movl	$-1, %eax
	cmpq	$0, 24(%r15)
	jne	LBB0_18
## %bb.4:
	movq	16(%r15), %rsi
	movslq	8(%r15), %rax
	movl	-8(%rsi,%rax,4), %eax
	movl	%eax, (%rsi)
	movslq	8(%r15), %rax
	movl	-4(%rsi,%rax,4), %eax
	movl	%eax, 4(%rsi)
	addq	$8, %rsi
	movq	%r8, %rdx
	callq	_GetDataBlock
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jg	LBB0_6
## %bb.5:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%r15)
LBB0_6:
	leal	2(%rax), %ecx
	movl	%ecx, 8(%r15)
	movl	(%r15), %ecx
	subl	4(%r15), %ecx
	leal	16(%rcx), %esi
	movl	%esi, (%r15)
	leal	16(,%rax,8), %eax
	movl	%eax, 4(%r15)
	leal	(%rcx,%r14), %r9d
	addl	$16, %r9d
LBB0_7:
	movq	_CSD_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	shll	$3, %ecx
	movl	$-1, %eax
	cmpl	%ecx, %r9d
	jg	LBB0_17
## %bb.8:
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.10:
	movq	16(%r15), %r10
	cmpl	$1, %r14d
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	LBB0_15
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_12:
	movl	%r14d, %r8d
	andl	$-2, %r8d
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, %ecx
	addl	%edx, %ecx
	leal	7(%rsi,%rdx), %ebx
	cmovnsl	%ecx, %ebx
	sarl	$3, %ebx
	movslq	%ebx, %rbx
	movl	(%r10,%rbx,4), %edi
	andb	$7, %cl
	movzbl	%cl, %ecx
	xorl	%ebx, %ebx
	btl	%ecx, %edi
	setb	%bl
	movl	%edx, %ecx
	shll	%cl, %ebx
	orl	%eax, %ebx
	leal	(%rsi,%rdx), %eax
	incl	%eax
	leal	(%rsi,%rdx), %ecx
	addl	$8, %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	movl	(%r10,%rcx,4), %ecx
	andb	$7, %al
	movzbl	%al, %edi
	xorl	%eax, %eax
	btl	%edi, %ecx
	setb	%al
	leal	1(%rdx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	orl	%ebx, %eax
	addl	$2, %edx
	cmpl	%r8d, %edx
	jne	LBB0_13
## %bb.14:
	addl	%edx, %esi
LBB0_15:
	testb	$1, %r14b
	je	LBB0_17
## %bb.16:
	leal	7(%rsi), %ecx
	testl	%esi, %esi
	cmovnsl	%esi, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	movl	(%r10,%rcx,4), %ecx
	andb	$7, %sil
	movzbl	%sil, %esi
	xorl	%edi, %edi
	btl	%esi, %ecx
	setb	%dil
	movl	%edx, %ecx
	shll	%cl, %edi
	orl	%edi, %eax
LBB0_17:
	movl	%r9d, (%r15)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_CSD_BUF_SIZE,4,2               ## @CSD_BUF_SIZE
	.no_dead_strip	_GetCode_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetCode_
_GetCode_:                              ; @GetCode_
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cbz	w3, LBB0_2
; %bb.1:
	mov	w0, #0
	str	xzr, [x19]
	mov	w8, #2
	str	w8, [x19, #8]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	b	LBB0_19
LBB0_2:
	mov	x20, x2
	ldp	w12, w9, [x19]
	add	w8, w12, w2
	cmp	w8, w9
	b.lt	LBB0_8
; %bb.3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w0, #-1
	b	LBB0_19
LBB0_5:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	add	x9, x8, x9, lsl #2
	ldur	w9, [x9, #-8]
	str	w9, [x8]
	ldrsw	x9, [x19, #8]
	add	x9, x8, x9, lsl #2
	ldur	w9, [x9, #-4]
	str	w9, [x8, #4]
	add	x1, x8, #8
	mov	x2, x4
	bl	_GetDataBlock
	cmp	w0, #0
	b.gt	LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #24]
LBB0_7:
	add	w8, w0, #2
	str	w8, [x19, #8]
	ldp	w9, w10, [x19]
	sub	w9, w9, w10
	add	w12, w9, #16
	lsl	w8, w8, #3
	stp	w12, w8, [x19]
	add	w8, w12, w20
LBB0_8:
Lloh6:
	adrp	x9, _CSD_BUF_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CSD_BUF_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9, lsl #3
	b.le	LBB0_10
; %bb.9:
	mov	w0, #-1
	b	LBB0_18
LBB0_10:
	cmp	w20, #1
	b.lt	LBB0_13
; %bb.11:
	ldr	x9, [x19, #16]
	cmp	w20, #4
	b.hs	LBB0_14
; %bb.12:
	mov	w0, #0
	mov	w10, #0
	mov	x11, x12
	b	LBB0_17
LBB0_13:
	mov	w0, #0
	b	LBB0_18
LBB0_14:
	mov	w17, #0
	mov	w15, #0
	mov	w16, #0
	mov	w14, #0
	mov	w13, #0
	and	w10, w20, #0xfffffffc
	add	w11, w12, w10
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	w0, w12, w17
	add	w1, w0, #1
	add	w2, w0, #2
	add	w3, w0, #3
	add	w4, w0, #7
	cmp	w0, #0
	csel	w4, w4, w0, lt
	asr	w4, w4, #3
	add	w5, w0, #8
	cmp	w1, #0
	csinc	w5, w5, w0, lt
	asr	w5, w5, #3
	add	w6, w0, #9
	cmp	w2, #0
	csel	w6, w6, w2, lt
	asr	w6, w6, #3
	add	w7, w0, #10
	cmp	w3, #0
	csel	w7, w7, w3, lt
	ldr	w4, [x9, w4, sxtw #2]
	ldr	w5, [x9, w5, sxtw #2]
	asr	w7, w7, #3
	ldr	w6, [x9, w6, sxtw #2]
	ldr	w7, [x9, w7, sxtw #2]
	and	w0, w0, #0x7
	and	w1, w1, #0x7
	and	w2, w2, #0x7
	and	w3, w3, #0x7
	lsr	w0, w4, w0
	lsr	w1, w5, w1
	lsr	w2, w6, w2
	lsr	w3, w7, w3
	and	w0, w0, #0x1
	and	w1, w1, #0x1
	and	w2, w2, #0x1
	and	w3, w3, #0x1
	lsl	w0, w0, w17
	add	w4, w17, #1
	lsl	w1, w1, w4
	add	w4, w17, #2
	lsl	w2, w2, w4
	add	w4, w17, #3
	lsl	w3, w3, w4
	orr	w15, w0, w15
	orr	w16, w1, w16
	orr	w14, w2, w14
	orr	w13, w3, w13
	add	w17, w17, #4
	cmp	w17, w10
	b.ne	LBB0_15
; %bb.16:
	orr	w12, w16, w15
	orr	w12, w14, w12
	orr	w0, w13, w12
	cmp	w10, w20
	b.eq	LBB0_18
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	w12, w11, #7
	cmp	w11, #0
	csel	w12, w12, w11, lt
	asr	w12, w12, #3
	ldr	w12, [x9, w12, sxtw #2]
	and	w13, w11, #0x7
	lsr	w12, w12, w13
	and	w12, w12, #0x1
	lsl	w12, w12, w10
	orr	w0, w12, w0
	add	w11, w11, #1
	add	w10, w10, #1
	cmp	w20, w10
	b.ne	LBB0_17
LBB0_18:
	str	w8, [x19]
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_CSD_BUF_SIZE,4,2               ; @CSD_BUF_SIZE
	.no_dead_strip	_GetCode_
.subsections_via_symbols
