	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pe_create_import_fixup         ## -- Begin function pe_create_import_fixup
	.p2align	4, 0x90
_pe_create_import_fixup:                ## @pe_create_import_fixup
	.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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, -376(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -368(%rbp)                ## 8-byte Spill
	movq	(%rax), %r13
	callq	_make_import_fixup_mark
	movq	%rax, -360(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_U
	leaq	-352(%rbp), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	_sprintf
	movq	_link_info@GOTPCREL(%rip), %rax
	movl	8(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_bfd_link_hash_lookup
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	movq	_bfd_link_hash_defined@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_2:
	movq	_output_bfd@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_make_singleton_name_thunk
	movl	(%rax), %esi
	movq	_link_info@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	callq	_add_bfd_to_link
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_config@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_WP_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r14), %rcx
	andl	%eax, (%rcx)
LBB0_3:
	testl	%r15d, %r15d
	movq	_link_info@GOTPCREL(%rip), %rbx
	je	LBB0_5
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_6
LBB0_5:
	movq	_pe_data_import_dll@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rax, %rdx
	movq	_output_bfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r13, %rdi
	movq	-360(%rbp), %rsi                ## 8-byte Reload
	callq	_make_import_fixup_entry
	movl	(%rax), %esi
	movq	_link_info@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	callq	_add_bfd_to_link
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.7:
	cmpq	$0, (%rbx)
	je	LBB0_13
## %bb.8:
	movq	_pe_dll_extra_pe_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-360(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_printf
LBB0_10:
	movq	_output_bfd@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_make_runtime_pseudo_reloc
	movl	(%rax), %esi
	movq	_link_info@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	callq	_add_bfd_to_link
	movq	_runtime_pseudo_relocs_created@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	(%r14), %rdi
	callq	_pe_create_runtime_relocator_reference
	movl	(%rax), %esi
	movq	_link_info@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	callq	_add_bfd_to_link
	movq	(%rbx), %rax
LBB0_12:
	incq	%rax
	movq	%rax, (%rbx)
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movslq	%eax, %rdi
	movq	-376(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx), %esi
	movl	(%r12), %ecx
	movq	-368(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %r8
	xorl	%eax, %eax
	callq	_einfo
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_einfo
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$344, %rsp                      ## imm = 0x158
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_nm_thnk_%s"

	.comm	_link_info,16,3                 ## @link_info
	.comm	_bfd_link_hash_defined,8,3      ## @bfd_link_hash_defined
	.comm	_output_bfd,8,3                 ## @output_bfd
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_config,4,2                     ## @config
	.comm	_WP_TEXT,4,2                    ## @WP_TEXT
L_.str.1:                               ## @.str.1
	.asciz	"unknown"

	.comm	_pe_dll_extra_pe_debug,8,3      ## @pe_dll_extra_pe_debug
L_.str.2:                               ## @.str.2
	.asciz	"creating runtime pseudo-reloc entry for %s (addend=%d)\n"

	.comm	_runtime_pseudo_relocs_created,8,3 ## @runtime_pseudo_relocs_created
L_.str.3:                               ## @.str.3
	.asciz	"%C: variable '%T' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.\n"

L_.str.4:                               ## @.str.4
	.asciz	"%X"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pe_create_import_fixup         ; -- Begin function pe_create_import_fixup
	.p2align	2
_pe_create_import_fixup:                ; @pe_create_import_fixup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #448
	.cfi_def_cfa_offset 448
	stp	x28, x27, [sp, #352]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #368]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #384]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #400]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #416]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #432]            ; 16-byte Folded Spill
	add	x29, sp, #432
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0, #8]
	ldr	x24, [x8]
	ldr	x22, [x24]
	bl	_make_import_fixup_mark
	mov	x23, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_U
	mov	x1, x0
	add	x0, sp, #44
	mov	x2, x22
	bl	_sprintf
Lloh5:
	adrp	x26, _link_info@GOTPAGE
Lloh6:
	ldr	x26, [x26, _link_info@GOTPAGEOFF]
	ldr	w0, [x26, #8]
	add	x1, sp, #44
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	bl	_bfd_link_hash_lookup
Lloh7:
	adrp	x25, _output_bfd@GOTPAGE
Lloh8:
	ldr	x25, [x25, _output_bfd@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _bfd_link_hash_defined@GOTPAGE
Lloh10:
	ldr	x9, [x9, _bfd_link_hash_defined@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_2:
	ldr	x1, [x25]
	mov	x0, x22
	bl	_make_singleton_name_thunk
	ldr	w1, [x0]
Lloh12:
	adrp	x2, _link_info@GOTPAGE
Lloh13:
	ldr	x2, [x2, _link_info@GOTPAGEOFF]
	bl	_add_bfd_to_link
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _config@GOTPAGE
Lloh18:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh19:
	adrp	x10, _WP_TEXT@GOTPAGE
Lloh20:
	ldr	x10, [x10, _WP_TEXT@GOTPAGEOFF]
Lloh21:
	str	w8, [x9]
Lloh22:
	ldr	w8, [x10]
	ldr	x9, [x25]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
LBB0_3:
	cbz	w20, LBB0_5
; %bb.4:
	ldr	x8, [x26]
	cbz	x8, LBB0_6
LBB0_5:
Lloh23:
	adrp	x8, _pe_data_import_dll@GOTPAGE
Lloh24:
	ldr	x8, [x8, _pe_data_import_dll@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
Lloh26:
	adrp	x9, l_.str.1@PAGE
Lloh27:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x2, x9, x8, eq
	ldr	x3, [x25]
	mov	x0, x22
	mov	x1, x23
	bl	_make_import_fixup_entry
	ldr	w1, [x0]
Lloh28:
	adrp	x2, _link_info@GOTPAGE
Lloh29:
	ldr	x2, [x2, _link_info@GOTPAGEOFF]
	bl	_add_bfd_to_link
LBB0_6:
	cbz	w20, LBB0_14
; %bb.7:
	ldr	x8, [x26]
	cbz	x8, LBB0_13
; %bb.8:
Lloh30:
	adrp	x8, _pe_dll_extra_pe_debug@GOTPAGE
Lloh31:
	ldr	x8, [x8, _pe_dll_extra_pe_debug@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
Lloh33:
	adrp	x0, l_.str.2@PAGE
Lloh34:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x23
	mov	x2, x20
	bl	_printf
LBB0_10:
	ldr	x3, [x25]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_make_runtime_pseudo_reloc
	ldr	w1, [x0]
Lloh35:
	adrp	x2, _link_info@GOTPAGE
Lloh36:
	ldr	x2, [x2, _link_info@GOTPAGEOFF]
	bl	_add_bfd_to_link
Lloh37:
	adrp	x19, _runtime_pseudo_relocs_created@GOTPAGE
Lloh38:
	ldr	x19, [x19, _runtime_pseudo_relocs_created@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_12
; %bb.11:
	ldr	x0, [x25]
	bl	_pe_create_runtime_relocator_reference
	ldr	w1, [x0]
Lloh39:
	adrp	x2, _link_info@GOTPAGE
Lloh40:
	ldr	x2, [x2, _link_info@GOTPAGEOFF]
	bl	_add_bfd_to_link
	ldr	x8, [x19]
LBB0_12:
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_14
LBB0_13:
Lloh41:
	adrp	x0, l_.str.3@PAGE
Lloh42:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	ldr	x8, [x24]
	ldr	w9, [x19]
	ldr	w10, [x21]
	stp	x10, x8, [sp, #16]
	stp	x9, x19, [sp]
	bl	_einfo
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_einfo
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #432]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #416]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #400]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #384]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #368]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #352]            ; 16-byte Folded Reload
	add	sp, sp, #448
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_nm_thnk_%s"

	.comm	_link_info,16,3                 ; @link_info
	.comm	_bfd_link_hash_defined,8,3      ; @bfd_link_hash_defined
	.comm	_output_bfd,8,3                 ; @output_bfd
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_config,4,2                     ; @config
	.comm	_WP_TEXT,4,2                    ; @WP_TEXT
l_.str.1:                               ; @.str.1
	.asciz	"unknown"

	.comm	_pe_dll_extra_pe_debug,8,3      ; @pe_dll_extra_pe_debug
l_.str.2:                               ; @.str.2
	.asciz	"creating runtime pseudo-reloc entry for %s (addend=%d)\n"

	.comm	_runtime_pseudo_relocs_created,8,3 ; @runtime_pseudo_relocs_created
l_.str.3:                               ; @.str.3
	.asciz	"%C: variable '%T' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.\n"

l_.str.4:                               ; @.str.4
	.asciz	"%X"

.subsections_via_symbols
