	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_oload_champ
_find_oload_champ:                      ## @find_oload_champ
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movl	%esi, -88(%rbp)                 ## 4-byte Spill
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	$0, (%rax)
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	%r8, %rbx
	movl	%edx, %r15d
	movl	%ecx, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%edx, -84(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_fprintf_filtered
	movl	-84(%rbp), %r15d                ## 4-byte Reload
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	cmpq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_29
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_oload_method_static
	testl	%r15d, %r15d
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_TYPE_FN_FIELD_TYPE
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rdi
	callq	_SYMBOL_TYPE
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edi
	callq	_TYPE_NFIELDS
	movl	%eax, %ebx
	leal	(,%rbx,8), %edi
	callq	_xmalloc
	movq	%rax, %r14
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rdi
	callq	_SYMBOL_TYPE
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_TYPE
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%rax, (%r14,%r13,8)
	incq	%r13
	cmpq	%r13, %rbx
	je	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_TYPE_FN_FIELD_ARGS
	movq	(%rax,%r13,8), %rax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	-52(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	subl	%eax, %ecx
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	callq	_rank_function
	movq	%rax, %r13
	movq	16(%rbp), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_compare_badness
	cmpl	$2, %eax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %eax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, (%rbx)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, (%rbx)
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%r12d, %eax
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, -48(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_xfree
	movq	_overload_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%r15d, %r15d
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %edx
	movl	%ebx, %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rdi
	callq	_SYMBOL_DEMANGLED_NAME
	movl	%ebx, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_fprintf_filtered
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	leaq	L_.str.2(%rip), %r15
	jle	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax), %edi
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %ecx
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_fprintf_filtered
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_26
	jmp	LBB0_27
LBB0_1:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_29:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_overload_debug,8,3             ## @overload_debug
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Overloaded method instance %s, # of parms %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Overloaded function instance %s # of parms %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"...Badness @ %d : %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Overload resolution champion is %d, ambiguous? %d\n"

	.no_dead_strip	_find_oload_champ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_oload_champ
_find_oload_champ:                      ; @find_oload_champ
	.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
	str	w1, [sp, #36]                   ; 4-byte Folded Spill
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	str	xzr, [x6]
	cmp	w3, #1
	b.lt	LBB0_29
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x22, x2
	mov	x25, #0
	mov	w8, w3
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	w8, #-1
	stp	wzr, w8, [sp, #40]              ; 8-byte Folded Spill
Lloh0:
	adrp	x19, _gdb_stderr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _gdb_stderr@GOTPAGEOFF]
	str	x6, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	w3, w2, [sp, #40]               ; 8-byte Folded Reload
	bl	_fprintf_filtered
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x25, x8
	b.eq	LBB0_30
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	mov	x0, x22
	mov	x1, x21
	mov	x2, x25
	bl	_oload_method_static
	mov	x24, x0
	cbz	w22, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x25
	bl	_TYPE_FN_FIELD_TYPE
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, x25, lsl #3]
	bl	_SYMBOL_TYPE
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_TYPE_NFIELDS
	mov	x23, x0
	lsl	w0, w0, #3
	bl	_xmalloc
	mov	x27, x0
	cmp	w23, #1
	b.lt	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
	mov	w28, w23
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	ldr	x0, [x20, x25, lsl #3]
	bl	_SYMBOL_TYPE
	mov	x1, x26
	bl	_TYPE_FIELD_TYPE
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	str	x0, [x27, x26, lsl #3]
	add	x26, x26, #1
	cmp	x28, x26
	b.eq	LBB0_13
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	w22, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x21
	mov	x1, x25
	bl	_TYPE_FN_FIELD_ARGS
	ldr	x0, [x0, x26, lsl #3]
	b	LBB0_10
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x2, x8, w24, sxtw #3
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	sub	w24, w8, w24
	mov	x0, x27
	mov	x1, x23
	mov	x3, x24
	bl	_rank_function
	mov	x26, x0
	ldr	x28, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x1, [x28]
	cbz	x1, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_compare_badness
	cmp	w0, #2
	b.eq	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #1
	b.eq	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x28, l_.str.2@PAGE
Lloh5:
	add	x28, x28, l_.str.2@PAGEOFF
	cbnz	w0, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	b	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
	str	x26, [x28]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	wzr, w25, [sp, #40]             ; 8-byte Folded Spill
	str	x26, [x28]
	mov	x8, x25
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #2
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh6:
	adrp	x28, l_.str.2@PAGE
Lloh7:
	add	x28, x28, l_.str.2@PAGEOFF
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_xfree
Lloh8:
	adrp	x8, _overload_debug@GOTPAGE
Lloh9:
	ldr	x8, [x8, _overload_debug@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w27, [x19]
	cbz	w22, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x21, x25, lsl #2]
	mov	x0, x27
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, x25, lsl #3]
	bl	_SYMBOL_DEMANGLED_NAME
	mov	x2, x0
	mov	x0, x27
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x23
	bl	_fprintf_filtered
	cmp	w24, #1
	b.lt	LBB0_2
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
LBB0_28:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19]
	ldr	x8, [x26]
	ldr	w3, [x8, x23, lsl #2]
	mov	x1, x28
	mov	x2, x23
	bl	_fprintf_filtered
	add	x23, x23, #1
	cmp	x24, x23
	b.ne	LBB0_28
	b	LBB0_2
LBB0_29:
	mov	w8, #-1
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
LBB0_30:
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_overload_debug,8,3             ; @overload_debug
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Overloaded method instance %s, # of parms %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Overloaded function instance %s # of parms %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"...Badness @ %d : %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Overload resolution champion is %d, ambiguous? %d\n"

	.no_dead_strip	_find_oload_champ
.subsections_via_symbols
