	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_asm_output_external       ## -- Begin function ia64_asm_output_external
	.p2align	4, 0x90
_ia64_asm_output_external:              ## @ia64_asm_output_external
	.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	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_DECL_ASSEMBLER_NAME
	movl	%eax, %edi
	callq	_TREE_SYMBOL_REFERENCED
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	_targetm@GOTPCREL(%rip), %rax
	movl	%ebx, %edi
	callq	*8(%rax)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	%ebx, %edi
	callq	_maybe_assemble_visibility
	xorl	%r13d, %r13d
	testq	%rax, %rax
	setne	%r13b
	jmp	LBB0_4
LBB0_2:
	xorl	%r13d, %r13d
LBB0_4:
	movq	_TARGET_HPUX_LD@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_TARGET_GNU_AS@GOTPCREL(%rip), %r12
	jne	LBB0_6
## %bb.5:
	cmpl	$0, (%r12)
	je	LBB0_6
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%ebx, %edi
	callq	_TREE_CODE
	movq	_FUNCTION_DECL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ASM_OUTPUT_TYPE_DIRECTIVE
	jmp	LBB0_8
LBB0_9:
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.10:
	cmpl	$0, (%r12)
	jne	LBB0_11
LBB0_8:
	movq	_targetm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_targetm,16,3                   ## @targetm
	.comm	_TARGET_HPUX_LD,8,3             ## @TARGET_HPUX_LD
	.comm	_TARGET_GNU_AS,4,2              ## @TARGET_GNU_AS
	.comm	_FUNCTION_DECL,8,3              ## @FUNCTION_DECL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"function"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_asm_output_external       ; -- Begin function ia64_asm_output_external
	.p2align	2
_ia64_asm_output_external:              ; @ia64_asm_output_external
	.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, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_DECL_ASSEMBLER_NAME
	bl	_TREE_SYMBOL_REFERENCED
	cbz	x0, LBB0_10
; %bb.1:
Lloh0:
	adrp	x22, _targetm@GOTPAGE
Lloh1:
	ldr	x22, [x22, _targetm@GOTPAGEOFF]
	ldr	x8, [x22, #8]
	mov	x0, x21
	blr	x8
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_maybe_assemble_visibility
	cmp	x0, #0
	cset	w23, ne
	b	LBB0_4
LBB0_3:
	mov	w23, #0
LBB0_4:
Lloh2:
	adrp	x8, _TARGET_HPUX_LD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TARGET_HPUX_LD@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x24, _TARGET_GNU_AS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _TARGET_GNU_AS@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	x8, #0
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x21
	bl	_TREE_CODE
Lloh7:
	adrp	x8, _FUNCTION_DECL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FUNCTION_DECL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_ASM_OUTPUT_TYPE_DIRECTIVE
	b	LBB0_9
LBB0_7:
	cbz	w23, LBB0_10
; %bb.8:
	ldr	w8, [x24]
	cbnz	w8, LBB0_10
LBB0_9:
	ldr	x2, [x22]
	mov	x0, x20
	mov	x1, 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
	br	x2
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_targetm,16,3                   ; @targetm
	.comm	_TARGET_HPUX_LD,8,3             ; @TARGET_HPUX_LD
	.comm	_TARGET_GNU_AS,4,2              ; @TARGET_GNU_AS
	.comm	_FUNCTION_DECL,8,3              ; @FUNCTION_DECL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"function"

.subsections_via_symbols
