	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iter_filter_order
_iter_filter_order:                     ## @iter_filter_order
	.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, %r15
	movq	40(%rbp), %r10
	movl	$0, -44(%rbp)
	movq	_RTT_BAND@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	leaq	-56(%rbp), %rbx
	leaq	-44(%rbp), %rax
	pushq	%rbx
	pushq	%r10
	pushq	%rax
	pushq	16(%rbp)
	callq	_iter_fill_rtt
	addq	$32, %rsp
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_48
## %bb.1:
	movl	-44(%rbp), %eax
	movq	_USEFUL_SERVER_TOP_TIMEOUT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_4
## %bb.2:
	movl	32(%rbp), %ebx
	movq	16(%rbp), %rdi
	callq	_delegpt_count_missing_targets
	testl	%ebx, %ebx
	jg	LBB0_10
## %bb.3:
	testq	%rax, %rax
	jg	LBB0_10
LBB0_4:
	cmpq	$0, 48(%rbp)
	jne	LBB0_14
## %bb.5:
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.6:
	movq	-56(%rbp), %rcx
	cmpq	8(%rax), %rcx
	jbe	LBB0_14
## %bb.7:
	movl	8(%r15), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_ub_random_max
	movq	(%r15), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_14
## %bb.8:
	movq	16(%rbp), %rbx
	movq	(%rbx), %rdi
	movq	-56(%rbp), %rsi
	movq	8(%rcx), %rdx
	callq	_nth_rtt
	movq	%rbx, %r8
	testl	%eax, %eax
	jle	LBB0_15
## %bb.9:
	subl	-44(%rbp), %eax
	movl	(%r14), %ecx
	cmpl	%ecx, %eax
	cmovgel	%ecx, %eax
	movl	%eax, %r12d
	jmp	LBB0_15
LBB0_14:
	movq	16(%rbp), %r8
LBB0_15:
	movq	24(%rbp), %rax
	movq	(%r8), %r9
	movl	-44(%rbp), %r10d
	testq	%r9, %r9
	je	LBB0_43
## %bb.16:
	xorl	%ecx, %ecx
	movq	%r9, %rsi
	xorl	%r13d, %r13d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%rdx, %rcx
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	movzbl	%bl, %eax
	addl	%eax, %r13d
	testq	%rsi, %rsi
	je	LBB0_26
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movl	(%rsi), %edi
	movq	%rsi, %rdx
	cmpl	$-1, %edi
	jne	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, %rcx
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	(%rdx), %edi
	cmpl	$-1, %edi
	je	LBB0_20
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	subl	%r10d, %edi
	setge	%r11b
	setl	%r14b
	movl	%edi, %esi
	negl	%esi
	cmpl	%r12d, %edi
	setle	%bl
	cmpl	%r12d, %esi
	setle	%al
	andb	%r14b, %al
	andb	%r11b, %bl
	orb	%al, %bl
	movq	8(%rdx), %rsi
	cmpb	$1, %bl
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rsi, 8(%rcx)
	movq	%r9, 8(%rdx)
	movq	%rdx, (%r8)
	movq	%rdx, %r9
	jmp	LBB0_18
LBB0_26:
	movq	24(%rbp), %rax
	movl	%r10d, (%rax)
	movq	(%r15), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_48
## %bb.27:
	testl	%r13d, %r13d
	jle	LBB0_48
## %bb.28:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	$-1, %esi
	xorl	%r10d, %r10d
	movl	%r13d, %ebx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	xorl	%r11d, %r11d
	xorl	%r12d, %r12d
	movq	%r9, %rdi
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	8(%rdi), %rdx
	movq	%rdi, %r12
LBB0_30:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	%rdx, %rdi
	decl	%ebx
	je	LBB0_44
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rdi), %rdx
	cmpq	%r14, %rdx
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpl	$-1, %esi
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	(%rdi), %r10d
	movl	4(%rdi), %esi
	incl	%r15d
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_31 Depth=1
	cmpq	%r14, %rdx
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpl	4(%rdi), %esi
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_31 Depth=1
	incl	%r15d
	movl	(%rdi), %ecx
	cmpl	%r10d, %ecx
	movl	%r10d, %r8d
	cmovll	%ecx, %r8d
	testl	%r10d, %r10d
	cmovel	%ecx, %r8d
	movl	%r8d, %r10d
	movq	16(%rbp), %r8
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_31 Depth=1
	cmpq	%r14, %rdx
	jne	LBB0_29
