	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_new_mlid
_get_new_mlid:                          ## @get_new_mlid
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r12
	movq	8(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_cl_ntoh16
	movq	_IB_LID_MCAST_START_HO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_cl_ntoh16
	cmpq	(%r12), %rax
	jg	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_osm_get_mbox_by_mlid
	testl	%eax, %eax
	je	LBB0_15
LBB0_4:
	movq	(%r14), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	_match_ipv6_snm_mgid
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%r14), %rdi
	movq	%r15, %rsi
	callq	_find_ipv6_snm_mlid
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rbx
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movl	8(%r14), %r14d
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movl	%r12d, %ecx
	callq	_inet_ntop
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	movl	%r13d, %esi
	movl	%eax, %ecx
	callq	_OSM_LOG
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_8:
	movl	(%r12), %eax
	movq	_IB_LID_MCAST_START_HO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	subl	%edi, %eax
	incl	%eax
	jne	LBB0_10
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_10:
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movl	%eax, %edx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rcx,%rax,4)
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_11
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.13:
	addq	%rax, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cl_hton16                      ## TAILCALL
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_LID_MCAST_START_HO,8,3      ## @IB_LID_MCAST_START_HO
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_OSM_LOG_DEBUG,4,2              ## @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Special Case Solicited Node Mcast Join for MGID %s\n"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_get_new_mlid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_new_mlid
_get_new_mlid:                          ; @get_new_mlid
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x22, [x0]
	ldr	x20, [x1, #8]
Lloh3:
	adrp	x23, _IB_LID_MCAST_START_HO@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IB_LID_MCAST_START_HO@GOTPAGEOFF]
	cbz	x20, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_cl_ntoh16
	ldr	x8, [x23]
	cmp	x0, x8
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_cl_ntoh16
	ldr	x8, [x22]
	cmp	x0, x8
	b.gt	LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x20
	bl	_osm_get_mbox_by_mlid
	cbz	w0, LBB0_13
LBB0_4:
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_8
; %bb.5:
	mov	x0, x21
	bl	_match_ipv6_snm_mgid
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x0, [x19]
	mov	x1, x21
	bl	_find_ipv6_snm_mlid
	cbz	x0, LBB0_8
; %bb.7:
	mov	x20, x0
	mov	x23, sp
Lloh5:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x9, x3
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x3, #15
	and	x9, x9, #0x1fffffff0
	sub	x2, x8, x9
	mov	sp, x2
Lloh10:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
	ldr	w19, [x19, #8]
Lloh12:
	ldr	w22, [x8]
Lloh13:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x21]
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_inet_ntop
	mov	x3, x0
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_OSM_LOG
	mov	sp, x23
	b	LBB0_13
LBB0_8:
	ldr	w8, [x22]
	ldr	x0, [x23]
	sub	w8, w8, w0
	adds	w8, w8, #1
	b.hs	LBB0_12
; %bb.9:
	ldr	x9, [x19]
	ldr	x9, [x9, #8]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cbz	w10, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x0, x0, #1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_12:
	mov	x20, #0
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.14:
	mov	x0, x20
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_cl_hton16
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_LID_MCAST_START_HO,8,3      ; @IB_LID_MCAST_START_HO
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_OSM_LOG_DEBUG,4,2              ; @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Special Case Solicited Node Mcast Join for MGID %s\n"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_get_new_mlid
.subsections_via_symbols
