	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_gr_oneinit_sm_id         ## -- Begin function gf100_gr_oneinit_sm_id
	.p2align	4, 0x90
_gf100_gr_oneinit_sm_id:                ## @gf100_gr_oneinit_sm_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_13
## %bb.1:
	movl	4(%rdi), %r9d
	movl	%r9d, %r10d
	andl	$-2, %r10d
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%esi
	cmpl	%r8d, %esi
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%r9d, %r9d
	jle	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %r11
	xorl	%eax, %eax
	cmpl	$1, %r9d
	jne	LBB0_4
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r9b
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r11,%rax,4), %esi
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rdi), %rcx
	movq	24(%rdi), %rdx
	movl	%eax, (%rdx,%rcx,8)
	movl	%esi, 4(%rdx,%rcx,8)
	incq	%rcx
	movq	%rcx, 16(%rdi)
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	addq	$2, %rax
	cmpq	%rax, %r10
	je	LBB0_9
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	(%r11,%rax,4), %esi
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	16(%rdi), %rdx
	movq	24(%rdi), %rcx
	movl	%eax, (%rcx,%rdx,8)
	movl	%esi, 4(%rcx,%rdx,8)
	incq	%rdx
	movq	%rdx, 16(%rdi)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	cmpl	4(%r11,%rax,4), %esi
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	16(%rdi), %rcx
	movq	24(%rdi), %rdx
	leal	1(%rax), %ebx
	movl	%ebx, (%rdx,%rcx,8)
	movl	%esi, 4(%rdx,%rcx,8)
	incq	%rcx
	movq	%rcx, 16(%rdi)
	jmp	LBB0_8
LBB0_13:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_gr_oneinit_sm_id         ; -- Begin function gf100_gr_oneinit_sm_id
	.p2align	2
_gf100_gr_oneinit_sm_id:                ; @gf100_gr_oneinit_sm_id
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w9, #0
	ldr	w10, [x0, #4]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	cmp	w9, w8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w10, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x11, #0
	ldr	x12, [x0, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x11, x11, #1
	cmp	x10, x11
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x12, x11, lsl #2]
	cmp	w9, w13
	b.ge	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldp	x14, x13, [x0, #16]
	add	x13, x13, x14, lsl #3
	stp	w11, w9, [x13]
	add	x13, x14, #1
	str	x13, [x0, #16]
	b	LBB0_5
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