## %bb.38:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	4(%rdi), %edx
	cmpl	$-1, %esi
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpl	%esi, %edx
	jle	LBB0_41
	jmp	LBB0_44
LBB0_40:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	%edx, %esi
LBB0_41:                                ##   in Loop: Header=BB0_31 Depth=1
	incl	%r11d
	movl	(%rdi), %ecx
	cmpl	%eax, %ecx
	movl	%eax, %edx
	cmovll	%ecx, %edx
	testl	%eax, %eax
	movl	%edx, %eax
	cmovel	%ecx, %eax
	testq	%r12, %r12
	je	LBB0_29
## %bb.42:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	8(%rdi), %rdx
	movq	%rdx, 8(%r12)
	movq	%r9, 8(%rdi)
	movq	%rdi, (%r8)
	movq	%rdi, %r9
	jmp	LBB0_30
LBB0_43:
	movl	%r10d, (%rax)
	jmp	LBB0_48
LBB0_10:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	jmp	LBB0_48
LBB0_44:
	testl	%r11d, %r11d
	jle	LBB0_46
## %bb.45:
	movq	24(%rbp), %rcx
	movl	%eax, (%rcx)
	movl	%r11d, %r13d
	jmp	LBB0_48
LBB0_46:
	testl	%r15d, %r15d
	jle	LBB0_48
## %bb.47:
	movq	24(%rbp), %rax
	movl	%r10d, (%rax)
	movl	%r15d, %r13d
