	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xan_find_marked
_xan_find_marked:                       ## @xan_find_marked
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rsi
	movq	(%r14), %rdx
	movq	_xas@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_XA_STATE
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_ULONG_MAX@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_xas_find_marked
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_xa_is_zero
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_xas_retry
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	(%r15), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_xa_is_zero
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmoveq	%rbx, %rcx
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movl	%r12d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XA_ERROR                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xas,8,3                        ## @xas
	.comm	_ULONG_MAX,4,2                  ## @ULONG_MAX
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_xan_find_marked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xan_find_marked
_xan_find_marked:                       ; @xan_find_marked
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x1, x0
	ldr	x2, [x19]
Lloh0:
	adrp	x20, _xas@GOTPAGE
Lloh1:
	ldr	x20, [x20, _xas@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_XA_STATE
	bl	_rcu_read_lock
Lloh2:
	adrp	x23, _ULONG_MAX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ULONG_MAX@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x21
	bl	_xas_find_marked
	mov	x22, x0
	bl	_xa_is_zero
	cbnz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_xas_retry
	cbnz	x0, LBB0_1
LBB0_3:
	bl	_rcu_read_unlock
	cbz	x22, LBB0_5
; %bb.4:
	ldr	x8, [x20]
	str	x8, [x19]
	mov	x0, x22
	bl	_xa_is_zero
	cmp	x0, #0
	csel	x0, x22, xzr, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh4:
	adrp	x8, _ENOENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_XA_ERROR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_xas,8,3                        ; @xas
	.comm	_ULONG_MAX,4,2                  ; @ULONG_MAX
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_xan_find_marked
.subsections_via_symbols
