	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_pe_hdr                      ## -- Begin function is_pe_hdr
	.p2align	4, 0x90
_is_pe_hdr:                             ## @is_pe_hdr
	.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_2
## %bb.1:
	movslq	8(%rdi), %rax
	movq	(%rdi,%rax), %rcx
	movq	_IMAGE_NT_SIGNATURE@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	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	_is_pe_hdr                      ; -- Begin function is_pe_hdr
	.p2align	2
_is_pe_hdr:                             ; @is_pe_hdr
	.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_3
; %bb.1:
	ldrsw	x8, [x0, #8]
	ldr	x8, [x0, x8]
Lloh3:
	adrp	x9, _IMAGE_NT_SIGNATURE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IMAGE_NT_SIGNATURE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
	mov	w0, #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
