	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_placement_list
_set_placement_list:                    ## @set_placement_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rsi)
	movq	_TTM_PL_FLAG_VRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%edx, %eax
	je	LBB0_2
## %bb.1:
	orl	%ecx, %eax
	movl	$1, (%rsi)
	movl	%eax, (%rdi)
LBB0_2:
	movq	_TTM_PL_FLAG_TT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%edx, %r9d
	je	LBB0_4
## %bb.3:
	orl	%ecx, %r9d
	movl	(%rsi), %r8d
	leal	1(%r8), %eax
	movl	%eax, (%rsi)
	movl	%r9d, (%rdi,%r8,4)
LBB0_4:
	movq	_TTM_PL_FLAG_SYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%edx, %eax
	je	LBB0_6
## %bb.5:
	orl	%ecx, %eax
	movl	(%rsi), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rsi)
	movl	%eax, (%rdi,%rcx,4)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TTM_PL_FLAG_VRAM,4,2           ## @TTM_PL_FLAG_VRAM
	.comm	_TTM_PL_FLAG_TT,4,2             ## @TTM_PL_FLAG_TT
	.comm	_TTM_PL_FLAG_SYSTEM,4,2         ## @TTM_PL_FLAG_SYSTEM
	.no_dead_strip	_set_placement_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_placement_list
_set_placement_list:                    ; @set_placement_list
	.cfi_startproc
; %bb.0:
	str	wzr, [x1]
Lloh0:
	adrp	x8, _TTM_PL_FLAG_VRAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TTM_PL_FLAG_VRAM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	orr	w8, w8, w3
	mov	w9, #1
	str	w9, [x1]
	str	w8, [x0]
LBB0_2:
Lloh3:
	adrp	x8, _TTM_PL_FLAG_TT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TTM_PL_FLAG_TT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_4
; %bb.3:
	orr	w8, w8, w3
	ldr	w9, [x1]
	add	w10, w9, #1
	str	w10, [x1]
	str	w8, [x0, x9, lsl #2]
LBB0_4:
Lloh6:
	adrp	x8, _TTM_PL_FLAG_SYSTEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TTM_PL_FLAG_SYSTEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_6
; %bb.5:
	orr	w8, w8, w3
	ldr	w9, [x1]
	add	w10, w9, #1
	str	w10, [x1]
	str	w8, [x0, x9, lsl #2]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TTM_PL_FLAG_VRAM,4,2           ; @TTM_PL_FLAG_VRAM
	.comm	_TTM_PL_FLAG_TT,4,2             ; @TTM_PL_FLAG_TT
	.comm	_TTM_PL_FLAG_SYSTEM,4,2         ; @TTM_PL_FLAG_SYSTEM
	.no_dead_strip	_set_placement_list
.subsections_via_symbols
