	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecoff_swap_sym_out
_ecoff_swap_sym_out:                    ## @ecoff_swap_sym_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %r12d
	movl	4(%rsi), %r13d
	movl	8(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	24(%rsi), %r15d
	movl	28(%rsi), %esi
	movl	36(%rdx), %edx
	callq	_H_PUT_32
	movl	32(%r14), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ECOFF_PUT_OFF
	movq	%rbx, %rdi
	callq	_bfd_header_big_endian
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_SYM_BITS1_ST_SH_BIG@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	movq	_SYM_BITS1_ST_BIG@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_SYM_BITS1_SC_SH_LEFT_BIG@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r13d, %eax
	sarl	%cl, %eax
	movq	_SYM_BITS1_SC_BIG@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%r12d, %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	movq	_SYM_BITS2_SC_SH_BIG@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	movq	_SYM_BITS2_SC_BIG@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	xorl	%eax, %eax
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_3
## %bb.2:
	movq	_SYM_BITS2_RESERVED_BIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movq	_SYM_BITS2_INDEX_SH_LEFT_BIG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	sarl	%cl, %esi
	orl	%r13d, %eax
	movq	_SYM_BITS4_INDEX_SH_LEFT_BIG@GOTPCREL(%rip), %rdx
	movq	_SYM_BITS3_INDEX_SH_LEFT_BIG@GOTPCREL(%rip), %rcx
	movq	_SYM_BITS2_INDEX_BIG@GOTPCREL(%rip), %rdi
	jmp	LBB0_7
LBB0_4:
	movq	_SYM_BITS1_ST_SH_LITTLE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	movq	_SYM_BITS1_ST_LITTLE@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_SYM_BITS1_SC_SH_LITTLE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r13d, %eax
	shll	%cl, %eax
	movq	_SYM_BITS1_SC_LITTLE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%r12d, %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	movq	_SYM_BITS2_SC_SH_LEFT_LITTLE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r13d
	movq	_SYM_BITS2_SC_LITTLE@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	xorl	%eax, %eax
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_6
## %bb.5:
	movq	_SYM_BITS2_RESERVED_LITTLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movq	_SYM_BITS2_INDEX_SH_LITTLE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	shll	%cl, %esi
	orl	%r13d, %eax
	movq	_SYM_BITS4_INDEX_SH_LEFT_LITTLE@GOTPCREL(%rip), %rdx
	movq	_SYM_BITS3_INDEX_SH_LEFT_LITTLE@GOTPCREL(%rip), %rcx
	movq	_SYM_BITS2_INDEX_LITTLE@GOTPCREL(%rip), %rdi
LBB0_7:
	andl	(%rdi), %esi
	orl	%eax, %esi
	movq	8(%r14), %rax
	movl	%esi, (%rax)
	movb	(%rcx), %cl
	movl	%ebx, %eax
	sarl	%cl, %eax
	movzbl	%al, %eax
	movq	16(%r14), %rcx
	movl	%eax, (%rcx)
	movb	(%rdx), %cl
	sarl	%cl, %ebx
	movzbl	%bl, %eax
	movq	24(%r14), %rcx
	movl	%eax, (%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYM_BITS1_ST_SH_BIG,4,2        ## @SYM_BITS1_ST_SH_BIG
	.comm	_SYM_BITS1_ST_BIG,4,2           ## @SYM_BITS1_ST_BIG
	.comm	_SYM_BITS1_SC_SH_LEFT_BIG,4,2   ## @SYM_BITS1_SC_SH_LEFT_BIG
	.comm	_SYM_BITS1_SC_BIG,4,2           ## @SYM_BITS1_SC_BIG
	.comm	_SYM_BITS2_SC_SH_BIG,4,2        ## @SYM_BITS2_SC_SH_BIG
	.comm	_SYM_BITS2_SC_BIG,4,2           ## @SYM_BITS2_SC_BIG
	.comm	_SYM_BITS2_RESERVED_BIG,4,2     ## @SYM_BITS2_RESERVED_BIG
	.comm	_SYM_BITS2_INDEX_SH_LEFT_BIG,4,2 ## @SYM_BITS2_INDEX_SH_LEFT_BIG
	.comm	_SYM_BITS2_INDEX_BIG,4,2        ## @SYM_BITS2_INDEX_BIG
	.comm	_SYM_BITS3_INDEX_SH_LEFT_BIG,4,2 ## @SYM_BITS3_INDEX_SH_LEFT_BIG
	.comm	_SYM_BITS4_INDEX_SH_LEFT_BIG,4,2 ## @SYM_BITS4_INDEX_SH_LEFT_BIG
	.comm	_SYM_BITS1_ST_SH_LITTLE,4,2     ## @SYM_BITS1_ST_SH_LITTLE
	.comm	_SYM_BITS1_ST_LITTLE,4,2        ## @SYM_BITS1_ST_LITTLE
	.comm	_SYM_BITS1_SC_SH_LITTLE,4,2     ## @SYM_BITS1_SC_SH_LITTLE
	.comm	_SYM_BITS1_SC_LITTLE,4,2        ## @SYM_BITS1_SC_LITTLE
	.comm	_SYM_BITS2_SC_SH_LEFT_LITTLE,4,2 ## @SYM_BITS2_SC_SH_LEFT_LITTLE
	.comm	_SYM_BITS2_SC_LITTLE,4,2        ## @SYM_BITS2_SC_LITTLE
	.comm	_SYM_BITS2_RESERVED_LITTLE,4,2  ## @SYM_BITS2_RESERVED_LITTLE
	.comm	_SYM_BITS2_INDEX_SH_LITTLE,4,2  ## @SYM_BITS2_INDEX_SH_LITTLE
	.comm	_SYM_BITS2_INDEX_LITTLE,4,2     ## @SYM_BITS2_INDEX_LITTLE
	.comm	_SYM_BITS3_INDEX_SH_LEFT_LITTLE,4,2 ## @SYM_BITS3_INDEX_SH_LEFT_LITTLE
	.comm	_SYM_BITS4_INDEX_SH_LEFT_LITTLE,4,2 ## @SYM_BITS4_INDEX_SH_LEFT_LITTLE
	.no_dead_strip	_ecoff_swap_sym_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_sym_out
_ecoff_swap_sym_out:                    ; @ecoff_swap_sym_out
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.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, x2
	mov	x20, x0
	ldp	w25, w24, [x1]
	ldr	w22, [x1, #8]
	ldr	x23, [x1, #16]
	ldp	w21, w1, [x1, #24]
	ldr	w2, [x2, #36]
	bl	_H_PUT_32
	ldr	w2, [x19, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_ECOFF_PUT_OFF
	mov	x0, x20
	bl	_bfd_header_big_endian
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SYM_BITS1_ST_SH_BIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYM_BITS1_ST_SH_BIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w25, w8
Lloh3:
	adrp	x9, _SYM_BITS1_ST_BIG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SYM_BITS1_ST_BIG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh6:
	adrp	x9, _SYM_BITS1_SC_SH_LEFT_BIG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SYM_BITS1_SC_SH_LEFT_BIG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _SYM_BITS1_SC_BIG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SYM_BITS1_SC_BIG@GOTPAGEOFF]
	asr	w9, w24, w9
Lloh11:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w8, w9, w8
	ldr	x9, [x19]
	str	w8, [x9]
Lloh12:
	adrp	x8, _SYM_BITS2_SC_SH_BIG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SYM_BITS2_SC_SH_BIG@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	lsl	w8, w24, w8
Lloh15:
	adrp	x9, _SYM_BITS2_SC_BIG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SYM_BITS2_SC_BIG@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh18:
	adrp	x9, _SYM_BITS2_RESERVED_BIG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SYM_BITS2_RESERVED_BIG@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	x23, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _SYM_BITS2_INDEX_SH_LEFT_BIG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SYM_BITS2_INDEX_SH_LEFT_BIG@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	asr	w11, w22, w9
Lloh24:
	adrp	x9, _SYM_BITS4_INDEX_SH_LEFT_BIG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SYM_BITS4_INDEX_SH_LEFT_BIG@GOTPAGEOFF]
Lloh26:
	adrp	x10, _SYM_BITS3_INDEX_SH_LEFT_BIG@GOTPAGE
Lloh27:
	ldr	x10, [x10, _SYM_BITS3_INDEX_SH_LEFT_BIG@GOTPAGEOFF]
Lloh28:
	adrp	x12, _SYM_BITS2_INDEX_BIG@GOTPAGE
Lloh29:
	ldr	x12, [x12, _SYM_BITS2_INDEX_BIG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh30:
	adrp	x8, _SYM_BITS1_ST_SH_LITTLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SYM_BITS1_ST_SH_LITTLE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	lsl	w8, w25, w8
Lloh33:
	adrp	x9, _SYM_BITS1_ST_LITTLE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SYM_BITS1_ST_LITTLE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh36:
	adrp	x9, _SYM_BITS1_SC_SH_LITTLE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SYM_BITS1_SC_SH_LITTLE@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _SYM_BITS1_SC_LITTLE@GOTPAGE
Lloh40:
	ldr	x10, [x10, _SYM_BITS1_SC_LITTLE@GOTPAGEOFF]
	lsl	w9, w24, w9
Lloh41:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w8, w9, w8
	ldr	x9, [x19]
	str	w8, [x9]
Lloh42:
	adrp	x8, _SYM_BITS2_SC_SH_LEFT_LITTLE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SYM_BITS2_SC_SH_LEFT_LITTLE@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	asr	w8, w24, w8
Lloh45:
	adrp	x9, _SYM_BITS2_SC_LITTLE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _SYM_BITS2_SC_LITTLE@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh48:
	adrp	x9, _SYM_BITS2_RESERVED_LITTLE@GOTPAGE
Lloh49:
	ldr	x9, [x9, _SYM_BITS2_RESERVED_LITTLE@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	cmp	x23, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh51:
	adrp	x9, _SYM_BITS2_INDEX_SH_LITTLE@GOTPAGE
Lloh52:
	ldr	x9, [x9, _SYM_BITS2_INDEX_SH_LITTLE@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	lsl	w11, w22, w9
Lloh54:
	adrp	x9, _SYM_BITS4_INDEX_SH_LEFT_LITTLE@GOTPAGE
Lloh55:
	ldr	x9, [x9, _SYM_BITS4_INDEX_SH_LEFT_LITTLE@GOTPAGEOFF]
Lloh56:
	adrp	x10, _SYM_BITS3_INDEX_SH_LEFT_LITTLE@GOTPAGE
Lloh57:
	ldr	x10, [x10, _SYM_BITS3_INDEX_SH_LEFT_LITTLE@GOTPAGEOFF]
Lloh58:
	adrp	x12, _SYM_BITS2_INDEX_LITTLE@GOTPAGE
Lloh59:
	ldr	x12, [x12, _SYM_BITS2_INDEX_LITTLE@GOTPAGEOFF]
LBB0_3:
	ldr	w12, [x12]
	and	w11, w11, w12
	orr	w8, w8, w11
	ldp	x11, x12, [x19, #8]
	str	w8, [x11]
	ldr	w8, [x10]
	asr	w8, w22, w8
	and	w8, w8, #0xff
	str	w8, [x12]
	ldr	w8, [x9]
	asr	w8, w22, w8
	and	w8, w8, #0xff
	ldr	x9, [x19, #24]
	str	w8, [x9]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SYM_BITS1_ST_SH_BIG,4,2        ; @SYM_BITS1_ST_SH_BIG
	.comm	_SYM_BITS1_ST_BIG,4,2           ; @SYM_BITS1_ST_BIG
	.comm	_SYM_BITS1_SC_SH_LEFT_BIG,4,2   ; @SYM_BITS1_SC_SH_LEFT_BIG
	.comm	_SYM_BITS1_SC_BIG,4,2           ; @SYM_BITS1_SC_BIG
	.comm	_SYM_BITS2_SC_SH_BIG,4,2        ; @SYM_BITS2_SC_SH_BIG
	.comm	_SYM_BITS2_SC_BIG,4,2           ; @SYM_BITS2_SC_BIG
	.comm	_SYM_BITS2_RESERVED_BIG,4,2     ; @SYM_BITS2_RESERVED_BIG
	.comm	_SYM_BITS2_INDEX_SH_LEFT_BIG,4,2 ; @SYM_BITS2_INDEX_SH_LEFT_BIG
	.comm	_SYM_BITS2_INDEX_BIG,4,2        ; @SYM_BITS2_INDEX_BIG
	.comm	_SYM_BITS3_INDEX_SH_LEFT_BIG,4,2 ; @SYM_BITS3_INDEX_SH_LEFT_BIG
	.comm	_SYM_BITS4_INDEX_SH_LEFT_BIG,4,2 ; @SYM_BITS4_INDEX_SH_LEFT_BIG
	.comm	_SYM_BITS1_ST_SH_LITTLE,4,2     ; @SYM_BITS1_ST_SH_LITTLE
	.comm	_SYM_BITS1_ST_LITTLE,4,2        ; @SYM_BITS1_ST_LITTLE
	.comm	_SYM_BITS1_SC_SH_LITTLE,4,2     ; @SYM_BITS1_SC_SH_LITTLE
	.comm	_SYM_BITS1_SC_LITTLE,4,2        ; @SYM_BITS1_SC_LITTLE
	.comm	_SYM_BITS2_SC_SH_LEFT_LITTLE,4,2 ; @SYM_BITS2_SC_SH_LEFT_LITTLE
	.comm	_SYM_BITS2_SC_LITTLE,4,2        ; @SYM_BITS2_SC_LITTLE
	.comm	_SYM_BITS2_RESERVED_LITTLE,4,2  ; @SYM_BITS2_RESERVED_LITTLE
	.comm	_SYM_BITS2_INDEX_SH_LITTLE,4,2  ; @SYM_BITS2_INDEX_SH_LITTLE
	.comm	_SYM_BITS2_INDEX_LITTLE,4,2     ; @SYM_BITS2_INDEX_LITTLE
	.comm	_SYM_BITS3_INDEX_SH_LEFT_LITTLE,4,2 ; @SYM_BITS3_INDEX_SH_LEFT_LITTLE
	.comm	_SYM_BITS4_INDEX_SH_LEFT_LITTLE,4,2 ; @SYM_BITS4_INDEX_SH_LEFT_LITTLE
	.no_dead_strip	_ecoff_swap_sym_out
.subsections_via_symbols
