	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttm_dma_pool_init
_ttm_dma_pool_init:                     ## @ttm_dma_pool_init
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movq	_IS_WC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_IS_UC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_IS_CACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_IS_DMA32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_IS_UNDEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ttm_dma_pool_release@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	$8, %esi
	callq	_devres_alloc
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	(%r12), %ebx
	movq	%r14, %rdi
	callq	_dev_to_node
	movl	$96, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_kmalloc_node
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_18
## %bb.3:
	movl	(%r12), %r12d
	movq	%r14, %rdi
	callq	_dev_to_node
	movl	$96, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_kmalloc_node
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	%rax, %r15
	addq	$16, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, 64(%r15)
	movq	%rbx, 88(%r15)
	leaq	80(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	76(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	16(%rbx), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	addq	$72, %rdi
	callq	_spin_lock_init
	movq	%r14, 64(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
	movl	%r13d, 36(%rbx)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, (%rbx)
	movq	$0, 24(%rbx)
	movq	8(%rbx), %r13
	testl	%r15d, -48(%rbp)                ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	movl	$8, %esi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %r13
LBB0_6:
	testl	%r15d, -52(%rbp)                ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movl	8(%rbx), %esi
	subl	%r13d, %esi
	addl	$8, %esi
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %r13
LBB0_8:
	testl	%r15d, -56(%rbp)                ## 4-byte Folded Reload
	je	LBB0_10
## %bb.9:
	movl	8(%rbx), %esi
	subl	%r13d, %esi
	addl	$8, %esi
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %r13
LBB0_10:
	testl	%r15d, -60(%rbp)                ## 4-byte Folded Reload
	je	LBB0_12
## %bb.11:
	movl	8(%rbx), %esi
	subl	%r13d, %esi
	addl	$8, %esi
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %r13
LBB0_12:
	testl	%r15d, -44(%rbp)                ## 4-byte Folded Reload
	je	LBB0_14
## %bb.13:
	movl	8(%rbx), %esi
	subl	%r13d, %esi
	addl	$8, %esi
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %r13
LBB0_14:
	movb	$0, (%r13)
	movslq	20(%rbx), %r15
	movq	%r14, %rdi
	callq	_dev_driver_string
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	$4, %esi
	movq	%r12, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_snprintf
	movq	__manager@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_mutex_lock
	movq	(%r15), %rsi
	addq	$8, %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_add
	movq	(%r15), %rax
	incl	4(%rax)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_list_add
	movq	(%r15), %rdi
	callq	_mutex_unlock
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, (%rsi)
	movq	%r14, %rdi
	callq	_devres_add
	jmp	LBB0_17
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_devres_free
	xorl	%edi, %edi
	callq	_kfree
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r15d, %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wc"

L_.str.1:                               ## @.str.1
	.asciz	"uc"

L_.str.2:                               ## @.str.2
	.asciz	"cached"

L_.str.3:                               ## @.str.3
	.asciz	" dma32"

L_.str.4:                               ## @.str.4
	.asciz	"unknown"

	.comm	_IS_WC,4,2                      ## @IS_WC
	.comm	_IS_UC,4,2                      ## @IS_UC
	.comm	_IS_CACHED,4,2                  ## @IS_CACHED
	.comm	_IS_DMA32,4,2                   ## @IS_DMA32
	.comm	_IS_UNDEFINED,4,2               ## @IS_UNDEFINED
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ttm_dma_pool_release,4,2       ## @ttm_dma_pool_release
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
L_.str.5:                               ## @.str.5
	.asciz	"%s"

L_.str.6:                               ## @.str.6
	.asciz	"%s %s"

	.comm	__manager,8,3                   ## @_manager
	.no_dead_strip	_ttm_dma_pool_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttm_dma_pool_init
_ttm_dma_pool_init:                     ; @ttm_dma_pool_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cbz	x0, LBB0_15
; %bb.1:
	mov	x22, x2
	mov	x25, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IS_WC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_WC@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x8, _IS_UC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IS_UC@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
Lloh6:
	adrp	x8, _IS_CACHED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IS_CACHED@GOTPAGEOFF]
Lloh8:
	ldr	w28, [x8]
Lloh9:
	adrp	x8, _IS_DMA32@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IS_DMA32@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
Lloh12:
	adrp	x8, _IS_UNDEFINED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IS_UNDEFINED@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
Lloh15:
	adrp	x8, _ttm_dma_pool_release@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ttm_dma_pool_release@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh19:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #8
	bl	_devres_alloc
	cbz	x0, LBB0_15
; %bb.2:
	mov	x21, x0
	stp	w28, w24, [sp, #20]             ; 8-byte Folded Spill
	str	w20, [sp, #28]                  ; 4-byte Folded Spill
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w28, [x8]
	ldr	w20, [x23]
	mov	x0, x19
	bl	_dev_to_node
	mov	x2, x0
	mov	w0, #96
	mov	x1, x20
	bl	_kmalloc_node
	mov	x20, x0
	cbz	x0, LBB0_17
; %bb.3:
	ldr	w23, [x23]
	mov	x0, x19
	bl	_dev_to_node
	mov	x2, x0
	mov	w0, #96
	mov	x1, x23
	bl	_kmalloc_node
	cbz	x0, LBB0_17
; %bb.4:
	mov	x24, x0
	add	x23, x0, #16
	mov	x0, x23
	bl	_INIT_LIST_HEAD
	str	x19, [x24, #64]
	str	x20, [x24, #88]
	add	x0, x20, #80
	bl	_INIT_LIST_HEAD
	add	x0, x20, #76
	bl	_INIT_LIST_HEAD
	add	x24, x20, #16
	mov	x0, x24
	bl	_INIT_LIST_HEAD
	add	x0, x20, #72
	bl	_spin_lock_init
	stp	xzr, x19, [x20, #56]
	stp	xzr, xzr, [x20, #40]
Lloh23:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	stp	w8, w25, [x20, #32]
	str	w22, [x20]
	str	xzr, [x20, #24]
	ldr	x25, [x20, #8]
	tst	w27, w22
	b.eq	LBB0_6
; %bb.5:
Lloh26:
	adrp	x2, l_.str.5@PAGE
Lloh27:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh28:
	adrp	x3, l_.str@PAGE
Lloh29:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x25
	mov	w1, #8
	bl	_snprintf
	add	x25, x25, w0, sxtw
LBB0_6:
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
	tst	w26, w22
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x20, #8]
	sub	w8, w8, w25
	add	w1, w8, #8
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh32:
	adrp	x3, l_.str.1@PAGE
Lloh33:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x25
	bl	_snprintf
	add	x25, x25, w0, sxtw
LBB0_8:
	tst	w27, w22
	b.eq	LBB0_10
; %bb.9:
	ldr	w8, [x20, #8]
	sub	w8, w8, w25
	add	w1, w8, #8
Lloh34:
	adrp	x2, l_.str.5@PAGE
Lloh35:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh36:
	adrp	x3, l_.str.2@PAGE
Lloh37:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x25
	bl	_snprintf
	add	x25, x25, w0, sxtw
LBB0_10:
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	tst	w8, w22
	b.eq	LBB0_12
; %bb.11:
	ldr	w8, [x20, #8]
	sub	w8, w8, w25
	add	w1, w8, #8
Lloh38:
	adrp	x2, l_.str.5@PAGE
Lloh39:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh40:
	adrp	x3, l_.str.3@PAGE
Lloh41:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x25
	bl	_snprintf
	add	x25, x25, w0, sxtw
LBB0_12:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	tst	w8, w22
	b.eq	LBB0_14
; %bb.13:
	ldr	w8, [x20, #8]
	sub	w8, w8, w25
	add	w1, w8, #8
Lloh42:
	adrp	x2, l_.str.5@PAGE
Lloh43:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh44:
	adrp	x3, l_.str.4@PAGE
Lloh45:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x25
	bl	_snprintf
	add	x25, x25, w0, sxtw
LBB0_14:
	strb	wzr, [x25]
	ldrsw	x22, [x20, #20]
	mov	x0, x19
	bl	_dev_driver_string
	mov	x25, x0
	mov	x0, x19
	bl	_dev_name
	str	x0, [sp]
Lloh46:
	adrp	x2, l_.str.6@PAGE
Lloh47:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x22
	mov	w1, #4
	mov	x3, x25
	bl	_snprintf
Lloh48:
	adrp	x22, __manager@GOTPAGE
Lloh49:
	ldr	x22, [x22, __manager@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_mutex_lock
	ldr	x8, [x22]
	add	x1, x8, #8
	mov	x0, x23
	bl	_list_add
	ldr	x8, [x22]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	mov	x0, x24
	mov	x1, x19
	bl	_list_add
	ldr	x0, [x22]
	bl	_mutex_unlock
	str	x20, [x21]
	mov	x0, x19
	mov	x1, x21
	bl	_devres_add
	b	LBB0_16
LBB0_15:
	mov	x20, #0
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
	neg	w19, w28
	mov	x0, x21
	bl	_devres_free
	mov	x0, #0
	bl	_kfree
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wc"

l_.str.1:                               ; @.str.1
	.asciz	"uc"

l_.str.2:                               ; @.str.2
	.asciz	"cached"

l_.str.3:                               ; @.str.3
	.asciz	" dma32"

l_.str.4:                               ; @.str.4
	.asciz	"unknown"

	.comm	_IS_WC,4,2                      ; @IS_WC
	.comm	_IS_UC,4,2                      ; @IS_UC
	.comm	_IS_CACHED,4,2                  ; @IS_CACHED
	.comm	_IS_DMA32,4,2                   ; @IS_DMA32
	.comm	_IS_UNDEFINED,4,2               ; @IS_UNDEFINED
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ttm_dma_pool_release,4,2       ; @ttm_dma_pool_release
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
l_.str.5:                               ; @.str.5
	.asciz	"%s"

l_.str.6:                               ; @.str.6
	.asciz	"%s %s"

	.comm	__manager,8,3                   ; @_manager
	.no_dead_strip	_ttm_dma_pool_init
.subsections_via_symbols
