	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sm_nextId
_eap_sm_nextId:                         ## @eap_sm_nextId
	.cfi_startproc
## %bb.0:
	movl	%esi, %eax
	testl	%esi, %esi
	jns	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_rand
	movzbl	%al, %eax
	cmpl	(%rbx), %eax
	leaq	8(%rsp), %rsp
	popq	%rbx
	popq	%rbp
	jne	LBB0_3
LBB0_2:
	incl	%eax
	movzbl	%al, %eax
LBB0_3:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_eap_sm_nextId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sm_nextId
_eap_sm_nextId:                         ; @eap_sm_nextId
	.cfi_startproc
; %bb.0:
	tbz	w1, #31, LBB0_2
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_rand
	and	w1, w0, #0xff
	ldr	w8, [x19]
	cmp	w1, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b.ne	LBB0_3
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	add	w8, w1, #1
	and	w1, w8, #0xff
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	x0, x1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_eap_sm_nextId
.subsections_via_symbols
