	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lidbalance_parse
_lidbalance_parse:                      ## @lidbalance_parse
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_next_token
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_strtoull
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %rbx
	movq	-40(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_3
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movl	$29, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fwrite
	movq	%r14, %rdi
	movl	$1, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_help_lidbalance                ## TAILCALL
LBB0_6:
	movq	%r15, %rdi
	callq	_cl_plock_acquire
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	callq	_cl_qmap_head
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_cl_qmap_end
	cmpq	%rax, %rbx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_lidbalance_check
	movq	%rbx, %rdi
	callq	_cl_qmap_next
	jmp	LBB0_8
LBB0_3:
	movq	%r15, %rdi
	callq	_cl_plock_acquire
	leaq	4(%r15), %r12
	movq	%rbx, %rdi
	callq	_cl_hton64
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_osm_get_switch_by_guid
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_lidbalance_check
	jmp	LBB0_9
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movl	$21, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fwrite
LBB0_9:
	movq	%r15, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cl_plock_release               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid switchguid specified\n"

L_.str.1:                               ## @.str.1
	.asciz	"switchguid not found\n"

	.no_dead_strip	_lidbalance_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lidbalance_parse
_lidbalance_parse:                      ; @lidbalance_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_next_token
	cbz	x0, LBB0_4
; %bb.1:
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoull
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_7
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #29
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_help_lidbalance
LBB0_4:
	mov	x0, x20
	bl	_cl_plock_acquire
	add	x21, x20, #4
	mov	x0, x21
	bl	_cl_qmap_head
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x0
	mov	x0, x21
	bl	_cl_qmap_end
	cmp	x22, x0
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_lidbalance_check
	mov	x0, x22
	bl	_cl_qmap_next
	b	LBB0_5
LBB0_7:
	mov	x21, x0
	mov	x0, x20
	bl	_cl_plock_acquire
	add	x22, x20, #4
	mov	x0, x21
	bl	_cl_hton64
	mov	x1, x0
	mov	x0, x22
	bl	_osm_get_switch_by_guid
	cbz	x0, LBB0_9
; %bb.8:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_lidbalance_check
	b	LBB0_10
LBB0_9:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #21
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_cl_plock_release
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid switchguid specified\n"

l_.str.1:                               ; @.str.1
	.asciz	"switchguid not found\n"

	.no_dead_strip	_lidbalance_parse
.subsections_via_symbols