LBB0_48:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTT_BAND,4,2                   ## @RTT_BAND
	.comm	_USEFUL_SERVER_TOP_TIMEOUT,4,2  ## @USEFUL_SERVER_TOP_TIMEOUT
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad choices, trying to get more choice"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.no_dead_strip	_iter_filter_order
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iter_filter_order
_iter_filter_order:                     ; @iter_filter_order
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x7
	mov	x20, x6
	mov	x21, x1
	ldr	x8, [x29, #24]
	str	wzr, [sp, #28]
Lloh0:
	adrp	x23, _RTT_BAND@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RTT_BAND@GOTPAGEOFF]
	ldr	w22, [x23]
	add	x9, sp, #16
	stp	x8, x9, [sp]
	add	x7, sp, #28
	bl	_iter_fill_rtt
	cbz	w0, LBB0_39
; %bb.1:
	ldr	w8, [sp, #28]
Lloh2:
	adrp	x9, _USEFUL_SERVER_TOP_TIMEOUT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _USEFUL_SERVER_TOP_TIMEOUT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_4
; %bb.2:
	ldr	w24, [x29, #16]
	mov	x0, x20
	bl	_delegpt_count_missing_targets
	cmp	w24, #0
	b.gt	LBB0_34
; %bb.3:
	cmp	x0, #1
	b.ge	LBB0_34
LBB0_4:
	ldr	x8, [x29, #32]
	cbnz	x8, LBB0_10
; %bb.5:
	ldr	x8, [x21]
	ldr	x9, [x8]
	cbz	x9, LBB0_10
; %bb.6:
	ldr	x9, [sp, #16]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	b.ls	LBB0_10
; %bb.7:
	ldr	w0, [x21, #8]
	mov	w1, #1000
	bl	_ub_random_max
	ldr	x8, [x21]
	ldr	x9, [x8]
	cmp	x0, x9
	b.ge	LBB0_10
; %bb.8:
	ldr	x0, [x20]
	ldr	x1, [sp, #16]
	ldr	x2, [x8, #8]
	bl	_nth_rtt
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.9:
	ldr	w8, [sp, #28]
	ldr	w9, [x23]
	sub	w8, w0, w8
	cmp	w8, w9
	csel	w22, w8, w9, lt
LBB0_10:
	ldr	x8, [x20]
	ldr	w9, [sp, #28]
	cbz	x8, LBB0_33
; %bb.11:
	mov	x10, #0
	mov	w0, #0
	mov	x12, x8
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	str	x12, [x10, #8]
	str	x8, [x11, #8]
	mov	x8, x11
	str	x11, [x20]
	add	w0, w0, w13
	cbz	x12, LBB0_18
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	w13, [x12]
	mov	x11, x12
	cmn	w13, #1
	b.ne	LBB0_16
LBB0_14:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x10, x11
	ldr	x11, [x11, #8]
	cbz	x11, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w13, [x11]
	cmn	w13, #1
	b.eq	LBB0_14
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	subs	w12, w13, w9
	cset	w14, ge
	cset	w15, lt
	cmp	w12, w22
	cset	w12, le
	sub	w13, w9, w13
	cmp	w13, w22
	cset	w13, le
	and	w13, w15, w13
	and	w12, w14, w12
	orr	w13, w12, w13
	ldr	x12, [x11, #8]
	cmp	w13, #1
	ccmp	x10, #0, #4, eq
	b.ne	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x10, x11
	add	w0, w0, w13
	cbnz	x12, LBB0_13
LBB0_18:
	str	w9, [x19]
	ldr	x9, [x21]
	ldr	x9, [x9, #16]
	cmp	x9, #0
	ccmp	w0, #0, #4, ne
	b.le	LBB0_39
; %bb.19:
	mov	w11, #0
	mov	w9, #0
	mov	w12, #0
	mov	w10, #0
	mov	x16, #0
	mov	w14, #-1
Lloh5:
	adrp	x13, _AF_INET6@GOTPAGE
Lloh6:
	ldr	x13, [x13, _AF_INET6@GOTPAGEOFF]
Lloh7:
	ldr	x13, [x13]
	mov	x15, x0
	mov	x17, x8
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x1, [x17, #8]
	mov	x16, x17
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x17, x1
	subs	w15, w15, #1
	b.eq	LBB0_35
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x17, #16]
	cmp	x1, x13
	ccmn	w14, #1, #0, ne
	b.eq	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	cmp	x1, x13
	b.eq	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w2, [x17, #4]
	cmp	w14, w2
	b.ne	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	add	w9, w9, #1
	ldr	w2, [x17]
	cmp	w2, w11
	ccmp	w11, #0, #4, ge
	csel	w11, w2, w11, eq
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	add	w9, w9, #1
	ldp	w11, w14, [x17]
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=1
	cmp	x1, x13
	b.ne	LBB0_20
; %bb.28:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w1, [x17, #4]
	cmn	w14, #1
	b.eq	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_22 Depth=1
	cmp	w1, w14
	b.le	LBB0_31
	b	LBB0_35
LBB0_30:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x14, x1
LBB0_31:                                ;   in Loop: Header=BB0_22 Depth=1
	add	w10, w10, #1
	ldr	w1, [x17]
	cmp	w1, w12
	ccmp	w12, #0, #4, ge
	csel	w12, w1, w12, eq
	cbz	x16, LBB0_20
; %bb.32:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x1, [x17, #8]
	str	x1, [x16, #8]
	str	x8, [x17, #8]
	str	x17, [x20]
	mov	x8, x17
	b	LBB0_21
LBB0_33:
	mov	w0, #0
	str	w9, [x19]
	b	LBB0_39
LBB0_34:
Lloh8:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	mov	w0, #0
	b	LBB0_39
LBB0_35:
	cmp	w10, #1
	b.lt	LBB0_37
; %bb.36:
	str	w12, [x19]
	mov	x0, x10
	b	LBB0_39
LBB0_37:
	cmp	w9, #1
	b.lt	LBB0_39
; %bb.38:
	str	w11, [x19]
	mov	x0, x9
LBB0_39:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RTT_BAND,4,2                   ; @RTT_BAND
	.comm	_USEFUL_SERVER_TOP_TIMEOUT,4,2  ; @USEFUL_SERVER_TOP_TIMEOUT
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad choices, trying to get more choice"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.no_dead_strip	_iter_filter_order
.subsections_via_symbols
