	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_pte
_get_pte:                               ## @get_pte
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
	testb	$1, %dil
	je	LBB0_3
## %bb.1:
	cmpl	$1023, %esi                     ## imm = 0x3FF
	ja	LBB0_3
## %bb.2:
	movl	%edi, %eax
	andl	$128, %eax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	andq	$-4096, %rdi                    ## imm = 0xF000
	movq	__dos_ds@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$2, %esi
	addq	%rdi, %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	__farpeekl                      ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__dos_ds,4,2                    ## @_dos_ds
	.no_dead_strip	_get_pte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_pte
_get_pte:                               ; @get_pte
	.cfi_startproc
; %bb.0:
	tbz	w0, #0, LBB0_4
; %bb.1:
	cmp	w1, #1023
	b.hi	LBB0_4
; %bb.2:
	tbnz	w0, #7, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, __dos_ds@GOTPAGE
Lloh1:
	ldr	x8, [x8, __dos_ds@GOTPAGEOFF]
	and	x9, x0, #0xfffffffffffff000
Lloh2:
	ldr	w0, [x8]
	lsl	w8, w1, #2
	add	x1, x9, x8
	b	__farpeekl
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__dos_ds,4,2                    ; @_dos_ds
	.no_dead_strip	_get_pte
.subsections_via_symbols
