	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function partition_add_port
_partition_add_port:                    ## @partition_add_port
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%rdx, %rdx
	je	LBB0_36
## %bb.1:
	movq	%rdx, %rbx
	cmpb	$0, (%rdx)
	je	LBB0_36
## %bb.2:
	movq	%rcx, %r13
	movl	%edi, %r14d
	movq	(%rsi), %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	32(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_36
## %bb.3:
	testq	%r13, %r13
	movq	%r12, %r15
	je	LBB0_11
## %bb.4:
	movq	_LIMITED@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r13, %rdi
	callq	_strlen
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%r13, %rdi
	callq	_strlen
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%r13, %rdi
	callq	_strlen
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %edi
	movq	_OSM_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movl	%r14d, %ecx
	movq	%r13, %r8
	callq	_OSM_LOG
	jmp	LBB0_11
LBB0_8:
	movq	_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_BOTH@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %r15
LBB0_11:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.13:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.14:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_25
## %bb.16:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_strtoull
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %r12d
	movq	-72(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_26
LBB0_18:
	movl	$-1, %r15d
	jmp	LBB0_36
LBB0_19:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	jmp	LBB0_24
LBB0_20:
	movq	_IB_NODE_TYPE_CA@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_21:
	movq	_IB_NODE_TYPE_SWITCH@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_22:
	movq	_IB_NODE_TYPE_ROUTER@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_24:
	movq	%r15, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_partition_add_all              ## TAILCALL
LBB0_25:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	movl	8(%rax), %edi
	callq	_cl_ntoh64
	movq	%rbx, %rdi
	movl	%eax, %r12d
	jmp	LBB0_27
LBB0_26:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_27:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$255, %edx
	movq	%r15, %rcx
	movl	%r12d, %r8d
	callq	_manage_membership_change
	movq	_LIMITED@GOTPCREL(%rip), %r13
	movq	%r15, %rax
	cmpq	(%r13), %r15
	je	LBB0_30
## %bb.28:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %r14d
	movq	16(%rbx), %r15
	movl	%r12d, %edi
	callq	_cl_hton64
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	8(%rbx), %r9d
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_osm_prtn_add_port
	movq	_IB_SUCCESS@GOTPCREL(%rip), %rcx
	movl	$-1, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.29:
	movq	(%r13), %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_30:
	cmpq	%rax, %r15
	jne	LBB0_32
## %bb.31:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r14
	jmp	LBB0_34
LBB0_32:
	movq	_BOTH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_35
## %bb.33:
	movq	16(%rax), %r14
	cmpq	$0, (%r14)
	je	LBB0_35
LBB0_34:
	movl	24(%rax), %r15d
	movl	%r12d, %edi
	movq	%rax, %rbx
	callq	_cl_hton64
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	8(%rbx), %r9d
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_osm_prtn_add_port
	movq	_IB_SUCCESS@GOTPCREL(%rip), %rcx
	movl	$-1, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_36
LBB0_35:
	xorl	%r15d, %r15d
LBB0_36:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NONE"

	.comm	_LIMITED,8,3                    ## @LIMITED
L_.str.1:                               ## @.str.1
	.asciz	"full"

	.comm	_FULL,8,3                       ## @FULL
L_.str.2:                               ## @.str.2
	.asciz	"both"

	.comm	_BOTH,8,3                       ## @BOTH
L_.str.3:                               ## @.str.3
	.asciz	"limited"

	.comm	_OSM_LOG_VERBOSE,4,2            ## @OSM_LOG_VERBOSE
L_.str.4:                               ## @.str.4
	.asciz	"PARSE WARN: line %d: unrecognized port flag '%s'. Assume 'limited'\n"

L_.str.5:                               ## @.str.5
	.asciz	"ALL"

L_.str.6:                               ## @.str.6
	.asciz	"ALL_CAS"

	.comm	_IB_NODE_TYPE_CA,4,2            ## @IB_NODE_TYPE_CA
L_.str.7:                               ## @.str.7
	.asciz	"ALL_SWITCHES"

	.comm	_IB_NODE_TYPE_SWITCH,4,2        ## @IB_NODE_TYPE_SWITCH
L_.str.8:                               ## @.str.8
	.asciz	"ALL_ROUTERS"

	.comm	_IB_NODE_TYPE_ROUTER,4,2        ## @IB_NODE_TYPE_ROUTER
L_.str.9:                               ## @.str.9
	.asciz	"SELF"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_IB_SUCCESS,8,3                 ## @IB_SUCCESS
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_partition_add_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function partition_add_port
_partition_add_port:                    ; @partition_add_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x2, LBB0_33
; %bb.1:
	mov	x22, x2
	ldrb	w8, [x2]
	cbz	w8, LBB0_33
; %bb.2:
	mov	x23, x3
	mov	x20, x1
	mov	x24, x0
	ldr	x19, [x1, #32]
	ldr	x21, [x1]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strncmp
	cbz	x0, LBB0_34
; %bb.3:
	cbz	x23, LBB0_11
; %bb.4:
Lloh2:
	adrp	x8, _LIMITED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LIMITED@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_strncmp
	cbz	x0, LBB0_9
; %bb.6:
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_strncmp
	cbz	x0, LBB0_11
; %bb.7:
	ldr	w0, [x20, #24]
Lloh11:
	adrp	x8, _OSM_LOG_VERBOSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OSM_LOG_VERBOSE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x3, x24
	mov	x4, x23
	bl	_OSM_LOG
	b	LBB0_11
LBB0_8:
Lloh16:
	adrp	x8, _FULL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FULL@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x8, _BOTH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BOTH@GOTPAGEOFF]
LBB0_10:
	ldr	x21, [x8]
LBB0_11:
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_strncmp
	cbz	x0, LBB0_18
; %bb.12:
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_strncmp
	cbz	x0, LBB0_19
; %bb.13:
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_strncmp
	cbz	x0, LBB0_20
; %bb.14:
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_strncmp
	cbz	x0, LBB0_21
; %bb.15:
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	bl	_strncmp
	cbz	x0, LBB0_24
; %bb.16:
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #0
	bl	_strtoull
	cbz	w0, LBB0_35
; %bb.17:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_35
	b	LBB0_25
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	b	LBB0_23
LBB0_19:
Lloh30:
	adrp	x8, _IB_NODE_TYPE_CA@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IB_NODE_TYPE_CA@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
Lloh32:
	adrp	x8, _IB_NODE_TYPE_SWITCH@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IB_NODE_TYPE_SWITCH@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh34:
	adrp	x8, _IB_NODE_TYPE_ROUTER@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IB_NODE_TYPE_ROUTER@GOTPAGEOFF]
LBB0_22:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
LBB0_23:
	mov	x3, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_partition_add_all
LBB0_24:
	ldr	x8, [x20, #16]
	ldr	w0, [x8, #8]
	bl	_cl_ntoh64
LBB0_25:
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	mov	w2, #255
	mov	x3, x21
	mov	x4, x22
	bl	_manage_membership_change
Lloh36:
	adrp	x26, _LIMITED@GOTPAGE
Lloh37:
	ldr	x26, [x26, _LIMITED@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh38:
	adrp	x25, _IB_SUCCESS@GOTPAGE
Lloh39:
	ldr	x25, [x25, _IB_SUCCESS@GOTPAGEOFF]
	mov	x8, x21
	cmp	x21, x9
	b.eq	LBB0_28
; %bb.26:
	ldr	w23, [x20, #24]
	ldr	x24, [x20, #16]
	mov	x0, x22
	bl	_cl_hton64
	mov	x3, x0
Lloh40:
	adrp	x8, _TRUE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh42:
	ldr	w4, [x8]
	ldr	w5, [x20, #8]
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	bl	_osm_prtn_add_port
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_35
; %bb.27:
	ldr	x8, [x26]
LBB0_28:
	cmp	x21, x8
	b.ne	LBB0_30
; %bb.29:
	ldr	x21, [x20, #16]
	b	LBB0_32
LBB0_30:
Lloh43:
	adrp	x8, _BOTH@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BOTH@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_33
; %bb.31:
	ldr	x21, [x20, #16]
	ldr	x8, [x21]
	cbz	x8, LBB0_33
LBB0_32:
	ldr	w23, [x20, #24]
	mov	x0, x22
	bl	_cl_hton64
	mov	x3, x0
Lloh46:
	adrp	x8, _FALSE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh48:
	ldr	w4, [x8]
	ldr	w5, [x20, #8]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x19
	bl	_osm_prtn_add_port
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_35
LBB0_33:
	mov	w0, #0
LBB0_34:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_35:
	mov	w0, #-1
	b	LBB0_34
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NONE"

	.comm	_LIMITED,8,3                    ; @LIMITED
l_.str.1:                               ; @.str.1
	.asciz	"full"

	.comm	_FULL,8,3                       ; @FULL
l_.str.2:                               ; @.str.2
	.asciz	"both"

	.comm	_BOTH,8,3                       ; @BOTH
l_.str.3:                               ; @.str.3
	.asciz	"limited"

	.comm	_OSM_LOG_VERBOSE,4,2            ; @OSM_LOG_VERBOSE
l_.str.4:                               ; @.str.4
	.asciz	"PARSE WARN: line %d: unrecognized port flag '%s'. Assume 'limited'\n"

l_.str.5:                               ; @.str.5
	.asciz	"ALL"

l_.str.6:                               ; @.str.6
	.asciz	"ALL_CAS"

	.comm	_IB_NODE_TYPE_CA,4,2            ; @IB_NODE_TYPE_CA
l_.str.7:                               ; @.str.7
	.asciz	"ALL_SWITCHES"

	.comm	_IB_NODE_TYPE_SWITCH,4,2        ; @IB_NODE_TYPE_SWITCH
l_.str.8:                               ; @.str.8
	.asciz	"ALL_ROUTERS"

	.comm	_IB_NODE_TYPE_ROUTER,4,2        ; @IB_NODE_TYPE_ROUTER
l_.str.9:                               ; @.str.9
	.asciz	"SELF"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_IB_SUCCESS,8,3                 ; @IB_SUCCESS
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_partition_add_port
.subsections_via_symbols
