	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttm_buffer_object_transfer
_ttm_buffer_object_transfer:            ## @ttm_buffer_object_transfer
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movups	80(%r12), %xmm0
	movups	%xmm0, 80(%rax)
	movups	64(%r12), %xmm0
	movups	%xmm0, 64(%rax)
	movups	(%r12), %xmm0
	movups	16(%r12), %xmm1
	movups	32(%r12), %xmm2
	movups	48(%r12), %xmm3
	movups	%xmm3, 48(%rax)
	movups	%xmm2, 32(%rax)
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
	leaq	32(%rax), %r15
	leaq	64(%rax), %r13
	movq	_TTM_PL_FLAG_NO_EVICT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 88(%rbx)
	movq	%r12, %rdi
	callq	_ttm_bo_get
	movq	%r12, 96(%rbx)
	movq	80(%r12), %rax
	movq	(%rax), %rdi
	callq	_atomic_inc
	leaq	72(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	68(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r13, %rdi
	callq	_INIT_LIST_HEAD
	leaq	60(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	56(%rbx), %rdi
	callq	_mutex_init
	movq	$0, 48(%rbx)
	leaq	12(%rbx), %rdi
	callq	_drm_vma_node_reset
	leaq	40(%rbx), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	36(%rbx), %rdi
	callq	_kref_init
	movq	%r15, %rdi
	callq	_kref_init
	movq	_ttm_transfered_destroy@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	%rdi, (%rbx)
	callq	_dma_resv_init
	movq	(%rbx), %rdi
	callq	_dma_resv_trylock
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	%rbx, (%r14)
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_3:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_TTM_PL_FLAG_NO_EVICT,4,2       ## @TTM_PL_FLAG_NO_EVICT
	.comm	_ttm_transfered_destroy,4,2     ## @ttm_transfered_destroy
	.no_dead_strip	_ttm_buffer_object_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttm_buffer_object_transfer
_ttm_buffer_object_transfer:            ; @ttm_buffer_object_transfer
	.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	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #104
	bl	_kmalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldp	q0, q1, [x22]
	stp	q0, q1, [x0]
	ldp	q0, q1, [x22, #32]
	ldp	q2, q3, [x22, #64]
	stp	q2, q3, [x0, #64]
	stp	q0, q1, [x0, #32]
	add	x21, x0, #32
	add	x23, x0, #64
Lloh3:
	adrp	x8, _TTM_PL_FLAG_NO_EVICT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TTM_PL_FLAG_NO_EVICT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0, #88]
	orr	w8, w9, w8
	str	w8, [x0, #88]
	mov	x0, x22
	bl	_ttm_bo_get
	str	x22, [x20, #96]
	ldr	x8, [x22, #80]
	ldr	x0, [x8]
	bl	_atomic_inc
	add	x0, x20, #72
	bl	_INIT_LIST_HEAD
	add	x0, x20, #68
	bl	_INIT_LIST_HEAD
	mov	x0, x23
	bl	_INIT_LIST_HEAD
	add	x0, x20, #60
	bl	_INIT_LIST_HEAD
	add	x0, x20, #56
	bl	_mutex_init
	str	xzr, [x20, #48]
	add	x0, x20, #12
	bl	_drm_vma_node_reset
	add	x0, x20, #40
	mov	w1, #0
	bl	_atomic_set
	add	x0, x20, #36
	bl	_kref_init
	mov	x0, x21
	bl	_kref_init
Lloh6:
	adrp	x8, _ttm_transfered_destroy@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ttm_transfered_destroy@GOTPAGEOFF]
	stp	xzr, x8, [x20, #16]
	add	x0, x20, #8
	str	x0, [x20]
	bl	_dma_resv_init
	ldr	x0, [x20]
	bl	_dma_resv_trylock
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_TTM_PL_FLAG_NO_EVICT,4,2       ; @TTM_PL_FLAG_NO_EVICT
	.comm	_ttm_transfered_destroy,4,2     ; @ttm_transfered_destroy
	.no_dead_strip	_ttm_buffer_object_transfer
.subsections_via_symbols
