	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pe_bfd_object_p
_pe_bfd_object_p:                       ## @pe_bfd_object_p
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SEEK_SET@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	leaq	-144(%rbp), %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	callq	_bfd_bread
	cmpl	$4, %eax
	jne	LBB0_11
## %bb.2:
	leaq	-144(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_H_GET_32
	cmpl	$-65536, %eax                   ## imm = 0xFFFF0000
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_pe_ILF_object_p
	movq	%rax, %r14
	jmp	LBB0_14
LBB0_4:
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:
	leaq	-176(%rbp), %rdi
	movl	$24, %esi
	movq	%rbx, %rdx
	callq	_bfd_bread
	cmpl	$24, %eax
	jne	LBB0_11
## %bb.6:
	movl	-160(%rbp), %esi
	movq	%rbx, %rdi
	callq	_H_GET_16
	movq	_DOSMAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.7:
	movq	-168(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_H_GET_32
	movl	%eax, %r14d
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	leaq	-200(%rbp), %rdi
	movl	$24, %esi
	movq	%rbx, %rdx
	callq	_bfd_bread
	cmpl	$24, %eax
	jne	LBB0_11
## %bb.9:
	movq	-200(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_H_GET_32
	cmpl	$17744, %eax                    ## imm = 0x4550
	jne	LBB0_12
## %bb.10:
	addl	$-24, %r14d
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	je	LBB0_16
LBB0_11:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_bfd_get_error
	movq	_bfd_error_system_call@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
LBB0_12:
	movq	_bfd_error_wrong_format@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_13:
	xorl	%r14d, %r14d
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.15:
	movq	%r14, %rax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%rbx, %rdi
	callq	_coff_object_p
	testq	%rax, %rax
	je	LBB0_13
## %bb.17:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_pe_data
	movq	(%rax), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_IMAGE_SUBSYSTEM_EFI_APPLICATION@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	(%rbx), %rdi
	callq	_bfd_target_efi_p
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	callq	_bfd_target_efi_arch
	jmp	LBB0_21
LBB0_20:
	callq	_bfd_target_pei_arch
LBB0_21:
	movl	%eax, %edi
	callq	_pe_arch
	movl	%eax, %r13d
	movq	_bfd_target_vector@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.22:
	movq	_bfd_target_coff_flavour@GOTPCREL(%rip), %r15
	jmp	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	8(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	je	LBB0_14
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rdi
	je	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	(%rdi), %rax
	cmpq	(%r15), %rax
	jne	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	callq	_bfd_target_efi_p
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	callq	_bfd_target_efi_arch
	movl	%eax, %edi
	callq	_pe_arch
	cmpl	%r13d, %eax
	jne	LBB0_23
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpq	%r12, -152(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_23
	jmp	LBB0_12
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=1
	callq	_bfd_target_pei_p
	testq	%rax, %rax
	je	LBB0_23
## %bb.30:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	(%rbx), %rdi
	callq	_bfd_target_pei_arch
	movl	%eax, %edi
	callq	_pe_arch
	cmpl	%r13d, %eax
	jne	LBB0_23
## %bb.31:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpq	%r12, -152(%rbp)                ## 8-byte Folded Reload
	je	LBB0_23
	jmp	LBB0_12
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_bfd_error_system_call,8,3      ## @bfd_error_system_call
	.comm	_bfd_error_wrong_format,4,2     ## @bfd_error_wrong_format
	.comm	_DOSMAGIC,8,3                   ## @DOSMAGIC
	.comm	_IMAGE_SUBSYSTEM_EFI_APPLICATION,8,3 ## @IMAGE_SUBSYSTEM_EFI_APPLICATION
	.comm	_bfd_target_vector,8,3          ## @bfd_target_vector
	.comm	_bfd_target_coff_flavour,8,3    ## @bfd_target_coff_flavour
	.no_dead_strip	_pe_bfd_object_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pe_bfd_object_p
_pe_bfd_object_p:                       ; @pe_bfd_object_p
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x21, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_bfd_seek
	cbnz	x0, LBB0_11
; %bb.1:
	add	x0, sp, #56
	mov	w1, #4
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, #4
	b.ne	LBB0_11
; %bb.2:
	add	x1, sp, #56
	mov	x0, x20
	bl	_H_GET_32
	cmn	w0, #16, lsl #12                ; =65536
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_pe_ILF_object_p
	mov	x19, x0
	b	LBB0_14
LBB0_4:
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	bl	_bfd_seek
	cbnz	x0, LBB0_11
; %bb.5:
	add	x0, sp, #32
	mov	w1, #24
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, #24
	b.ne	LBB0_11
; %bb.6:
	ldr	w1, [sp, #48]
	mov	x0, x20
	bl	_H_GET_16
Lloh5:
	adrp	x8, _DOSMAGIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DOSMAGIC@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.7:
	ldr	x1, [sp, #40]
	mov	x0, x20
	bl	_H_GET_32
	mov	x19, x0
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_bfd_seek
	cbnz	x0, LBB0_11
; %bb.8:
	add	x0, sp, #8
	mov	w1, #24
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, #24
	b.ne	LBB0_11
; %bb.9:
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_H_GET_32
	mov	w8, #17744
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.10:
	sub	w1, w19, #24
	ldr	w2, [x21]
	mov	x0, x20
	bl	_bfd_seek
	cbz	x0, LBB0_16
LBB0_11:
	bl	_bfd_get_error
Lloh8:
	adrp	x8, _bfd_error_system_call@GOTPAGE
Lloh9:
	ldr	x8, [x8, _bfd_error_system_call@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
LBB0_12:
Lloh11:
	adrp	x8, _bfd_error_wrong_format@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bfd_error_wrong_format@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_13:
	mov	x19, #0
LBB0_14:
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.15:
	mov	x0, x19
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_16:
	mov	x0, x20
	bl	_coff_object_p
	mov	x19, x0
	cbz	x0, LBB0_14
; %bb.17:
	mov	x0, x20
	bl	_pe_data
	ldr	x21, [x0]
Lloh17:
	adrp	x8, _IMAGE_SUBSYSTEM_EFI_APPLICATION@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IMAGE_SUBSYSTEM_EFI_APPLICATION@GOTPAGEOFF]
Lloh19:
	ldr	x22, [x8]
	ldr	x0, [x20]
	bl	_bfd_target_efi_p
	mov	x8, x0
	ldr	x0, [x20]
	cbz	x8, LBB0_19
; %bb.18:
	bl	_bfd_target_efi_arch
	b	LBB0_20
LBB0_19:
	bl	_bfd_target_pei_arch
LBB0_20:
	bl	_pe_arch
	mov	x20, x0
Lloh20:
	adrp	x8, _bfd_target_vector@GOTPAGE
Lloh21:
	ldr	x8, [x8, _bfd_target_vector@GOTPAGEOFF]
Lloh22:
	ldr	x23, [x8]
	ldr	x0, [x23]
	cbz	x0, LBB0_14
; %bb.21:
Lloh23:
	adrp	x24, _bfd_target_coff_flavour@GOTPAGE
Lloh24:
	ldr	x24, [x24, _bfd_target_coff_flavour@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	bl	_bfd_target_efi_arch
	bl	_pe_arch
	cmp	w0, w20
	ccmp	x21, x22, #0, eq
	b.eq	LBB0_12
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x0, [x23, #8]!
	cbz	x0, LBB0_14
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	cmp	x0, x19
	b.eq	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	bl	_bfd_target_efi_p
	mov	x8, x0
	ldr	x0, [x23]
	cbnz	x8, LBB0_22
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=1
	bl	_bfd_target_pei_p
	cbz	x0, LBB0_23
; %bb.28:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x0, [x23]
	bl	_bfd_target_pei_arch
	bl	_pe_arch
	cmp	w0, w20
	b.ne	LBB0_23
; %bb.29:                               ;   in Loop: Header=BB0_24 Depth=1
	cmp	x21, x22
	b.eq	LBB0_23
	b	LBB0_12
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_bfd_error_system_call,8,3      ; @bfd_error_system_call
	.comm	_bfd_error_wrong_format,4,2     ; @bfd_error_wrong_format
	.comm	_DOSMAGIC,8,3                   ; @DOSMAGIC
	.comm	_IMAGE_SUBSYSTEM_EFI_APPLICATION,8,3 ; @IMAGE_SUBSYSTEM_EFI_APPLICATION
	.comm	_bfd_target_vector,8,3          ; @bfd_target_vector
	.comm	_bfd_target_coff_flavour,8,3    ; @bfd_target_coff_flavour
	.no_dead_strip	_pe_bfd_object_p
.subsections_via_symbols
