	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlcore_get_new_session_id
_wlcore_get_new_session_id:             ## @wlcore_get_new_session_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	(%rcx,%rsi,8), %rax
	movq	_SESSION_COUNTER_MAX@GOTPCREL(%rip), %rdx
	leaq	1(%rax), %rdi
	cmpq	(%rdx), %rax
	movl	$1, %eax
	cmovlq	%rdi, %rax
	movq	%rax, (%rcx,%rsi,8)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SESSION_COUNTER_MAX,8,3        ## @SESSION_COUNTER_MAX
	.no_dead_strip	_wlcore_get_new_session_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlcore_get_new_session_id
_wlcore_get_new_session_id:             ; @wlcore_get_new_session_id
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	lsl	x9, x1, #3
	ldr	x10, [x8, x9]
Lloh0:
	adrp	x11, _SESSION_COUNTER_MAX@GOTPAGE
Lloh1:
	ldr	x11, [x11, _SESSION_COUNTER_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	mov	w11, #1
	csinc	x0, x11, x10, ge
	str	x0, [x8, x9]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SESSION_COUNTER_MAX,8,3        ; @SESSION_COUNTER_MAX
	.no_dead_strip	_wlcore_get_new_session_id
.subsections_via_symbols
