	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfi_staa_suspend
_cfi_staa_suspend:                      ## @cfi_staa_suspend
	.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
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	$-8, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%r14,%rbx), %edi
	callq	_spin_unlock_bh
	incq	%r12
	addq	$16, %rbx
	testl	%r13d, %r13d
	jne	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jge	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %r14
	movl	16(%r14,%rbx), %edi
	callq	_spin_lock_bh
	movl	8(%r14,%rbx), %eax
	leal	-128(%rax), %ecx
	xorl	%r13d, %r13d
	cmpl	$4, %ecx
	ja	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$2, %ecx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, 12(%r14,%rbx)
	movl	$130, 8(%r14,%rbx)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r14,%rbx), %edi
	callq	_spin_unlock_bh
	addq	$-16, %rbx
	decq	%r12
	jle	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r14
	movl	(%r14,%rbx), %edi
	callq	_spin_lock_bh
	cmpl	$130, -8(%r14,%rbx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	-4(%r14,%rbx), %eax
	movl	%eax, -8(%r14,%rbx)
	leaq	(%r14,%rbx), %rdi
	addq	$4, %rdi
	callq	_wake_up
	jmp	LBB0_10
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_11:
	movl	%r13d, %eax
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_cfi_staa_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfi_staa_suspend
_cfi_staa_suspend:                      ; @cfi_staa_suspend
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, #0
	mov	x21, #0
	ldr	x8, [x0]
	ldr	x22, [x8]
Lloh0:
	adrp	x23, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EAGAIN@GOTPAGEOFF]
	mov	w24, #130
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #0
	add	x9, x26, x20
	stp	w24, w8, [x9]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25, #8]
	bl	_spin_unlock_bh
	add	x21, x21, #1
	add	x20, x20, #16
	cbnz	w19, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.ge	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x26, [x22, #8]
	add	x25, x26, x20
	ldr	w0, [x25, #8]
	bl	_spin_lock_bh
	ldr	w8, [x25]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, #2
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #0
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	neg	w19, w8
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldur	w0, [x23, #-8]
	bl	_spin_unlock_bh
	sub	x21, x21, #1
	sub	x20, x20, #16
	cmp	x21, #0
	b.le	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x23, x8, x20
	ldur	w0, [x23, #-8]
	bl	_spin_lock_bh
	ldur	w8, [x23, #-16]
	cmp	w8, #130
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldur	w8, [x23, #-12]
	stur	w8, [x23, #-16]
	sub	x0, x23, #4
	bl	_wake_up
	b	LBB0_8
LBB0_11:
	mov	w19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_cfi_staa_suspend
.subsections_via_symbols
