	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function genl_generate_id
_genl_generate_id:                      ## @genl_generate_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	movq	_GENL_MIN_ID@GOTPCREL(%rip), %r15
	movq	_GENL_MAX_ID@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_genl_family_find_byid
	testq	%rax, %rax
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_genl_generate_id.id_gen_idx(%rip), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rax), %rdi
	movq	%rdi, _genl_generate_id.id_gen_idx(%rip)
	cmpq	(%r12), %rax
	jl	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, _genl_generate_id.id_gen_idx(%rip)
	movl	$1, %ebx
	xorl	%edi, %edi
	jmp	LBB0_6
LBB0_7:
	movq	_genl_generate_id.id_gen_idx(%rip), %r14
LBB0_8:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_genl_generate_id.id_gen_idx,8,3 ## @genl_generate_id.id_gen_idx
	.comm	_GENL_MIN_ID,8,3                ## @GENL_MIN_ID
	.comm	_GENL_MAX_ID,8,3                ## @GENL_MAX_ID
	.no_dead_strip	_genl_generate_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function genl_generate_id
_genl_generate_id:                      ; @genl_generate_id
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	w21, #0
	adrp	x19, _genl_generate_id.id_gen_idx@PAGE
Lloh0:
	adrp	x20, _GENL_MIN_ID@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GENL_MIN_ID@GOTPAGEOFF]
Lloh2:
	adrp	x22, _GENL_MAX_ID@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GENL_MAX_ID@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_genl_family_find_byid
	cbz	x0, LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, _genl_generate_id.id_gen_idx@PAGEOFF]
	ldr	x9, [x20]
	cmp	x8, #0
	csel	x8, x9, x8, eq
	add	x0, x8, #1
	str	x0, [x19, _genl_generate_id.id_gen_idx@PAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.lt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, #0
	cbnz	w21, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x19, _genl_generate_id.id_gen_idx@PAGEOFF]
	mov	w21, #1
	b	LBB0_1
LBB0_5:
	ldr	x0, [x19, _genl_generate_id.id_gen_idx@PAGEOFF]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_genl_generate_id.id_gen_idx,8,3 ; @genl_generate_id.id_gen_idx
	.comm	_GENL_MIN_ID,8,3                ; @GENL_MIN_ID
	.comm	_GENL_MAX_ID,8,3                ; @GENL_MAX_ID
	.no_dead_strip	_genl_generate_id
.subsections_via_symbols
