	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_generateid
_mesh_generateid:                       ## @mesh_generateid
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$4, %ebx
	leaq	-40(%rbp), %r15
	movq	_mesh_checkid@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_get_random_bytes
	movq	(%r14), %rdi
	movl	(%r12), %esi
	movq	%r15, %rdx
	callq	_ieee80211_iterate_nodes
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%rbx), %ecx
	cmpl	$1, %ebx
	movl	%ecx, %ebx
	ja	LBB0_1
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mesh_checkid,4,2               ## @mesh_checkid
	.no_dead_strip	_mesh_generateid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_generateid
_mesh_generateid:                       ; @mesh_generateid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #2
	bl	_get_random_bytes
	ldr	x0, [x19]
Lloh0:
	adrp	x20, _mesh_checkid@GOTPAGE
Lloh1:
	ldr	x20, [x20, _mesh_checkid@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	bl	_ieee80211_iterate_nodes
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_4
; %bb.1:
	add	x0, sp, #8
	mov	w1, #2
	bl	_get_random_bytes
	ldr	x0, [x19]
	ldr	w1, [x20]
	add	x2, sp, #8
	bl	_ieee80211_iterate_nodes
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_4
; %bb.2:
	add	x0, sp, #8
	mov	w1, #2
	bl	_get_random_bytes
	ldr	x0, [x19]
	ldr	w1, [x20]
	add	x2, sp, #8
	bl	_ieee80211_iterate_nodes
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_4
; %bb.3:
	add	x0, sp, #8
	mov	w1, #2
	bl	_get_random_bytes
	ldr	x0, [x19]
	ldr	w1, [x20]
	add	x2, sp, #8
	bl	_ieee80211_iterate_nodes
	ldr	x0, [sp, #8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mesh_checkid,4,2               ; @mesh_checkid
	.no_dead_strip	_mesh_generateid
.subsections_via_symbols
