	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coff_write_alien_symbol
_coff_write_alien_symbol:               ## @coff_write_alien_symbol
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -72(%rbp)
	movq	16(%rsi), %rdi
	callq	_bfd_is_und_section
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	16(%rbx), %rdi
	callq	_bfd_is_com_section
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_N_UNDEF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	24(%rbx), %rax
	movq	%rax, -64(%rbp)
LBB0_9:
	movq	$0, -80(%rbp)
	movl	(%rbx), %eax
	movq	_BSF_LOCAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_C_STAT@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movq	%r15, %r9
	movq	%r12, %r8
	movq	%r13, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_11:
	movq	_BSF_WEAK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.12:
	movq	%r14, %rdi
	callq	_obj_pe
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:
	movq	_C_WEAKEXT@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_3:
	movq	_BSF_DEBUGGING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_19
LBB0_16:
	movq	_C_EXT@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_13:
	movq	_C_NT_WEAK@GOTPCREL(%rip), %rax
LBB0_15:
	movq	%r15, %r9
	movq	%r12, %r8
	movq	%r13, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_18:
	movl	%eax, -88(%rbp)
	movq	$0, -96(%rbp)
	movq	%rdx, (%rsp)
	leaq	-96(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_coff_write_symbol
LBB0_19:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	16(%rbx), %rax
	movq	(%rax), %rcx
	movq	8(%rcx), %rcx
	movq	%rcx, -56(%rbp)
	movq	8(%rax), %rax
	addq	24(%rbx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, -64(%rbp)
	movq	%r14, %rdi
	callq	_obj_pe
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addq	(%rax), %rcx
	movq	%rcx, -64(%rbp)
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_coff_symbol_from
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rdi
	callq	_bfd_asymbol_bfd
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_T_NULL,8,3                     ## @T_NULL
	.comm	_N_UNDEF,8,3                    ## @N_UNDEF
	.comm	_BSF_DEBUGGING,4,2              ## @BSF_DEBUGGING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_BSF_LOCAL,4,2                  ## @BSF_LOCAL
	.comm	_C_STAT,4,2                     ## @C_STAT
	.comm	_BSF_WEAK,4,2                   ## @BSF_WEAK
	.comm	_C_NT_WEAK,4,2                  ## @C_NT_WEAK
	.comm	_C_WEAKEXT,4,2                  ## @C_WEAKEXT
	.comm	_C_EXT,4,2                      ## @C_EXT
	.no_dead_strip	_coff_write_alien_symbol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coff_write_alien_symbol
_coff_write_alien_symbol:               ; @coff_write_alien_symbol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	str	xzr, [sp, #24]
	ldr	x0, [x1, #16]
	bl	_bfd_is_und_section
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x22, #16]
	bl	_bfd_is_com_section
	cbz	x0, LBB0_7
LBB0_2:
Lloh0:
	adrp	x8, _N_UNDEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _N_UNDEF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x22, #24]
	stp	x9, x8, [sp, #32]
LBB0_3:
	str	xzr, [sp, #16]
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _BSF_LOCAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BSF_LOCAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _C_STAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _C_STAT@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
Lloh8:
	adrp	x9, _BSF_WEAK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BSF_WEAK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
	mov	x0, x24
	bl	_obj_pe
Lloh11:
	adrp	x8, _C_NT_WEAK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _C_NT_WEAK@GOTPAGEOFF]
Lloh13:
	adrp	x9, _C_WEAKEXT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _C_WEAKEXT@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_10
LBB0_7:
	ldr	w8, [x22]
Lloh15:
	adrp	x9, _BSF_DEBUGGING@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BSF_DEBUGGING@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.8:
Lloh18:
	adrp	x8, l_.str@PAGE
Lloh19:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x22, #8]
Lloh20:
	adrp	x8, _TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_9:
Lloh23:
	adrp	x8, _C_EXT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _C_EXT@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	xzr, [sp]
	mov	x2, sp
	mov	x0, x24
	mov	x1, x22
	mov	x3, x23
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_coff_write_symbol
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	ldp	x8, x9, [x22, #16]
	ldr	x10, [x8]
	ldr	x10, [x10, #8]
	str	x10, [sp, #40]
	ldr	x8, [x8, #8]
	add	x25, x8, x9
	str	x25, [sp, #32]
	mov	x0, x24
	bl	_obj_pe
	cbnz	x0, LBB0_14
; %bb.13:
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x8, x25, x8
	str	x8, [sp, #32]
LBB0_14:
	mov	x0, x24
	mov	x1, x22
	bl	_coff_symbol_from
	cbz	x0, LBB0_3
; %bb.15:
	bl	_bfd_asymbol_bfd
	ldr	x8, [x0]
	str	x8, [sp, #24]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_T_NULL,8,3                     ; @T_NULL
	.comm	_N_UNDEF,8,3                    ; @N_UNDEF
	.comm	_BSF_DEBUGGING,4,2              ; @BSF_DEBUGGING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_BSF_LOCAL,4,2                  ; @BSF_LOCAL
	.comm	_C_STAT,4,2                     ; @C_STAT
	.comm	_BSF_WEAK,4,2                   ; @BSF_WEAK
	.comm	_C_NT_WEAK,4,2                  ; @C_NT_WEAK
	.comm	_C_WEAKEXT,4,2                  ; @C_WEAKEXT
	.comm	_C_EXT,4,2                      ; @C_EXT
	.no_dead_strip	_coff_write_alien_symbol
.subsections_via_symbols
