	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_arch_by_number
_choose_arch_by_number:                 ## @choose_arch_by_number
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	%rdi, _choose_arch_by_number.hint_bfd_mach(%rip)
	jne	LBB0_3
## %bb.1:
	movq	_choose_arch_by_number.hint_arch_choice(%rip), %r12
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	cmpq	%r14, (%r12)
	je	LBB0_13
LBB0_3:
	movq	_mips_arch_choices@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:
	movl	$1, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	cmpq	$0, 8(%rdi,%rbx)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r14, (%rdi,%rbx)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rdi,%rbx), %r12
	movq	%r14, _choose_arch_by_number.hint_bfd_mach(%rip)
	movq	%r12, _choose_arch_by_number.hint_arch_choice(%rip)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r12d, %r12d
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %r13
	jae	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %rbx
	incq	%r13
	testq	%r12, %r12
	je	LBB0_5
	jmp	LBB0_13
LBB0_12:
	xorl	%r12d, %r12d
LBB0_13:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_choose_arch_by_number.hint_bfd_mach,8,3 ## @choose_arch_by_number.hint_bfd_mach
.zerofill __DATA,__bss,_choose_arch_by_number.hint_arch_choice,8,3 ## @choose_arch_by_number.hint_arch_choice
	.comm	_mips_arch_choices,8,3          ## @mips_arch_choices
	.no_dead_strip	_choose_arch_by_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_arch_by_number
_choose_arch_by_number:                 ; @choose_arch_by_number
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	adrp	x21, _choose_arch_by_number.hint_bfd_mach@PAGE
	ldr	x8, [x21, _choose_arch_by_number.hint_bfd_mach@PAGEOFF]
	adrp	x22, _choose_arch_by_number.hint_arch_choice@PAGE
	ldr	x20, [x22, _choose_arch_by_number.hint_arch_choice@PAGEOFF]
	cmp	x8, x0
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_10
LBB0_2:
Lloh0:
	adrp	x23, _mips_arch_choices@GOTPAGE
Lloh1:
	ldr	x23, [x23, _mips_arch_choices@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_9
; %bb.3:
	mov	x24, #0
	mov	w25, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, #0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_ARRAY_SIZE
	add	x24, x24, #16
	cmp	x25, w0, uxtw
	add	x25, x25, #1
	ccmp	x20, #0, #0, lo
	b.ne	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	add	x20, x0, x24
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x0, x24]
	cmp	x8, x19
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x19, [x21, _choose_arch_by_number.hint_bfd_mach@PAGEOFF]
	str	x20, [x22, _choose_arch_by_number.hint_arch_choice@PAGEOFF]
	b	LBB0_5
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_choose_arch_by_number.hint_bfd_mach,8,3 ; @choose_arch_by_number.hint_bfd_mach
.zerofill __DATA,__bss,_choose_arch_by_number.hint_arch_choice,8,3 ; @choose_arch_by_number.hint_arch_choice
	.comm	_mips_arch_choices,8,3          ; @mips_arch_choices
	.no_dead_strip	_choose_arch_by_number
.subsections_via_symbols
