	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecoff_swap_ext_out
_ecoff_swap_ext_out:                    ## @ecoff_swap_ext_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movups	(%rsi), %xmm0
	movups	16(%rsi), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	callq	_bfd_header_big_endian
	testq	%rax, %rax
	movq	_EXT_BITS1_JMPTBL_BIG@GOTPCREL(%rip), %rsi
	cmoveq	_EXT_BITS1_JMPTBL_LITTLE@GOTPCREL(%rip), %rsi
	movq	_EXT_BITS1_COBOL_MAIN_BIG@GOTPCREL(%rip), %rdx
	cmoveq	_EXT_BITS1_COBOL_MAIN_LITTLE@GOTPCREL(%rip), %rdx
	movq	_EXT_BITS1_WEAKEXT_BIG@GOTPCREL(%rip), %rcx
	cmoveq	_EXT_BITS1_WEAKEXT_LITTLE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, -40(%rbp)
	movl	$0, %edi
	je	LBB0_2
## %bb.1:
	movl	(%rsi), %edi
LBB0_2:
	cmpq	$0, -48(%rbp)
	movl	$0, %esi
	je	LBB0_4
## %bb.3:
	movl	(%rdx), %esi
LBB0_4:
	orl	%edi, %esi
	cmpq	$0, -56(%rbp)
	je	LBB0_6
## %bb.5:
	movl	(%rcx), %eax
LBB0_6:
	orl	%eax, %esi
	movq	(%rbx), %rax
	movl	%esi, (%rax)
	movq	16(%rbx), %rax
	movq	$0, (%rax)
	addq	$8, %rbx
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_ecoff_swap_sym_out
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EXT_BITS1_JMPTBL_BIG,4,2       ## @EXT_BITS1_JMPTBL_BIG
	.comm	_EXT_BITS1_COBOL_MAIN_BIG,4,2   ## @EXT_BITS1_COBOL_MAIN_BIG
	.comm	_EXT_BITS1_WEAKEXT_BIG,4,2      ## @EXT_BITS1_WEAKEXT_BIG
	.comm	_EXT_BITS1_JMPTBL_LITTLE,4,2    ## @EXT_BITS1_JMPTBL_LITTLE
	.comm	_EXT_BITS1_COBOL_MAIN_LITTLE,4,2 ## @EXT_BITS1_COBOL_MAIN_LITTLE
	.comm	_EXT_BITS1_WEAKEXT_LITTLE,4,2   ## @EXT_BITS1_WEAKEXT_LITTLE
	.no_dead_strip	_ecoff_swap_ext_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecoff_swap_ext_out
_ecoff_swap_ext_out:                    ; @ecoff_swap_ext_out
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	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, #-24]
	ldp	q0, q1, [x1]
	stp	q0, q1, [sp]
	bl	_bfd_header_big_endian
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, _EXT_BITS1_JMPTBL_LITTLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXT_BITS1_JMPTBL_LITTLE@GOTPAGEOFF]
Lloh5:
	adrp	x10, _EXT_BITS1_JMPTBL_BIG@GOTPAGE
Lloh6:
	ldr	x10, [x10, _EXT_BITS1_JMPTBL_BIG@GOTPAGEOFF]
	cmp	x0, #0
	csel	x9, x9, x10, eq
Lloh7:
	adrp	x10, _EXT_BITS1_COBOL_MAIN_LITTLE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _EXT_BITS1_COBOL_MAIN_LITTLE@GOTPAGEOFF]
Lloh9:
	adrp	x11, _EXT_BITS1_COBOL_MAIN_BIG@GOTPAGE
Lloh10:
	ldr	x11, [x11, _EXT_BITS1_COBOL_MAIN_BIG@GOTPAGEOFF]
	ldr	w9, [x9]
	csel	x10, x10, x11, eq
Lloh11:
	adrp	x11, _EXT_BITS1_WEAKEXT_LITTLE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _EXT_BITS1_WEAKEXT_LITTLE@GOTPAGEOFF]
Lloh13:
	adrp	x12, _EXT_BITS1_WEAKEXT_BIG@GOTPAGE
Lloh14:
	ldr	x12, [x12, _EXT_BITS1_WEAKEXT_BIG@GOTPAGEOFF]
	csel	x11, x11, x12, eq
	cmp	x8, #0
	ldr	w8, [x10]
	csel	w9, wzr, w9, eq
	ldp	x12, x10, [sp, #8]
	cmp	x10, #0
	csel	w8, wzr, w8, eq
	orr	w8, w8, w9
	ldr	w9, [x11]
	cmp	x12, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
	ldr	x9, [x19]
	str	w8, [x9]
	ldr	x8, [x19, #16]
	str	xzr, [x8]
	add	x2, x19, #8
	mov	x1, sp
	mov	x0, x20
	bl	_ecoff_swap_sym_out
	ldur	x8, [x29, #-24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXT_BITS1_JMPTBL_BIG,4,2       ; @EXT_BITS1_JMPTBL_BIG
	.comm	_EXT_BITS1_COBOL_MAIN_BIG,4,2   ; @EXT_BITS1_COBOL_MAIN_BIG
	.comm	_EXT_BITS1_WEAKEXT_BIG,4,2      ; @EXT_BITS1_WEAKEXT_BIG
	.comm	_EXT_BITS1_JMPTBL_LITTLE,4,2    ; @EXT_BITS1_JMPTBL_LITTLE
	.comm	_EXT_BITS1_COBOL_MAIN_LITTLE,4,2 ; @EXT_BITS1_COBOL_MAIN_LITTLE
	.comm	_EXT_BITS1_WEAKEXT_LITTLE,4,2   ; @EXT_BITS1_WEAKEXT_LITTLE
	.no_dead_strip	_ecoff_swap_ext_out
.subsections_via_symbols
