	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_emulation
_get_emulation:                         ## @get_emulation
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_EMULATION_ENVIRON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_DEFAULT_EMULATION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r14d
	jl	LBB0_22
## %bb.3:
	leal	-1(%r14), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$1, %r13d
	leaq	L_.str(%rip), %r12
	jmp	LBB0_4
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_einfo
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	cmpl	%r14d, %r13d
	jge	LBB0_22
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %r15
	movq	(%rbx,%r15,8), %rdi
	movq	%r12, %rsi
	callq	_CONST_STRNEQ
	testq	%rax, %rax
	je	LBB0_21
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	cmpb	$0, 2(%rdi)
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rax
	addq	$2, %rax
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	movq	8(%rbx,%r15,8), %rax
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_21
LBB0_22:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMULATION_ENVIRON,4,2          ## @EMULATION_ENVIRON
	.comm	_DEFAULT_EMULATION,8,3          ## @DEFAULT_EMULATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-m"

L_.str.1:                               ## @.str.1
	.asciz	"%P%F: missing argument to -m\n"

L_.str.2:                               ## @.str.2
	.asciz	"-mips1"

L_.str.3:                               ## @.str.3
	.asciz	"-mips2"

L_.str.4:                               ## @.str.4
	.asciz	"-mips3"

L_.str.5:                               ## @.str.5
	.asciz	"-mips4"

L_.str.6:                               ## @.str.6
	.asciz	"-mips5"

L_.str.7:                               ## @.str.7
	.asciz	"-mips32"

L_.str.8:                               ## @.str.8
	.asciz	"-mips32r2"

L_.str.9:                               ## @.str.9
	.asciz	"-mips64"

L_.str.10:                              ## @.str.10
	.asciz	"-mips64r2"

L_.str.11:                              ## @.str.11
	.asciz	"-m486"

	.no_dead_strip	_get_emulation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_emulation
_get_emulation:                         ; @get_emulation
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _EMULATION_ENVIRON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMULATION_ENVIRON@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_getenv
Lloh3:
	adrp	x8, _DEFAULT_EMULATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEFAULT_EMULATION@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x21, x8, x0, eq
	cmp	w20, #2
	b.lt	LBB0_19
; %bb.1:
	sub	w28, w20, #1
	mov	w27, #1
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
Lloh8:
	adrp	x24, l_.str.2@PAGE
Lloh9:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh10:
	adrp	x25, l_.str.3@PAGE
Lloh11:
	add	x25, x25, l_.str.3@PAGEOFF
Lloh12:
	adrp	x26, l_.str.4@PAGE
Lloh13:
	add	x26, x26, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_einfo
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w27, #1
	cmp	w27, w20
	b.ge	LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, w27, sxtw #3]
	mov	x1, x22
	bl	_CONST_STRNEQ
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x23, w27
	ldr	x0, [x19, x23, lsl #3]
	ldrb	w8, [x0, #2]
	cbz	w8, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
	mov	x1, x25
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
	mov	x1, x26
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x23, lsl #3]
Lloh28:
	adrp	x1, l_.str.11@PAGE
Lloh29:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, x23, lsl #3]
	add	x21, x8, #2
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w27, w28
	b.ge	LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x23, #1
	ldr	x21, [x19, x27, lsl #3]
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	b	LBB0_3
LBB0_19:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_EMULATION_ENVIRON,4,2          ; @EMULATION_ENVIRON
	.comm	_DEFAULT_EMULATION,8,3          ; @DEFAULT_EMULATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-m"

l_.str.1:                               ; @.str.1
	.asciz	"%P%F: missing argument to -m\n"

l_.str.2:                               ; @.str.2
	.asciz	"-mips1"

l_.str.3:                               ; @.str.3
	.asciz	"-mips2"

l_.str.4:                               ; @.str.4
	.asciz	"-mips3"

l_.str.5:                               ; @.str.5
	.asciz	"-mips4"

l_.str.6:                               ; @.str.6
	.asciz	"-mips5"

l_.str.7:                               ; @.str.7
	.asciz	"-mips32"

l_.str.8:                               ; @.str.8
	.asciz	"-mips32r2"

l_.str.9:                               ; @.str.9
	.asciz	"-mips64"

l_.str.10:                              ; @.str.10
	.asciz	"-mips64r2"

l_.str.11:                              ; @.str.11
	.asciz	"-m486"

	.no_dead_strip	_get_emulation
.subsections_via_symbols
