	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_imps                      ## -- Begin function find_imps
	.p2align	4, 0x90
_find_imps:                             ## @find_imps
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, %rbx
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movb	$0, -41(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -88(%rbp)
	movl	$0, -68(%rbp)
	movl	$0, -52(%rbp)
	xorl	%edi, %edi
	testq	%r8, %r8
	setne	%dil
	callq	_gdb_assert
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_gdb_assert
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	$0, (%rbx)
LBB0_2:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	movl	$0, (%r13)
LBB0_4:
	movq	%r14, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_alloca
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_strcpy
	leaq	-41(%rbp), %rsi
	leaq	-120(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	leaq	-88(%rbp), %r8
	movq	%rbx, %rdi
	callq	_parse_method
	testq	%rax, %rax
	je	LBB0_5
LBB0_12:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %rbx
	testq	%r12, %r12
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_19
LBB0_13:
	movsbl	-41(%rbp), %esi
	movq	-120(%rbp), %rdx
	movq	-112(%rbp), %rcx
	movq	-88(%rbp), %r8
	leaq	-52(%rbp), %rax
	leaq	-68(%rbp), %r10
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	callq	_find_methods
	addq	$16, %rsp
	movl	-68(%rbp), %eax
	movl	-52(%rbp), %r12d
	movb	$1, %cl
	movl	%eax, %edx
	orl	%r12d, %edx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	jne	LBB0_25
	jmp	LBB0_37
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strcpy
	leaq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_parse_selector
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rdi
	movq	_VAR_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_lookup_symbol
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	testq	%r12, %r12
	je	LBB0_9
## %bb.17:
	movq	%rax, (%rbx)
	movl	$1, %r15d
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_18
LBB0_6:
	xorl	%r14d, %r14d
	jmp	LBB0_37
LBB0_10:
	movq	-88(%rbp), %rdi
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_lookup_minimal_symbol
	testq	%rax, %rax
	je	LBB0_11
## %bb.14:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	testq	%r12, %r12
	je	LBB0_15
## %bb.16:
	movq	%rax, (%rbx)
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %r15d
LBB0_18:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_19:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movsbl	-41(%rbp), %esi
	movq	-120(%rbp), %rdx
	movq	-112(%rbp), %rcx
	movq	-88(%rbp), %r8
	movl	%r15d, %eax
	movq	%rbx, %r13
	leaq	(%rbx,%rax,8), %r9
	leaq	-52(%rbp), %rax
	leaq	-68(%rbp), %rbx
	pushq	%rax
	pushq	%rbx
	callq	_find_methods
	addq	$16, %rsp
	movl	-68(%rbp), %eax
	movl	-52(%rbp), %r12d
	movl	%eax, %ecx
	orl	%r12d, %ecx
	je	LBB0_37
## %bb.20:
	xorl	%ecx, %ecx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	cmpl	%r15d, %edi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	jae	LBB0_21
## %bb.22:
	testl	%r12d, %r12d
	movq	%r13, %rbx
	je	LBB0_24
## %bb.23:
	movl	%edi, %ecx
	incl	%edi
	leal	(%r12,%r15), %edx
	decl	%edx
	movl	%r12d, %esi
	decl	%esi
	movq	(%rbx,%rdx,8), %r8
	movq	(%r13,%rcx,8), %rbx
	movq	%rbx, (%r13,%rdx,8)
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	%r13, %rbx
	movq	%r8, (%r13,%rcx,8)
	movl	%esi, -52(%rbp)
	movl	$1, %r15d
	xorl	%ecx, %ecx
	movl	%esi, %r12d
	jmp	LBB0_24
LBB0_21:
	movq	%r13, %rbx
LBB0_24:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_25:
	addl	%eax, %r15d
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.26:
	movl	%r15d, (%rdx)
LBB0_27:
	addl	%edi, %r12d
	testq	%r13, %r13
	je	LBB0_29
## %bb.28:
	movl	%r12d, (%r13)
LBB0_29:
	testb	%cl, %cl
	je	LBB0_31
## %bb.30:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	subq	-96(%rbp), %rax                 ## 8-byte Folded Reload
	addq	%rax, %r14
	jmp	LBB0_37
LBB0_31:
	cmpl	$2, %r15d
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	jb	LBB0_36
## %bb.32:
	cmpl	$2, %r12d
	jb	LBB0_34
## %bb.33:
	movq	_compare_classes@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$8, %edx
	callq	_qsort
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
LBB0_34:
	movl	%r15d, %esi
	subl	%r12d, %esi
	cmpl	$2, %esi
	jb	LBB0_36
## %bb.35:
	movl	%r12d, %eax
	leaq	(%rbx,%rax,8), %rdi
	movq	_compare_classes@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_qsort
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
LBB0_36:
	movl	%r15d, %eax
	movq	$0, (%rbx,%rax,8)
	subq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	addq	%rcx, %r14
LBB0_37:
	movq	%r14, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	$1, %r15d
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_11:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_15:
	movl	$1, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_VAR_DOMAIN,4,2                 ## @VAR_DOMAIN
	.comm	_compare_classes,4,2            ## @compare_classes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_imps                      ; -- Begin function find_imps
	.p2align	2
_find_imps:                             ; @find_imps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x5
	mov	x23, x4
	mov	x20, x3
	mov	x19, x2
	mov	x26, x1
	mov	x25, x0
	strb	wzr, [sp, #47]
	stp	xzr, xzr, [sp, #24]
	stp	xzr, xzr, [sp, #8]
	cmp	x4, #0
	cset	w0, ne
	bl	_gdb_assert
	cmp	x21, #0
	cset	w0, ne
	bl	_gdb_assert
	cbz	x23, LBB0_2
; %bb.1:
	str	wzr, [x23]
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
	str	wzr, [x21]
LBB0_4:
	mov	x0, x19
	bl	_strlen
	add	x0, x0, #1
	bl	_alloca
	mov	x22, x0
	mov	x1, x19
	bl	_strcpy
	add	x1, sp, #47
	add	x2, sp, #32
	add	x3, sp, #24
	add	x4, sp, #16
	mov	x0, x22
	bl	_parse_method
	mov	x24, x0
	cbz	x0, LBB0_10
LBB0_5:
	mov	w27, #0
	mov	w26, #0
	cbz	x20, LBB0_20
LBB0_6:
	ldrsb	w1, [sp, #47]
	ldp	x3, x2, [sp, #24]
	add	x5, x20, w27, uxtw #3
	ldr	x4, [sp, #16]
	add	x6, sp, #12
	add	x7, sp, #8
	mov	x0, x25
	bl	_find_methods
	ldp	w8, w10, [sp, #8]
	orr	w9, w10, w8
	cbz	w9, LBB0_34
; %bb.7:
	mov	w9, #0
	cmp	w26, w27
	b.hs	LBB0_22
; %bb.8:
	cbz	w8, LBB0_22
; %bb.9:
	mov	w9, #0
	sub	w8, w8, #1
	add	w11, w8, w27
	lsl	x11, x11, #3
	ldr	x12, [x20, x11]
	mov	w13, w26
	lsl	x13, x13, #3
	ldr	x14, [x20, x13]
	str	x14, [x20, x11]
	add	w26, w26, #1
	str	x12, [x20, x13]
	str	w8, [sp, #8]
	mov	w27, #1
	b	LBB0_22
LBB0_10:
	mov	x0, x22
	mov	x1, x19
	bl	_strcpy
	add	x1, sp, #16
	mov	x0, x22
	bl	_parse_selector
	cbz	x0, LBB0_14
; %bb.11:
	mov	x24, x0
	ldr	x0, [sp, #16]
Lloh0:
	adrp	x8, _VAR_DOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VAR_DOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x26
	mov	w3, #0
	mov	x4, #0
	bl	_lookup_symbol
	cbz	x0, LBB0_15
; %bb.12:
	cbz	x20, LBB0_18
; %bb.13:
	str	x0, [x20]
	mov	w27, #1
	mov	w26, #1
	b	LBB0_6
LBB0_14:
	mov	x19, #0
	b	LBB0_34
LBB0_15:
	ldr	x0, [sp, #16]
	mov	w1, #0
	mov	w2, #0
	bl	_lookup_minimal_symbol
	cbz	x0, LBB0_5
; %bb.16:
	mov	w26, #0
	cbz	x20, LBB0_19
; %bb.17:
	str	x0, [x20]
	mov	w27, #1
	b	LBB0_6
LBB0_18:
	mov	w27, #1
	mov	w26, #1
	b	LBB0_20
LBB0_19:
	mov	w27, #1
LBB0_20:
	ldrsb	w1, [sp, #47]
	ldp	x3, x2, [sp, #24]
	ldr	x4, [sp, #16]
	add	x6, sp, #12
	add	x7, sp, #8
	mov	x0, x25
	mov	x5, #0
	bl	_find_methods
	ldp	w8, w10, [sp, #8]
	orr	w9, w10, w8
	cbz	w9, LBB0_34
; %bb.21:
	mov	w9, #1
LBB0_22:
	add	w27, w10, w27
	add	w25, w8, w26
	cbz	x23, LBB0_24
; %bb.23:
	str	w27, [x23]
LBB0_24:
	cbz	x21, LBB0_26
; %bb.25:
	str	w25, [x21]
LBB0_26:
	cbnz	w9, LBB0_33
; %bb.27:
	cmp	w27, #2
	b.lo	LBB0_32
; %bb.28:
	cmp	w25, #2
	b.lo	LBB0_30
; %bb.29:
Lloh3:
	adrp	x8, _compare_classes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _compare_classes@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x25
	mov	w2, #8
	bl	_qsort
LBB0_30:
	sub	w1, w27, w25
	cmp	w1, #2
	b.lo	LBB0_32
; %bb.31:
	add	x0, x20, w25, uxtw #3
Lloh6:
	adrp	x8, _compare_classes@GOTPAGE
Lloh7:
	ldr	x8, [x8, _compare_classes@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	w2, #8
	bl	_qsort
LBB0_32:
	str	xzr, [x20, w27, uxtw #3]
LBB0_33:
	sub	x8, x24, x22
	add	x19, x19, x8
LBB0_34:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VAR_DOMAIN,4,2                 ; @VAR_DOMAIN
	.comm	_compare_classes,4,2            ; @compare_classes
.subsections_via_symbols
