	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function connect_switches
_connect_switches:                      ## @connect_switches
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %r9d
	movl	%edx, %r8d
	movl	%esi, %ecx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rdi
	movslq	%ecx, %rax
	movq	(%rsi,%rax,8), %rax
	movq	(%rax), %r10
	movl	(%r10), %r11d
	cmpq	$0, (%rdi)
	je	LBB0_8
## %bb.1:
	cmpl	%r8d, %ecx
	je	LBB0_7
## %bb.2:
	testl	%r11d, %r11d
	je	LBB0_8
## %bb.3:
	movq	8(%r10), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx,8), %rbx
	cmpl	%r8d, (%rbx)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	cmpq	%rdx, %r11
	jne	LBB0_5
LBB0_8:
	addq	$8, %rdi
	movq	8(%r10), %rax
	movq	(%rax,%r11,8), %r14
	movl	%r8d, (%r14)
	movl	$-1, 16(%r14)
	movq	8(%r14), %rax
	movslq	20(%r14), %rdx
	leal	1(%rdx), %ebx
	movl	%ebx, 20(%r14)
	movl	%r9d, (%rax,%rdx,4)
	movslq	%r8d, %rax
	movq	(%rsi,%rax,8), %rax
	movq	(%rax), %rdx
	movl	(%rdx), %esi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.9:
	movq	8(%rdx), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rdx,8), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rdx
	cmpq	%rdx, %rsi
	jne	LBB0_10
	jmp	LBB0_13
LBB0_11:
	movl	%r11d, 16(%rax)
	movl	%edx, 16(%r14)
LBB0_13:
	incl	(%r10)
	movq	_OSM_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_OSM_LOG                        ## TAILCALL
LBB0_6:
	movq	8(%rbx), %rax
	movslq	20(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, 20(%rbx)
	movl	%r9d, (%rax,%rcx,4)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_VERBOSE,4,2            ## @OSM_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LASH connect: %d, %d, %d\n"

	.no_dead_strip	_connect_switches
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function connect_switches
_connect_switches:                      ; @connect_switches
	.cfi_startproc
; %bb.0:
	mov	x5, x3
	mov	x4, x2
	mov	x3, x1
	mov	x8, x0
	ldr	x0, [x0, #8]
	ldr	x10, [x8]
	ldr	x11, [x0], #8
	ldr	x8, [x10, w1, sxtw #3]
	ldr	x8, [x8]
	ldr	w9, [x8]
	cbz	x11, LBB0_6
; %bb.1:
	cmp	w3, w4
	b.eq	LBB0_13
; %bb.2:
	cbz	w9, LBB0_6
; %bb.3:
	ldr	x11, [x8, #8]
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	ldr	w14, [x13]
	cmp	w14, w4
	b.eq	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, #8
	subs	x12, x12, #1
	b.ne	LBB0_4
LBB0_6:
	ldr	x11, [x8, #8]
	ldr	x11, [x11, x9, lsl #3]
	str	w4, [x11]
	mov	w12, #-1
	ldr	x13, [x11, #8]
	ldrsw	x14, [x11, #20]
	add	w15, w14, #1
	stp	w12, w15, [x11, #16]
	str	w5, [x13, x14, lsl #2]
	ldr	x10, [x10, w4, sxtw #3]
	ldr	x13, [x10]
	ldr	w10, [x13]
	cbz	w10, LBB0_11
; %bb.7:
	mov	x12, #0
	ldr	x13, [x13, #8]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x13, x12, lsl #3]
	ldr	w15, [x14]
	cmp	w15, w3
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x12, x12, #1
	cmp	x10, x12
	b.ne	LBB0_8
	b	LBB0_11
LBB0_10:
	str	w9, [x14, #16]
	str	w12, [x11, #16]
LBB0_11:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh0:
	adrp	x8, _OSM_LOG_VERBOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSM_LOG_VERBOSE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	_OSM_LOG
LBB0_12:
	ldr	x8, [x13, #8]
	ldrsw	x9, [x13, #20]
	add	w10, w9, #1
	str	w10, [x13, #20]
	str	w5, [x8, x9, lsl #2]
LBB0_13:
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_VERBOSE,4,2            ; @OSM_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LASH connect: %d, %d, %d\n"

	.no_dead_strip	_connect_switches
.subsections_via_symbols
