	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___RtlImageNtHeader             ## -- Begin function __RtlImageNtHeader
	.p2align	4, 0x90
___RtlImageNtHeader:                    ## @__RtlImageNtHeader
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_IMAGE_DOS_SIGNATURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	leaq	(%rax,%rdi), %rcx
	movq	(%rax,%rdi), %rdx
	movq	_IMAGE_NT_SIGNATURE@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rdx
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMAGE_DOS_SIGNATURE,8,3        ## @IMAGE_DOS_SIGNATURE
	.comm	_IMAGE_NT_SIGNATURE,8,3         ## @IMAGE_NT_SIGNATURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___RtlImageNtHeader             ; -- Begin function __RtlImageNtHeader
	.p2align	2
___RtlImageNtHeader:                    ; @__RtlImageNtHeader
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IMAGE_DOS_SIGNATURE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMAGE_DOS_SIGNATURE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	add	x8, x8, x0
	ldr	x9, [x8]
Lloh3:
	adrp	x10, _IMAGE_NT_SIGNATURE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IMAGE_NT_SIGNATURE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	csel	x0, x8, xzr, eq
	ret
LBB0_2:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IMAGE_DOS_SIGNATURE,8,3        ; @IMAGE_DOS_SIGNATURE
	.comm	_IMAGE_NT_SIGNATURE,8,3         ; @IMAGE_NT_SIGNATURE
.subsections_via_symbols
