	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttm_get_pool
_ttm_get_pool:                          ## @ttm_get_pool
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_tt_cached@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_tt_wc@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edx, (%rcx)
	setne	%al
	movq	_TTM_PAGE_FLAG_DMA32@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_5
## %bb.3:
	testl	%esi, %esi
	je	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	leal	4(%rax), %ecx
	testl	%esi, %esi
	cmovel	%eax, %ecx
	movl	%ecx, %eax
	jmp	LBB0_7
LBB0_6:
	orl	$2, %eax
LBB0_7:
	movq	__manager@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	shlq	$2, %rax
	addq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tt_cached,4,2                  ## @tt_cached
	.comm	_tt_wc,4,2                      ## @tt_wc
	.comm	_TTM_PAGE_FLAG_DMA32,4,2        ## @TTM_PAGE_FLAG_DMA32
	.comm	__manager,8,3                   ## @_manager
	.no_dead_strip	_ttm_get_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttm_get_pool
_ttm_get_pool:                          ; @ttm_get_pool
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _tt_cached@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tt_cached@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _tt_wc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tt_wc@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w8, ne
Lloh6:
	adrp	x9, _TTM_PAGE_FLAG_DMA32@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TTM_PAGE_FLAG_DMA32@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_5
; %bb.3:
	cbz	w1, LBB0_6
; %bb.4:
	mov	x0, #0
	ret
LBB0_5:
	orr	w9, w8, #0x4
	cmp	w1, #0
	csel	w8, w8, w9, eq
	b	LBB0_7
LBB0_6:
	orr	w8, w8, #0x2
LBB0_7:
Lloh9:
	adrp	x9, __manager@GOTPAGE
Lloh10:
	ldr	x9, [x9, __manager@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x9, [x9]
	add	x0, x9, w8, uxtw #2
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_tt_cached,4,2                  ; @tt_cached
	.comm	_tt_wc,4,2                      ; @tt_wc
	.comm	_TTM_PAGE_FLAG_DMA32,4,2        ; @TTM_PAGE_FLAG_DMA32
	.comm	__manager,8,3                   ; @_manager
	.no_dead_strip	_ttm_get_pool
.subsections_via_symbols
