	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecoff_swap_fdr_in
_ecoff_swap_fdr_in:                     ## @ecoff_swap_fdr_in
	.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	%rdx, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	16(%rsi), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	20(%rsi), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	24(%rsi), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	28(%rsi), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	32(%rsi), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	36(%rsi), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	48(%rsi), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	52(%rsi), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	56(%rsi), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	60(%rsi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	64(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	68(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	72(%rsi), %r15d
	movl	76(%rsi), %r12d
	movl	80(%rsi), %r13d
	movl	84(%rsi), %esi
	callq	_ECOFF_GET_OFF
	movq	%rax, 168(%rbx)
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_H_GET_32
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_H_GET_32
	movq	%rax, 160(%rbx)
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ECOFF_GET_OFF
	movq	%rax, 152(%rbx)
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 144(%rbx)
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 136(%rbx)
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 128(%rbx)
	movq	%r14, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 120(%rbx)
	movq	%r14, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 112(%rbx)
	movq	%r14, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 104(%rbx)
	movq	%r14, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 80(%rbx)
	movq	%r14, %rdi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 72(%rbx)
	movq	%r14, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 64(%rbx)
	movq	%r14, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	callq	_H_GET_32
	movq	%rax, 56(%rbx)
	movq	%r14, %rdi
	callq	_bfd_header_big_endian
	testq	%rax, %rax
	movq	_FDR_BITS1_LANG_BIG@GOTPCREL(%rip), %rcx
	cmoveq	_FDR_BITS1_LANG_LITTLE@GOTPCREL(%rip), %rcx
	movq	_FDR_BITS1_LANG_SH_BIG@GOTPCREL(%rip), %rdi
	cmoveq	_FDR_BITS1_LANG_SH_LITTLE@GOTPCREL(%rip), %rdi
	movq	_FDR_BITS1_FMERGE_BIG@GOTPCREL(%rip), %rax
	cmoveq	_FDR_BITS1_FMERGE_LITTLE@GOTPCREL(%rip), %rax
	movq	_FDR_BITS1_FREADIN_BIG@GOTPCREL(%rip), %r11
	cmoveq	_FDR_BITS1_FREADIN_LITTLE@GOTPCREL(%rip), %r11
	movq	_FDR_BITS1_FBIGENDIAN_BIG@GOTPCREL(%rip), %r10
	cmoveq	_FDR_BITS1_FBIGENDIAN_LITTLE@GOTPCREL(%rip), %r10
	movq	_FDR_BITS2_GLEVEL_BIG@GOTPCREL(%rip), %r8
	cmoveq	_FDR_BITS2_GLEVEL_LITTLE@GOTPCREL(%rip), %r8
	movq	_FDR_BITS2_GLEVEL_SH_BIG@GOTPCREL(%rip), %r9
	cmoveq	_FDR_BITS2_GLEVEL_SH_LITTLE@GOTPCREL(%rip), %r9
	movl	(%rcx), %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	andl	(%rdx), %esi
	movb	(%rdi), %cl
	sarl	%cl, %esi
	movl	%esi, 8(%rbx)
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rdx), %eax
	setne	%cl
	movl	%ecx, 12(%rbx)
	movl	(%r11), %eax
	xorl	%ecx, %ecx
	andl	(%rdx), %eax
	setne	%cl
	movl	%ecx, 16(%rbx)
	movl	(%r10), %eax
	xorl	%ecx, %ecx
	andl	(%rdx), %eax
	setne	%cl
	movl	%ecx, 20(%rbx)
	movl	(%r8), %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	andl	(%rcx), %eax
	movb	(%r9), %cl
	sarl	%cl, %eax
	movl	%eax, 24(%rbx)
	movq	$0, 48(%rbx)
	movq	%r14, %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	callq	_ECOFF_GET_OFF
	movq	%rax, 40(%rbx)
	movq	%r14, %rdi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	callq	_ECOFF_GET_OFF
	movq	%rax, 32(%rbx)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDR_BITS1_LANG_BIG,4,2         ## @FDR_BITS1_LANG_BIG
	.comm	_FDR_BITS1_LANG_SH_BIG,4,2      ## @FDR_BITS1_LANG_SH_BIG
	.comm	_FDR_BITS1_FMERGE_BIG,4,2       ## @FDR_BITS1_FMERGE_BIG
	.comm	_FDR_BITS1_FREADIN_BIG,4,2      ## @FDR_BITS1_FREADIN_BIG
	.comm	_FDR_BITS1_FBIGENDIAN_BIG,4,2   ## @FDR_BITS1_FBIGENDIAN_BIG
	.comm	_FDR_BITS2_GLEVEL_BIG,4,2       ## @FDR_BITS2_GLEVEL_BIG
	.comm	_FDR_BITS2_GLEVEL_SH_BIG,4,2    ## @FDR_BITS2_GLEVEL_SH_BIG
	.comm	_FDR_BITS1_LANG_LITTLE,4,2      ## @FDR_BITS1_LANG_LITTLE
	.comm	_FDR_BITS1_LANG_SH_LITTLE,4,2   ## @FDR_BITS1_LANG_SH_LITTLE
	.comm	_FDR_BITS1_FMERGE_LITTLE,4,2    ## @FDR_BITS1_FMERGE_LITTLE
	.comm	_FDR_BITS1_FREADIN_LITTLE,4,2   ## @FDR_BITS1_FREADIN_LITTLE
	.comm	_FDR_BITS1_FBIGENDIAN_LITTLE,4,2 ## @FDR_BITS1_FBIGENDIAN_LITTLE
	.comm	_FDR_BITS2_GLEVEL_LITTLE,4,2    ## @FDR_BITS2_GLEVEL_LITTLE
	.comm	_FDR_BITS2_GLEVEL_SH_LITTLE,4,2 ## @FDR_BITS2_GLEVEL_SH_LITTLE
	.no_dead_strip	_ecoff_swap_fdr_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecoff_swap_fdr_in
_ecoff_swap_fdr_in:                     ; @ecoff_swap_fdr_in
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x2
	mov	x20, x0
	ldp	x28, x8, [x1]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w9, [x1, #16]
	ldr	w8, [x1, #20]
	stp	w8, w9, [sp, #40]               ; 8-byte Folded Spill
	ldr	w9, [x1, #24]
	ldr	w8, [x1, #28]
	stp	w8, w9, [sp, #24]               ; 8-byte Folded Spill
	ldr	w9, [x1, #32]
	ldr	w8, [x1, #36]
	stp	w8, w9, [sp, #16]               ; 8-byte Folded Spill
	ldr	w9, [x1, #48]
	ldp	w8, w21, [x1, #52]
	stp	w8, w9, [sp, #8]                ; 8-byte Folded Spill
	ldp	w22, w23, [x1, #60]
	ldp	w24, w25, [x1, #68]
	ldp	w26, w27, [x1, #76]
	ldr	w1, [x1, #84]
	bl	_ECOFF_GET_OFF
	str	x0, [x19, #168]
	mov	x0, x20
	mov	x1, x27
	bl	_H_GET_32
	str	x0, [x19]
	mov	x0, x20
	mov	x1, x26
	bl	_H_GET_32
	str	x0, [x19, #160]
	mov	x0, x20
	mov	x1, x25
	bl	_ECOFF_GET_OFF
	str	x0, [x19, #152]
	mov	x0, x20
	mov	x1, x24
	bl	_H_GET_32
	str	x0, [x19, #144]
	mov	x0, x20
	mov	x1, x23
	bl	_H_GET_32
	str	x0, [x19, #136]
	mov	x0, x20
	mov	x1, x22
	bl	_H_GET_32
	str	x0, [x19, #128]
	mov	x0, x20
	mov	x1, x21
	bl	_H_GET_32
	str	x0, [x19, #120]
	mov	x0, x20
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	bl	_H_GET_32
	str	x0, [x19, #112]
	mov	x0, x20
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_H_GET_32
	str	x0, [x19, #104]
	mov	x0, x20
	ldr	w1, [sp, #16]                   ; 4-byte Folded Reload
	bl	_H_GET_32
	str	x0, [x19, #80]
	mov	x0, x20
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_H_GET_32
	str	x0, [x19, #72]
	mov	x0, x20
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	bl	_H_GET_32
	str	x0, [x19, #64]
	mov	x0, x20
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_H_GET_32
	str	x0, [x19, #56]
	mov	x0, x20
	bl	_bfd_header_big_endian
Lloh0:
	adrp	x8, _FDR_BITS1_LANG_LITTLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDR_BITS1_LANG_LITTLE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _FDR_BITS1_LANG_BIG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FDR_BITS1_LANG_BIG@GOTPAGEOFF]
	ldr	w10, [x28]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _FDR_BITS1_LANG_SH_LITTLE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FDR_BITS1_LANG_SH_LITTLE@GOTPAGEOFF]
	and	w8, w8, w10
Lloh6:
	adrp	x10, _FDR_BITS1_LANG_SH_BIG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FDR_BITS1_LANG_SH_BIG@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	asr	w8, w8, w9
	str	w8, [x19, #8]
	ldr	w8, [x28]
Lloh8:
	adrp	x9, _FDR_BITS1_FMERGE_LITTLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FDR_BITS1_FMERGE_LITTLE@GOTPAGEOFF]
Lloh10:
	adrp	x10, _FDR_BITS1_FMERGE_BIG@GOTPAGE
Lloh11:
	ldr	x10, [x10, _FDR_BITS1_FMERGE_BIG@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _FDR_BITS1_FREADIN_LITTLE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FDR_BITS1_FREADIN_LITTLE@GOTPAGEOFF]
Lloh14:
	adrp	x11, _FDR_BITS1_FREADIN_BIG@GOTPAGE
Lloh15:
	ldr	x11, [x11, _FDR_BITS1_FREADIN_BIG@GOTPAGEOFF]
	csel	x10, x10, x11, eq
Lloh16:
	adrp	x11, _FDR_BITS1_FBIGENDIAN_LITTLE@GOTPAGE
Lloh17:
	ldr	x11, [x11, _FDR_BITS1_FBIGENDIAN_LITTLE@GOTPAGEOFF]
Lloh18:
	adrp	x12, _FDR_BITS1_FBIGENDIAN_BIG@GOTPAGE
Lloh19:
	ldr	x12, [x12, _FDR_BITS1_FBIGENDIAN_BIG@GOTPAGEOFF]
	csel	x11, x11, x12, eq
Lloh20:
	adrp	x12, _FDR_BITS2_GLEVEL_LITTLE@GOTPAGE
Lloh21:
	ldr	x12, [x12, _FDR_BITS2_GLEVEL_LITTLE@GOTPAGEOFF]
Lloh22:
	adrp	x13, _FDR_BITS2_GLEVEL_BIG@GOTPAGE
Lloh23:
	ldr	x13, [x13, _FDR_BITS2_GLEVEL_BIG@GOTPAGEOFF]
Lloh24:
	adrp	x14, _FDR_BITS2_GLEVEL_SH_LITTLE@GOTPAGE
Lloh25:
	ldr	x14, [x14, _FDR_BITS2_GLEVEL_SH_LITTLE@GOTPAGEOFF]
	csel	x12, x12, x13, eq
Lloh26:
	adrp	x13, _FDR_BITS2_GLEVEL_SH_BIG@GOTPAGE
Lloh27:
	ldr	x13, [x13, _FDR_BITS2_GLEVEL_SH_BIG@GOTPAGEOFF]
	csel	x13, x14, x13, eq
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #12]
	ldr	w8, [x28]
	ldr	w9, [x10]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #16]
	ldr	w8, [x28]
	ldr	w9, [x11]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #20]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	ldr	w9, [x12]
	and	w8, w9, w8
	ldr	w9, [x13]
	asr	w8, w8, w9
	str	w8, [x19, #24]
	str	xzr, [x19, #48]
	mov	x0, x20
	ldr	w1, [sp, #40]                   ; 4-byte Folded Reload
	bl	_ECOFF_GET_OFF
	str	x0, [x19, #40]
	mov	x0, x20
	ldr	w1, [sp, #44]                   ; 4-byte Folded Reload
	bl	_ECOFF_GET_OFF
	str	x0, [x19, #32]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FDR_BITS1_LANG_BIG,4,2         ; @FDR_BITS1_LANG_BIG
	.comm	_FDR_BITS1_LANG_SH_BIG,4,2      ; @FDR_BITS1_LANG_SH_BIG
	.comm	_FDR_BITS1_FMERGE_BIG,4,2       ; @FDR_BITS1_FMERGE_BIG
	.comm	_FDR_BITS1_FREADIN_BIG,4,2      ; @FDR_BITS1_FREADIN_BIG
	.comm	_FDR_BITS1_FBIGENDIAN_BIG,4,2   ; @FDR_BITS1_FBIGENDIAN_BIG
	.comm	_FDR_BITS2_GLEVEL_BIG,4,2       ; @FDR_BITS2_GLEVEL_BIG
	.comm	_FDR_BITS2_GLEVEL_SH_BIG,4,2    ; @FDR_BITS2_GLEVEL_SH_BIG
	.comm	_FDR_BITS1_LANG_LITTLE,4,2      ; @FDR_BITS1_LANG_LITTLE
	.comm	_FDR_BITS1_LANG_SH_LITTLE,4,2   ; @FDR_BITS1_LANG_SH_LITTLE
	.comm	_FDR_BITS1_FMERGE_LITTLE,4,2    ; @FDR_BITS1_FMERGE_LITTLE
	.comm	_FDR_BITS1_FREADIN_LITTLE,4,2   ; @FDR_BITS1_FREADIN_LITTLE
	.comm	_FDR_BITS1_FBIGENDIAN_LITTLE,4,2 ; @FDR_BITS1_FBIGENDIAN_LITTLE
	.comm	_FDR_BITS2_GLEVEL_LITTLE,4,2    ; @FDR_BITS2_GLEVEL_LITTLE
	.comm	_FDR_BITS2_GLEVEL_SH_LITTLE,4,2 ; @FDR_BITS2_GLEVEL_SH_LITTLE
	.no_dead_strip	_ecoff_swap_fdr_in
.subsections_via_symbols
