	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ttm_bo_reserve_slowpath_nolru  ## -- Begin function ttm_bo_reserve_slowpath_nolru
	.p2align	4, 0x90
_ttm_bo_reserve_slowpath_nolru:         ## @ttm_bo_reserve_slowpath_nolru
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	leaq	20(%rdi), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, 8(%r13)
	sete	%al
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %edi
	callq	_WARN_ON
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_ttm_bo_wait_unreserved
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_atomic_xchg
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%r13)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_6:
	movq	8(%r13), %rax
	subq	%r14, %rax
	cmpq	$-2147483648, %rax              ## imm = 0x80000000
	jl	LBB0_9
## %bb.7:
	cmpl	$0, (%r13)
	je	LBB0_9
## %bb.8:
	movq	%r14, 8(%r13)
	movl	$1, (%r13)
	jmp	LBB0_10
LBB0_9:
	movq	%r14, 8(%r13)
	movl	$1, (%r13)
	addq	$16, %r13
	movq	%r13, %rdi
	callq	_wake_up_all
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %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	_ttm_bo_reserve_slowpath_nolru  ; -- Begin function ttm_bo_reserve_slowpath_nolru
	.p2align	2
_ttm_bo_reserve_slowpath_nolru:         ; @ttm_bo_reserve_slowpath_nolru
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x22, x0, #20
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	cmp	x8, x20
	cset	w0, eq
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_WARN_ON
	mov	x0, x19
	mov	x1, x21
	bl	_ttm_bo_wait_unreserved
	mov	x23, x0
	bl	_unlikely
	cbnz	x0, LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #1
	bl	_atomic_xchg
	cmp	x0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #0
	b	LBB0_2
LBB0_6:
	ldr	x8, [x19, #8]
	mov	x9, #-2147483648
	sub	x8, x8, x20
	cmp	x8, x9
	b.lt	LBB0_9
; %bb.7:
	ldr	w8, [x19]
	cbz	w8, LBB0_9
; %bb.8:
	mov	w23, #0
	str	x20, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_10
LBB0_9:
	str	x20, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
	add	x0, x19, #16
	bl	_wake_up_all
	mov	w23, #0
LBB0_10:
	mov	x0, x23
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
