	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_target_format             ## -- Begin function mips_target_format
	.p2align	4, 0x90
_mips_target_format:                    ## @mips_target_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_OUTPUT_FLAVOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_13
## %bb.4:
	movq	_target_big_endian@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.6:
	movq	_ECOFF_LITTLE_FORMAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_7:
	movq	_target_big_endian@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_HAVE_64BIT_OBJECTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_10
## %bb.8:
	testl	%eax, %eax
	je	LBB0_14
## %bb.9:
	leaq	L_.str.2(%rip), %rax
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rax
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
LBB0_10:
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rax
	popq	%rbp
	retq
LBB0_14:
	movq	_HAVE_NEWABI@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	movq	_HAVE_NEWABI@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	leaq	L_.str.7(%rip), %rcx
	leaq	L_.str.6(%rip), %rax
LBB0_15:
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
LBB0_13:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_OUTPUT_FLAVOR,4,2              ## @OUTPUT_FLAVOR
	.comm	_target_big_endian,4,2          ## @target_big_endian
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ecoff-bigmips"

	.comm	_ECOFF_LITTLE_FORMAT,8,3        ## @ECOFF_LITTLE_FORMAT
L_.str.1:                               ## @.str.1
	.asciz	"pe-mips"

	.comm	_HAVE_64BIT_OBJECTS,4,2         ## @HAVE_64BIT_OBJECTS
L_.str.2:                               ## @.str.2
	.asciz	"elf64-bigmips"

	.comm	_HAVE_NEWABI,4,2                ## @HAVE_NEWABI
L_.str.3:                               ## @.str.3
	.asciz	"elf32-nbigmips"

L_.str.4:                               ## @.str.4
	.asciz	"elf32-bigmips"

L_.str.5:                               ## @.str.5
	.asciz	"elf64-littlemips"

L_.str.6:                               ## @.str.6
	.asciz	"elf32-nlittlemips"

L_.str.7:                               ## @.str.7
	.asciz	"elf32-littlemips"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_target_format             ; -- Begin function mips_target_format
	.p2align	2
_mips_target_format:                    ; @mips_target_format
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _OUTPUT_FLAVOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OUTPUT_FLAVOR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.3:
Lloh3:
	adrp	x8, _target_big_endian@GOTPAGE
Lloh4:
	ldr	x8, [x8, _target_big_endian@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ECOFF_LITTLE_FORMAT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ECOFF_LITTLE_FORMAT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, l_.str@PAGE
Lloh10:
	add	x10, x10, l_.str@PAGEOFF
	cmp	w8, #0
	csel	x0, x9, x10, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh11:
	adrp	x8, _target_big_endian@GOTPAGE
Lloh12:
	ldr	x8, [x8, _target_big_endian@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x8]
Lloh14:
	adrp	x8, _HAVE_64BIT_OBJECTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HAVE_64BIT_OBJECTS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cbz	w9, LBB0_8
; %bb.5:
	cbz	w8, LBB0_10
; %bb.6:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	cbz	w8, LBB0_11
; %bb.9:
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh23:
	adrp	x8, _HAVE_NEWABI@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HAVE_NEWABI@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, l_.str.3@PAGE
Lloh27:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh28:
	adrp	x10, l_.str.4@PAGE
Lloh29:
	add	x10, x10, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh30:
	adrp	x8, _HAVE_NEWABI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HAVE_NEWABI@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, l_.str.6@PAGE
Lloh34:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh35:
	adrp	x10, l_.str.7@PAGE
Lloh36:
	add	x10, x10, l_.str.7@PAGEOFF
LBB0_12:
	cmp	w8, #0
	csel	x0, x10, x9, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_OUTPUT_FLAVOR,4,2              ; @OUTPUT_FLAVOR
	.comm	_target_big_endian,4,2          ; @target_big_endian
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ecoff-bigmips"

	.comm	_ECOFF_LITTLE_FORMAT,8,3        ; @ECOFF_LITTLE_FORMAT
l_.str.1:                               ; @.str.1
	.asciz	"pe-mips"

	.comm	_HAVE_64BIT_OBJECTS,4,2         ; @HAVE_64BIT_OBJECTS
l_.str.2:                               ; @.str.2
	.asciz	"elf64-bigmips"

	.comm	_HAVE_NEWABI,4,2                ; @HAVE_NEWABI
l_.str.3:                               ; @.str.3
	.asciz	"elf32-nbigmips"

l_.str.4:                               ; @.str.4
	.asciz	"elf32-bigmips"

l_.str.5:                               ; @.str.5
	.asciz	"elf64-littlemips"

l_.str.6:                               ; @.str.6
	.asciz	"elf32-nlittlemips"

l_.str.7:                               ; @.str.7
	.asciz	"elf32-littlemips"

.subsections_via_symbols
