	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecoff_swap_opt_out
_ecoff_swap_opt_out:                    ## @ecoff_swap_opt_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	$32, %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)
	movl	8(%rsi), %eax
	movl	%eax, -32(%rbp)
	movq	(%rsi), %rax
	movq	%rax, -40(%rbp)
	callq	_bfd_header_big_endian
	movl	-32(%rbp), %ecx
	movq	32(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	-40(%rbp), %edx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_OPT_BITS2_VALUE_SH_LEFT_BIG@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movq	(%rbx), %rax
	movl	%edx, (%rax)
	movl	-40(%rbp), %eax
	movq	_OPT_BITS3_VALUE_SH_LEFT_BIG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_OPT_BITS4_VALUE_SH_LEFT_BIG@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_OPT_BITS2_VALUE_SH_LEFT_LITTLE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movq	(%rbx), %rax
	movl	%edx, (%rax)
	movl	-40(%rbp), %eax
	movq	_OPT_BITS3_VALUE_SH_LEFT_LITTLE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_OPT_BITS4_VALUE_SH_LEFT_LITTLE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	-40(%rbp), %eax
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_bfd_header_big_endian
	leaq	-36(%rbp), %rsi
	leaq	28(%rbx), %rdx
	movq	%rax, %rdi
	callq	__bfd_ecoff_swap_rndx_out
	movl	-40(%rbp), %esi
	movl	24(%rbx), %edx
	movq	%r14, %rdi
	callq	_H_PUT_32
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OPT_BITS2_VALUE_SH_LEFT_BIG,4,2 ## @OPT_BITS2_VALUE_SH_LEFT_BIG
	.comm	_OPT_BITS3_VALUE_SH_LEFT_BIG,4,2 ## @OPT_BITS3_VALUE_SH_LEFT_BIG
	.comm	_OPT_BITS4_VALUE_SH_LEFT_BIG,4,2 ## @OPT_BITS4_VALUE_SH_LEFT_BIG
	.comm	_OPT_BITS2_VALUE_SH_LEFT_LITTLE,4,2 ## @OPT_BITS2_VALUE_SH_LEFT_LITTLE
	.comm	_OPT_BITS3_VALUE_SH_LEFT_LITTLE,4,2 ## @OPT_BITS3_VALUE_SH_LEFT_LITTLE
	.comm	_OPT_BITS4_VALUE_SH_LEFT_LITTLE,4,2 ## @OPT_BITS4_VALUE_SH_LEFT_LITTLE
	.no_dead_strip	_ecoff_swap_opt_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_opt_out
_ecoff_swap_opt_out:                    ; @ecoff_swap_opt_out
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x1]
	str	x8, [sp, #8]
	ldr	w8, [x1, #8]
	str	w8, [sp, #16]
	bl	_bfd_header_big_endian
	ldr	w8, [sp, #16]
	ldr	x9, [x20, #32]
	str	w8, [x9]
	ldr	w8, [sp, #8]
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _OPT_BITS2_VALUE_SH_LEFT_BIG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OPT_BITS2_VALUE_SH_LEFT_BIG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldr	x9, [x20]
	str	w8, [x9]
	ldr	w8, [sp, #8]
Lloh6:
	adrp	x9, _OPT_BITS3_VALUE_SH_LEFT_BIG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OPT_BITS3_VALUE_SH_LEFT_BIG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldr	x9, [x20, #8]
	str	w8, [x9]
Lloh9:
	adrp	x8, _OPT_BITS4_VALUE_SH_LEFT_BIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPT_BITS4_VALUE_SH_LEFT_BIG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x9, _OPT_BITS2_VALUE_SH_LEFT_LITTLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OPT_BITS2_VALUE_SH_LEFT_LITTLE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldr	x9, [x20]
	str	w8, [x9]
	ldr	w8, [sp, #8]
Lloh14:
	adrp	x9, _OPT_BITS3_VALUE_SH_LEFT_LITTLE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OPT_BITS3_VALUE_SH_LEFT_LITTLE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldr	x9, [x20, #8]
	str	w8, [x9]
Lloh17:
	adrp	x8, _OPT_BITS4_VALUE_SH_LEFT_LITTLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OPT_BITS4_VALUE_SH_LEFT_LITTLE@GOTPAGEOFF]
LBB0_3:
	ldr	w9, [sp, #8]
	ldr	w8, [x8]
	asr	w8, w9, w8
	ldr	x9, [x20, #16]
	str	w8, [x9]
	mov	x0, x19
	bl	_bfd_header_big_endian
	add	x8, sp, #8
	orr	x1, x8, #0x4
	add	x2, x20, #28
	bl	__bfd_ecoff_swap_rndx_out
	ldr	w1, [sp, #8]
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_H_PUT_32
	ldr	x8, [sp, #24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_OPT_BITS2_VALUE_SH_LEFT_BIG,4,2 ; @OPT_BITS2_VALUE_SH_LEFT_BIG
	.comm	_OPT_BITS3_VALUE_SH_LEFT_BIG,4,2 ; @OPT_BITS3_VALUE_SH_LEFT_BIG
	.comm	_OPT_BITS4_VALUE_SH_LEFT_BIG,4,2 ; @OPT_BITS4_VALUE_SH_LEFT_BIG
	.comm	_OPT_BITS2_VALUE_SH_LEFT_LITTLE,4,2 ; @OPT_BITS2_VALUE_SH_LEFT_LITTLE
	.comm	_OPT_BITS3_VALUE_SH_LEFT_LITTLE,4,2 ; @OPT_BITS3_VALUE_SH_LEFT_LITTLE
	.comm	_OPT_BITS4_VALUE_SH_LEFT_LITTLE,4,2 ; @OPT_BITS4_VALUE_SH_LEFT_LITTLE
	.no_dead_strip	_ecoff_swap_opt_out
.subsections_via_symbols
