	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_resv_test_signaled_rcu     ## -- Begin function dma_resv_test_signaled_rcu
	.p2align	4, 0x90
_dma_resv_test_signaled_rcu:            ## @dma_resv_test_signaled_rcu
	.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	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_rcu_read_lock
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_read_seqcount_retry
	testq	%rax, %rax
	je	LBB0_11
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%r12, %rdi
	callq	_read_seqcount_begin
	movl	%eax, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %edi
	callq	_rcu_dereference
	movq	%rax, %r13
	movl	$1, %r15d
	movb	$1, %al
	testq	%r13, %r13
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %r14d
	testq	%r14, %r14
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_rcu_dereference
	movq	%rax, %rdi
	callq	_dma_resv_test_signaled_single
	movl	%eax, %r15d
	xorl	%eax, %eax
	testl	%r15d, %r15d
	sete	%al
	leal	(%rax,%rax,2), %eax
	movl	$2, %ecx
	cmovsl	%ecx, %eax
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_6
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	%r14b, %r14b
	je	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r12), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rdi
	callq	_dma_resv_test_signaled_single
	testl	%eax, %eax
	js	LBB0_1
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_read_seqcount_retry
	testq	%rax, %rax
	jne	LBB0_1
	jmp	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$3, %eax
	jne	LBB0_1
	jmp	LBB0_9
LBB0_15:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_resv_test_signaled_rcu     ; -- Begin function dma_resv_test_signaled_rcu
	.p2align	2
_dma_resv_test_signaled_rcu:            ; @dma_resv_test_signaled_rcu
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	bl	_rcu_read_lock
	mov	w24, #3
	mov	w25, #2
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x0, x20
	bl	_read_seqcount_begin
	mov	x21, x0
	cbz	w19, LBB0_11
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x20, #8]
	bl	_rcu_dereference
	cbz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x26, #0
	lsl	x27, x8, #2
LBB0_5:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23, #8]
	ldr	w0, [x8, x26]
	bl	_rcu_dereference
	bl	_dma_resv_test_signaled_single
	mov	x22, x0
	cmp	w0, #0
	csel	w8, w24, wzr, eq
	csel	w8, w25, w8, lt
	cbnz	w8, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x26, x26, #4
	cmp	x27, x26
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w23, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w23, #1
	mov	w22, #1
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_read_seqcount_retry
	cbnz	x0, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w23, LBB0_12
	b	LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w22, #1
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x20, #4]
	bl	_rcu_dereference
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	bl	_dma_resv_test_signaled_single
	tbnz	w0, #31, LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_read_seqcount_retry
	cbnz	x0, LBB0_1
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w23, #0
	cmp	w8, #3
	b.ne	LBB0_1
	b	LBB0_9
LBB0_16:
	bl	_rcu_read_unlock
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
