	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen8_gtt_clear_pse
_gen8_gtt_clear_pse:                    ## @gen8_gtt_clear_pse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_gen8_gtt_test_pse
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.3:
	movq	__PAGE_PSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	movq	_GTT_TYPE_PPGTT_PDE_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_5:
	movq	_GTT_TYPE_PPGTT_PDP_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	__PAGE_PSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__PAGE_PSE,4,2                  ## @_PAGE_PSE
	.comm	_GTT_TYPE_PPGTT_PDE_ENTRY,4,2   ## @GTT_TYPE_PPGTT_PDE_ENTRY
	.comm	_GTT_TYPE_PPGTT_PDP_ENTRY,4,2   ## @GTT_TYPE_PPGTT_PDP_ENTRY
	.no_dead_strip	_gen8_gtt_clear_pse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen8_gtt_clear_pse
_gen8_gtt_clear_pse:                    ; @gen8_gtt_clear_pse
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_gen8_gtt_test_pse
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, __PAGE_PSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PAGE_PSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
Lloh3:
	adrp	x9, _GTT_TYPE_PPGTT_PDE_ENTRY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GTT_TYPE_PPGTT_PDE_ENTRY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _GTT_TYPE_PPGTT_PDP_ENTRY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GTT_TYPE_PPGTT_PDP_ENTRY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh9:
	adrp	x8, __PAGE_PSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, __PAGE_PSE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WARN_ON
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	__PAGE_PSE,4,2                  ; @_PAGE_PSE
	.comm	_GTT_TYPE_PPGTT_PDE_ENTRY,4,2   ; @GTT_TYPE_PPGTT_PDE_ENTRY
	.comm	_GTT_TYPE_PPGTT_PDP_ENTRY,4,2   ; @GTT_TYPE_PPGTT_PDP_ENTRY
	.no_dead_strip	_gen8_gtt_clear_pse
.subsections_via_symbols
