	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_open
_mips_open:                             ## @mips_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edx
	movq	%rdi, %rsi
	movq	_TARGET_ARCHITECTURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str.1(%rip), %r8
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rcx
	movq	_bfd_arch_mips@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_3
## %bb.2:
	movl	8(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmovbq	%rax, %r8
LBB0_3:
	movq	_MON_IDT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_mips_ops@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_common_open                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_ARCHITECTURE,8,3        ## @TARGET_ARCHITECTURE
	.comm	_bfd_arch_mips,8,3              ## @bfd_arch_mips
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<RISQ> "

L_.str.1:                               ## @.str.1
	.asciz	"<IDT>"

	.comm	_mips_ops,4,2                   ## @mips_ops
	.comm	_MON_IDT,4,2                    ## @MON_IDT
	.no_dead_strip	_mips_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_open
_mips_open:                             ; @mips_open
	.cfi_startproc
; %bb.0:
	mov	x2, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _TARGET_ARCHITECTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_ARCHITECTURE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8]
Lloh3:
	adrp	x10, _bfd_arch_mips@GOTPAGE
Lloh4:
	ldr	x10, [x10, _bfd_arch_mips@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x4, l_.str.1@PAGE
Lloh7:
	add	x4, x4, l_.str.1@PAGEOFF
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x8, #8]
	sub	w8, w8, #128
Lloh8:
	adrp	x9, l_.str@PAGE
Lloh9:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w8, #5
	csel	x4, x9, x4, lo
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x4, l_.str.1@PAGE
Lloh11:
	add	x4, x4, l_.str.1@PAGEOFF
LBB0_4:
Lloh12:
	adrp	x8, _MON_IDT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MON_IDT@GOTPAGEOFF]
Lloh14:
	adrp	x0, _mips_ops@GOTPAGE
Lloh15:
	ldr	x0, [x0, _mips_ops@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	b	_common_open
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_ARCHITECTURE,8,3        ; @TARGET_ARCHITECTURE
	.comm	_bfd_arch_mips,8,3              ; @bfd_arch_mips
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<RISQ> "

l_.str.1:                               ; @.str.1
	.asciz	"<IDT>"

	.comm	_mips_ops,4,2                   ; @mips_ops
	.comm	_MON_IDT,4,2                    ; @MON_IDT
	.no_dead_strip	_mips_open
.subsections_via_symbols
