	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pe_create_runtime_relocator_reference
_pe_create_runtime_relocator_reference: ## @pe_create_runtime_relocator_reference
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$20, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	_tmp_seq@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_sprintf
	incl	(%r15)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bfd_create
	movq	%rax, %rbx
	movq	_pe_details@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	4(%rax), %edi
	movq	%rbx, %rsi
	callq	_bfd_find_target
	movq	%rbx, %rdi
	callq	_bfd_make_writable
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bfd_set_format
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_bfd_set_arch_mach
	movq	_symptr@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movl	$16, %edi
	callq	_xmalloc
	movq	_symtab@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	_quick_section
	movq	%rax, %r14
	leaq	L_.str.3(%rip), %rdi
	callq	_U
	movq	_UNDSEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_BSF_NO_FLAGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	$0, (%rsp)
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movl	%eax, %edx
	callq	_quick_symbol
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_bfd_set_section_size
	movl	$4, %edi
	callq	_xmalloc
	movq	%rax, %r15
	movq	%rax, (%r14)
	movq	_BFD_RELOC_RVA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_quick_reloc
	movq	%r14, %rdi
	callq	_save_relocs
	movq	(%r13), %rsi
	movq	(%r12), %rdx
	movq	%rbx, %rdi
	callq	_bfd_set_symtab
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movl	$4, %r8d
	callq	_bfd_set_section_contents
	movq	%rbx, %rdi
	callq	_bfd_make_readable
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ertr%06d.o"

	.comm	_tmp_seq,4,2                    ## @tmp_seq
	.comm	_pe_details,8,3                 ## @pe_details
	.comm	_bfd_object,4,2                 ## @bfd_object
	.comm	_symptr,8,3                     ## @symptr
	.comm	_symtab,8,3                     ## @symtab
L_.str.1:                               ## @.str.1
	.asciz	".rdata"

	.comm	_SEC_HAS_CONTENTS,4,2           ## @SEC_HAS_CONTENTS
L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"_pei386_runtime_relocator"

	.comm	_UNDSEC,4,2                     ## @UNDSEC
	.comm	_BSF_NO_FLAGS,4,2               ## @BSF_NO_FLAGS
	.comm	_BFD_RELOC_RVA,4,2              ## @BFD_RELOC_RVA
	.no_dead_strip	_pe_create_runtime_relocator_reference
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pe_create_runtime_relocator_reference
_pe_create_runtime_relocator_reference: ; @pe_create_runtime_relocator_reference
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	mov	w0, #20
	bl	_xmalloc
	mov	x20, x0
Lloh0:
	adrp	x21, _tmp_seq@GOTPAGE
Lloh1:
	ldr	x21, [x21, _tmp_seq@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_bfd_create
	mov	x19, x0
Lloh4:
	adrp	x20, _pe_details@GOTPAGE
Lloh5:
	ldr	x20, [x20, _pe_details@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	mov	x1, x19
	bl	_bfd_find_target
	mov	x0, x19
	bl	_bfd_make_writable
Lloh6:
	adrp	x8, _bfd_object@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bfd_set_format
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_bfd_set_arch_mach
Lloh9:
	adrp	x22, _symptr@GOTPAGE
Lloh10:
	ldr	x22, [x22, _symptr@GOTPAGEOFF]
	str	xzr, [x22]
	mov	w0, #16
	bl	_xmalloc
Lloh11:
	adrp	x23, _symtab@GOTPAGE
Lloh12:
	ldr	x23, [x23, _symtab@GOTPAGEOFF]
	str	x0, [x23]
Lloh13:
	adrp	x8, _SEC_HAS_CONTENTS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SEC_HAS_CONTENTS@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w3, #2
	bl	_quick_section
	mov	x20, x0
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_U
	mov	x2, x0
Lloh20:
	adrp	x8, _UNDSEC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _UNDSEC@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
Lloh23:
	adrp	x8, _BSF_NO_FLAGS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BSF_NO_FLAGS@GOTPAGEOFF]
Lloh25:
	ldr	w5, [x8]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x3, x1
	mov	w6, #0
	bl	_quick_symbol
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_bfd_set_section_size
	mov	w0, #4
	bl	_xmalloc
	mov	x21, x0
	str	x0, [x20]
Lloh28:
	adrp	x8, _BFD_RELOC_RVA@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BFD_RELOC_RVA@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #1
	bl	_quick_reloc
	mov	x0, x20
	bl	_save_relocs
	ldr	x1, [x23]
	ldr	x2, [x22]
	mov	x0, x19
	bl	_bfd_set_symtab
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	mov	w4, #4
	bl	_bfd_set_section_contents
	mov	x0, x19
	bl	_bfd_make_readable
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ertr%06d.o"

	.comm	_tmp_seq,4,2                    ; @tmp_seq
	.comm	_pe_details,8,3                 ; @pe_details
	.comm	_bfd_object,4,2                 ; @bfd_object
	.comm	_symptr,8,3                     ; @symptr
	.comm	_symtab,8,3                     ; @symtab
l_.str.1:                               ; @.str.1
	.asciz	".rdata"

	.comm	_SEC_HAS_CONTENTS,4,2           ; @SEC_HAS_CONTENTS
l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"_pei386_runtime_relocator"

	.comm	_UNDSEC,4,2                     ; @UNDSEC
	.comm	_BSF_NO_FLAGS,4,2               ; @BSF_NO_FLAGS
	.comm	_BFD_RELOC_RVA,4,2              ; @BFD_RELOC_RVA
	.no_dead_strip	_pe_create_runtime_relocator_reference
.subsections_via_symbols
