	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_gf
_generate_gf:                           ## @generate_gf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MM@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	movq	$0, (%rdi,%rax,8)
	cmpq	$0, (%r8)
	je	LBB0_1
## %bb.2:
	movq	_Pp@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	incq	%rdx
	movq	(%r8), %rcx
	cmpq	%rdx, %rcx
	jbe	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %r10
	movq	%r10, (%rdi,%rdx,8)
	movq	%rdx, (%rsi,%r10,8)
	cmpq	$0, (%r9,%rdx,8)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r8), %rcx
	xorq	%r10, (%rdi,%rcx,8)
	jmp	LBB0_5
LBB0_6:
	sarl	%eax
	movslq	%eax, %r10
	jmp	LBB0_7
LBB0_1:
	xorl	%r10d, %r10d
	xorl	%ecx, %ecx
LBB0_7:
	movq	(%rdi,%rcx,8), %rax
	movq	%rcx, (%rsi,%rax,8)
	movq	(%r8), %rax
	movq	_NN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r9
	leal	1(%rax), %ecx
	cmpl	%r9d, %ecx
	jge	LBB0_13
## %bb.8:
	movslq	%ecx, %rcx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	%rdx, %rdx
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rdx, (%rdi,%rax,8)
	movq	%rax, (%rsi,%rdx,8)
	leaq	1(%rax), %rcx
	cmpl	%ecx, %r9d
	jle	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rdx
	movq	%rcx, %rax
	movq	(%rdi,%rdx,8), %rdx
	cmpq	%r10, %rdx
	jb	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r8), %rcx
	xorq	%r10, %rdx
	addq	%rdx, %rdx
	xorq	(%rdi,%rcx,8), %rdx
	jmp	LBB0_12
LBB0_13:
	movq	_A0@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsi)
	movq	$0, (%rdi,%r9,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NN,4,2                         ## @NN
	.comm	_MM,8,3                         ## @MM
	.comm	_Pp,8,3                         ## @Pp
	.comm	_A0,8,3                         ## @A0
	.no_dead_strip	_generate_gf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_gf
_generate_gf:                           ; @generate_gf
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MM@GOTPAGEOFF]
	ldr	x9, [x8]
	str	xzr, [x0, x9, lsl #3]
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x10, _Pp@GOTPAGE
Lloh3:
	ldr	x10, [x10, _Pp@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	mov	w11, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	w11, w12, #1
	add	x9, x9, #1
	ldr	x12, [x8]
	cmp	x12, x9
	b.ls	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x12, w11
	lsl	x13, x9, #3
	str	x12, [x0, x13]
	str	x9, [x1, w11, sxtw #3]
	ldr	x11, [x10, x13]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x8]
	lsl	x11, x11, #3
	ldr	x13, [x0, x11]
	eor	x13, x13, x12
	str	x13, [x0, x11]
	b	LBB0_2
LBB0_5:
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
	sbfx	x9, x11, #1, #31
	b	LBB0_7
LBB0_6:
	mov	x12, #0
LBB0_7:
	ldr	x10, [x0, x12, lsl #3]
	str	x12, [x1, x10, lsl #3]
	ldr	x11, [x8]
Lloh5:
	adrp	x10, _NN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NN@GOTPAGEOFF]
Lloh7:
	ldrsw	x10, [x10]
	add	w12, w11, #1
	cmp	w12, w10
	b.ge	LBB0_13
; %bb.8:
	sxtw	x12, w12
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	lsl	x12, x12, #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	str	x12, [x0, x11, lsl #3]
	str	x11, [x1, x12, lsl #3]
	add	x12, x11, #1
	cmp	w10, w12
	b.le	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sbfiz	x13, x11, #3, #32
	mov	x11, x12
	ldr	x12, [x0, x13]
	cmp	x12, x9
	b.lo	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x13, [x8]
	ldr	x13, [x0, x13, lsl #3]
	eor	x12, x12, x9
	eor	x12, x13, x12, lsl #1
	b	LBB0_10
LBB0_13:
Lloh8:
	adrp	x8, _A0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _A0@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x1]
	str	xzr, [x0, x10, lsl #3]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NN,4,2                         ; @NN
	.comm	_MM,8,3                         ; @MM
	.comm	_Pp,8,3                         ; @Pp
	.comm	_A0,8,3                         ; @A0
	.no_dead_strip	_generate_gf
.subsections_via_symbols
