	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function go32_pte_for_address
_go32_pte_for_address:                  ## @go32_pte_for_address
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_3
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_error_no_arg
	xorl	%r15d, %r15d
LBB0_8:
	xorl	%eax, %eax
	callq	_get_cr3
	movq	_pdbr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%r15d, %r14d
	shrl	$22, %r14d
	movl	%r15d, %ebx
	shrl	$12, %ebx
	andl	$1023, %ebx                     ## imm = 0x3FF
	movslq	%r15d, %rsi
	andl	$4095, %r15d                    ## imm = 0xFFF
	leaq	L_.str.2(%rip), %rdi
	callq	_printf_filtered
	movl	%r14d, %edi
	callq	_get_pde
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_get_pte
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_display_ptable_entry           ## TAILCALL
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_puts_filtered                  ## TAILCALL
LBB0_5:
	cmpb	$0, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_parse_and_eval_address
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"linear address"

	.comm	_pdbr,4,2                       ## @pdbr
L_.str.1:                               ## @.str.1
	.asciz	"Access to Page Tables is not supported on this system.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Page Table entry for address 0x%llx:\n"

	.no_dead_strip	_go32_pte_for_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function go32_pte_for_address
_go32_pte_for_address:                  ; @go32_pte_for_address
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isspace
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x19, #1]!
	cbnz	w8, LBB0_2
	b	LBB0_6
LBB0_4:
	ldrb	w8, [x19]
	cbz	w8, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_parse_and_eval_address
	mov	x19, x0
	cbnz	w0, LBB0_7
LBB0_6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error_no_arg
	mov	w19, #0
LBB0_7:
	bl	_get_cr3
Lloh2:
	adrp	x8, _pdbr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pdbr@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
	cbz	w0, LBB0_9
; %bb.8:
	lsr	w20, w19, #22
	ubfx	w21, w19, #12, #10
	and	w22, w19, #0xfff
	sxtw	x1, w19
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf_filtered
	mov	x0, x20
	bl	_get_pde
	mov	x1, x21
	bl	_get_pte
	mov	w1, #0
	mov	w2, #1
	mov	x3, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_display_ptable_entry
LBB0_9:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_puts_filtered
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"linear address"

	.comm	_pdbr,4,2                       ; @pdbr
l_.str.1:                               ; @.str.1
	.asciz	"Access to Page Tables is not supported on this system.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Page Table entry for address 0x%llx:\n"

	.no_dead_strip	_go32_pte_for_address
.subsections_via_symbols
