	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_matching_methods
_add_matching_methods:                  ## @add_matching_methods
	.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	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movq	%rsi, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FN_FIELDLIST_LENGTH
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	incl	%r15d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	decl	%r15d
	cmpl	$1, %r15d
	jbe	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%r15), %r14d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FN_FIELDLIST1
	movq	%rbx, %r12
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FN_FIELD_STUB
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_gdb_mangle_name
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_alloca
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	%rbx, %rdi
	callq	_xfree
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FN_FIELD_PHYSNAME
	movq	%rax, %r14
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_is_destructor_name
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_VAR_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_lookup_symbol
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%rdx,8)
	cmpq	$1, %rax
	sbbl	$-1, %edx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VAR_DOMAIN,4,2                 ## @VAR_DOMAIN
	.no_dead_strip	_add_matching_methods
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_matching_methods
_add_matching_methods:                  ; @add_matching_methods
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	x1, x21
	bl	_TYPE_FN_FIELDLIST_LENGTH
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w22, #0
	add	w25, w0, #1
Lloh0:
	adrp	x26, _VAR_DOMAIN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _VAR_DOMAIN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w25, w25, #1
	cmp	w25, #1
	b.ls	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w23, w25, #2
	mov	x0, x20
	mov	x1, x21
	bl	_TYPE_FN_FIELDLIST1
	mov	x24, x0
	mov	x1, x23
	bl	_TYPE_FN_FIELD_STUB
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_gdb_mangle_name
	mov	x24, x0
	bl	_strlen
	add	x0, x0, #1
	bl	_alloca
	mov	x23, x0
	mov	x1, x24
	bl	_strcpy
	mov	x0, x24
	bl	_xfree
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_TYPE_FN_FIELD_PHYSNAME
	mov	x23, x0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_is_destructor_name
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x26]
	mov	x0, x23
	mov	x1, #0
	mov	x3, #0
	mov	x4, #0
	bl	_lookup_symbol
	str	x0, [x19, w22, sxtw #3]
	cmp	x0, #0
	cinc	w22, w22, ne
	b	LBB0_2
LBB0_8:
	mov	w22, #0
LBB0_9:
	mov	x0, x22
	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
	.comm	_VAR_DOMAIN,4,2                 ; @VAR_DOMAIN
	.no_dead_strip	_add_matching_methods
.subsections_via_symbols
