	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InvertErrorTable
_InvertErrorTable:                      ## @InvertErrorTable
	.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
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_GRID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(,%r13,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leal	(,%r13,8), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_Com_Memcpy
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.1:
	leaq	(%rbx,%r13,4), %rdi
	movl	%r12d, %edx
	shlq	$2, %rdx
	movq	%r15, %rsi
	callq	_memcpy
LBB0_2:
	testl	%r14d, %r14d
	jle	LBB0_19
## %bb.3:
	leaq	(%r15,%r13,4), %rax
	movl	%r14d, %r10d
	cmpl	$8, %r14d
	jae	LBB0_5
## %bb.4:
	xorl	%r9d, %r9d
LBB0_14:
	movq	%r9, %rdx
	notq	%rdx
	testb	$1, %r10b
	je	LBB0_16
## %bb.15:
	movl	%r9d, %ecx
	notl	%ecx
	addl	%r14d, %ecx
	movslq	%ecx, %rcx
	movss	(%rax,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%r9,4)
	orq	$1, %r9
LBB0_16:
	addq	%r10, %rdx
	je	LBB0_19
## %bb.17:
	subq	%r9, %r10
	movl	%r9d, %edx
	notl	%edx
	addl	%r14d, %edx
	leaq	(%rbx,%r9,4), %rsi
	addq	$4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rdx
	movss	(%rax,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rsi,%rdi,4)
	leal	-1(%rdx), %ecx
	movslq	%ecx, %rcx
	movss	(%rax,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rdi,4)
	addq	$2, %rdi
	addl	$-2, %edx
	cmpq	%rdi, %r10
	jne	LBB0_18
	jmp	LBB0_19
LBB0_5:
	leaq	-1(%r10), %rdx
	leal	-1(%r14), %esi
	movl	%esi, %edi
	subl	%edx, %edi
	xorl	%r9d, %r9d
	cmpl	%esi, %edi
	jg	LBB0_14
## %bb.6:
	shrq	$32, %rdx
	jne	LBB0_14
## %bb.7:
	movl	%r10d, %r9d
	andl	$-8, %r9d
	leaq	-8(%r9), %rdx
	movq	%rdx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.9:
	movq	%r8, %rdi
	andq	$-2, %rdi
	leal	-9(%r14), %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leal	8(%rdx), %ecx
	movslq	%ecx, %rcx
	movups	-28(%rax,%rcx,4), %xmm0
	movups	-12(%rax,%rcx,4), %xmm1
	shufps	$27, %xmm1, %xmm1               ## xmm1 = xmm1[3,2,1,0]
	shufps	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movups	%xmm1, (%rbx,%rsi,4)
	movups	%xmm0, 16(%rbx,%rsi,4)
	movslq	%edx, %rdx
	movups	-28(%rax,%rdx,4), %xmm0
	movups	-12(%rax,%rdx,4), %xmm1
	shufps	$27, %xmm1, %xmm1               ## xmm1 = xmm1[3,2,1,0]
	shufps	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movups	%xmm1, 32(%rbx,%rsi,4)
	movups	%xmm0, 48(%rbx,%rsi,4)
	addq	$16, %rsi
	addl	$-16, %edx
	addq	$-2, %rdi
	jne	LBB0_10
## %bb.11:
	testb	$1, %r8b
	je	LBB0_13
LBB0_12:
	movl	%esi, %ecx
	notl	%ecx
	addl	%r14d, %ecx
	movslq	%ecx, %rcx
	movups	-28(%rax,%rcx,4), %xmm0
	movups	-12(%rax,%rcx,4), %xmm1
	shufps	$27, %xmm1, %xmm1               ## xmm1 = xmm1[3,2,1,0]
	shufps	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movups	%xmm1, (%rbx,%rsi,4)
	movups	%xmm0, 16(%rbx,%rsi,4)
LBB0_13:
	cmpq	%r10, %r9
	jne	LBB0_14
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_12
	jmp	LBB0_13
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_GRID_SIZE,4,2              ## @MAX_GRID_SIZE
	.no_dead_strip	_InvertErrorTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InvertErrorTable
_InvertErrorTable:                      ; @InvertErrorTable
	.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
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_GRID_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_GRID_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	lsl	x8, x23, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	lsl	w2, w23, #3
	mov	x0, x22
	mov	x1, x19
	bl	_Com_Memcpy
	cmp	w21, #1
	b.lt	LBB0_2
; %bb.1:
	add	x0, x19, x23, lsl #2
	mov	w8, w21
	lsl	x2, x8, #2
	mov	x1, x22
	bl	_memcpy
LBB0_2:
	subs	w12, w20, #1
	b.lt	LBB0_7
; %bb.3:
	add	x8, x22, x23, lsl #2
	mov	w9, w20
	cmp	w20, #16
	b.hs	LBB0_9
; %bb.4:
	mov	x10, #0
LBB0_5:
	mvn	w11, w10
	add	w11, w11, w20
	add	x12, x19, x10, lsl #2
	sub	x9, x9, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x8, w11, sxtw #2]
	str	s0, [x12], #4
	sub	w11, w11, #1
	subs	x9, x9, #1
	b.ne	LBB0_6
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.8:
	sub	sp, x29, #48
	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
LBB0_9:
	mov	x10, #0
	sub	x11, x9, #1
	sub	w13, w12, w11
	cmp	w13, w12
	b.gt	LBB0_5
; %bb.10:
	lsr	x12, x11, #32
	cbnz	x12, LBB0_5
; %bb.11:
	and	x10, x9, #0xfffffff0
	add	x12, x19, #32
	mov	x13, x10
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x8, w11, sxtw #2
	ldur	q0, [x14, #-12]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x14, #-28]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	ldur	q2, [x14, #-44]
	rev64.4s	v2, v2
	ext.16b	v2, v2, v2, #8
	ldur	q3, [x14, #-60]
	rev64.4s	v3, v3
	ext.16b	v3, v3, v3, #8
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	sub	w11, w11, #16
	sub	x13, x13, #16
	cbnz	x13, LBB0_12
; %bb.13:
	cmp	x10, x9
	b.ne	LBB0_5
	b	LBB0_7
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_GRID_SIZE,4,2              ; @MAX_GRID_SIZE
	.no_dead_strip	_InvertErrorTable
.subsections_via_symbols
