	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_entry_type_for_real
_update_entry_type_for_real:            ## @update_entry_type_for_real
	.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	%rsi, %rbx
	movq	%rdi, %rax
	movl	(%rsi), %edi
	leal	-129(%rdi), %ecx
	cmpl	$2, %ecx
	jae	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movl	(%rbx), %edi
	jmp	LBB0_6
LBB0_1:
	cmpl	$128, %edi
	jne	LBB0_7
## %bb.2:
	testl	%edx, %edx
	je	LBB0_8
## %bb.3:
	movl	$128, %edi
LBB0_6:
	callq	_get_pse_type
	movl	%eax, (%rbx)
	jmp	LBB0_8
LBB0_7:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_gtt_type_is_entry
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_GEM_BUG_ON
LBB0_8:
	movl	(%rbx), %eax
	movq	_GTT_TYPE_INVALID@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_GEM_BUG_ON                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GTT_TYPE_INVALID,4,2           ## @GTT_TYPE_INVALID
	.no_dead_strip	_update_entry_type_for_real
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_entry_type_for_real
_update_entry_type_for_real:            ; @update_entry_type_for_real
	.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, x1
	mov	x8, x0
	ldr	w0, [x1]
	sub	w9, w0, #129
	cmp	w9, #2
	b.hs	LBB0_3
; %bb.1:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.2:
	ldr	w0, [x19]
	b	LBB0_6
LBB0_3:
	cmp	w0, #128
	b.ne	LBB0_7
; %bb.4:
	cbz	w2, LBB0_8
; %bb.5:
	mov	w0, #128
LBB0_6:
	bl	_get_pse_type
	str	w0, [x19]
	b	LBB0_8
LBB0_7:
	bl	_gtt_type_is_entry
	cmp	w0, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
LBB0_8:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _GTT_TYPE_INVALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GTT_TYPE_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_GEM_BUG_ON
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GTT_TYPE_INVALID,4,2           ; @GTT_TYPE_INVALID
	.no_dead_strip	_update_entry_type_for_real
.subsections_via_symbols
