	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd_region_acquire_lane         ## -- Begin function nd_region_acquire_lane
	.p2align	4, 0x90
_nd_region_acquire_lane:                ## @nd_region_acquire_lane
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_get_cpu
	movl	%eax, %esi
	movl	(%rbx), %ecx
	movq	_nr_cpu_ids@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jae	LBB0_1
## %bb.2:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r14d
	movl	4(%rbx), %edi
	callq	_per_cpu_ptr
	movq	%rax, %r15
	movl	4(%rbx), %edi
	movl	%r14d, %esi
	callq	_per_cpu_ptr
	movl	4(%r15), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 4(%r15)
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	callq	_spin_lock
	jmp	LBB0_4
LBB0_1:
	movl	%esi, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nr_cpu_ids,4,2                 ## @nr_cpu_ids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd_region_acquire_lane         ; -- Begin function nd_region_acquire_lane
	.p2align	2
_nd_region_acquire_lane:                ; @nd_region_acquire_lane
	.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	x20, x0
	bl	_get_cpu
	mov	x1, x0
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _nr_cpu_ids@GOTPAGE
Lloh1:
	ldr	x9, [x9, _nr_cpu_ids@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_3
; %bb.1:
	udiv	w9, w1, w8
	msub	w19, w9, w8, w1
	ldr	w0, [x20, #4]
	bl	_per_cpu_ptr
	mov	x21, x0
	ldr	w0, [x20, #4]
	mov	x1, x19
	bl	_per_cpu_ptr
	ldr	w8, [x21, #4]
	add	w9, w8, #1
	str	w9, [x21, #4]
	cbnz	w8, LBB0_4
; %bb.2:
	bl	_spin_lock
	b	LBB0_4
LBB0_3:
	mov	x19, x1
LBB0_4:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nr_cpu_ids,4,2                 ; @nr_cpu_ids
.subsections_via_symbols
