	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecoff_swap_opt_in
_ecoff_swap_opt_in:                     ## @ecoff_swap_opt_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	%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)
	movq	32(%rsi), %rax
	movq	%rax, -32(%rbp)
	movups	(%rsi), %xmm0
	movups	16(%rsi), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	callq	_bfd_header_big_endian
	movq	-32(%rbp), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx
	orl	(%rcx), %edx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_OPT_BITS2_VALUE_SH_LEFT_LITTLE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OPT_BITS2_VALUE_SH_LEFT_BIG@GOTPCREL(%rip), %rax
LBB0_3:
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	%edx, (%rbx)
	movq	%r14, %rdi
	callq	_bfd_header_big_endian
	leaq	-36(%rbp), %rsi
	leaq	8(%rbx), %rdx
	movq	%rax, %rdi
	callq	__bfd_ecoff_swap_rndx_in
	movl	-40(%rbp), %esi
	movq	%r14, %rdi
	callq	_H_GET_32
	movl	%eax, 4(%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$48, %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_BITS2_VALUE_SH_LEFT_LITTLE,4,2 ## @OPT_BITS2_VALUE_SH_LEFT_LITTLE
	.no_dead_strip	_ecoff_swap_opt_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_opt_in
_ecoff_swap_opt_in:                     ; @ecoff_swap_opt_in
	.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]
	ldr	x8, [x1, #32]
	str	x8, [sp, #32]
	bl	_bfd_header_big_endian
	ldr	x8, [sp, #32]
	ldp	x11, x9, [sp, #8]
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh3:
	adrp	x8, _OPT_BITS2_VALUE_SH_LEFT_LITTLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPT_BITS2_VALUE_SH_LEFT_LITTLE@GOTPAGEOFF]
	ldr	x10, [sp]
	ldr	w10, [x10]
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh5:
	adrp	x11, _OPT_BITS2_VALUE_SH_LEFT_BIG@GOTPAGE
Lloh6:
	ldr	x11, [x11, _OPT_BITS2_VALUE_SH_LEFT_BIG@GOTPAGEOFF]
	ldr	w9, [x9]
	orr	w9, w10, w9
	cmp	x0, #0
	csel	x8, x8, x11, eq
	ldr	w8, [x8]
	lsl	w8, w9, w8
	str	w8, [x19]
	mov	x0, x20
	bl	_bfd_header_big_endian
	mov	x8, sp
	add	x1, x8, #28
	add	x2, x19, #8
	bl	__bfd_ecoff_swap_rndx_in
	ldr	w1, [sp, #24]
	mov	x0, x20
	bl	_H_GET_32
	str	w0, [x19, #4]
	ldur	x8, [x29, #-24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPT_BITS2_VALUE_SH_LEFT_BIG,4,2 ; @OPT_BITS2_VALUE_SH_LEFT_BIG
	.comm	_OPT_BITS2_VALUE_SH_LEFT_LITTLE,4,2 ; @OPT_BITS2_VALUE_SH_LEFT_LITTLE
	.no_dead_strip	_ecoff_swap_opt_in
.subsections_via_symbols
