	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pr_process_multicast
_pr_process_multicast:                  ## @pr_process_multicast
	.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
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_ib_sa_mad_get_payload_ptr
	movq	%rax, %r13
	movl	(%rbx), %edi
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_OSM_LOG
	movl	4(%rbx), %edi
	leaq	32(%r13), %r14
	movq	%r14, %rsi
	callq	_osm_get_mgrp_by_mgid
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_pr_match_mgrp_attributes
	movq	_IB_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.6:
	movq	_SA_PR_RESP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r15, %rbx
	addq	$4, %rbx
	movups	(%r13), %xmm0
	movups	16(%r13), %xmm1
	movups	%xmm0, 4(%r15)
	movups	%xmm1, 20(%r15)
	movl	32(%r13), %eax
	movl	%eax, 36(%r15)
	movq	%r12, %r13
	addq	$12, %r13
	movl	12(%r12), %eax
	movl	%eax, 36(%r15)
	movl	28(%r12), %eax
	movl	%eax, 32(%r15)
	movl	24(%r12), %eax
	movl	%eax, 28(%r15)
	movl	$1, 4(%r15)
	movl	20(%r12), %eax
	movl	%eax, 24(%r15)
	movq	_IB_PATH_SELECTOR_EXACTLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$6, %eax
	movl	(%r12), %ecx
	orl	%eax, %ecx
	movl	%ecx, 8(%r15)
	movl	4(%r12), %ecx
	orl	%eax, %ecx
	movl	%ecx, 12(%r15)
	orl	8(%r12), %eax
	movl	%eax, 16(%r15)
	movl	16(%r12), %edi
	leaq	-56(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	callq	_ib_member_get_sl_flow_hop
	movl	-56(%rbp), %esi
	movq	%rbx, %rdi
	callq	_ib_path_rec_set_sl
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ib_path_rec_set_qos_class
	movq	%r13, %rdi
	callq	_ib_mgid_get_scope
	movq	_IB_MC_SCOPE_LINK_LOCAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movl	-52(%rbp), %edi
	jmp	LBB0_12
LBB0_1:
	movq	%rsp, %r13
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movl	(%rbx), %r12d
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movl	%r15d, %ecx
	callq	_inet_ntop
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_OSM_LOG
	movq	%r13, %rsp
	jmp	LBB0_13
LBB0_3:
	movl	(%rbx), %edi
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.4:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_5
LBB0_7:
	movl	(%rbx), %edi
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.8:
	leaq	L_.str.3(%rip), %rdx
LBB0_5:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OSM_LOG                        ## TAILCALL
LBB0_11:
	movq	_IB_HOPLIMIT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, -52(%rbp)
LBB0_12:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	callq	_cl_hton32
	movl	-60(%rbp), %ecx
	shll	$8, %ecx
	orl	%eax, %ecx
	movl	%ecx, 20(%r15)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_cl_qlist_insert_tail
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_DEBUG,4,2              ## @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Multicast destination requested\n"

	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"ERR 1F09: No MC group found for PathRecord destination GID %s\n"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_IB_SUCCESS,8,3                 ## @IB_SUCCESS
L_.str.2:                               ## @.str.2
	.asciz	"ERR 1F19: MC group attributes don't match PathRecord request\n"

	.comm	_SA_PR_RESP_SIZE,4,2            ## @SA_PR_RESP_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"ERR 1F18: Unable to allocate path record for MC group\n"

	.comm	_IB_PATH_SELECTOR_EXACTLY,4,2   ## @IB_PATH_SELECTOR_EXACTLY
	.comm	_IB_MC_SCOPE_LINK_LOCAL,8,3     ## @IB_MC_SCOPE_LINK_LOCAL
	.comm	_IB_HOPLIMIT_MAX,4,2            ## @IB_HOPLIMIT_MAX
	.no_dead_strip	_pr_process_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pr_process_multicast
_pr_process_multicast:                  ; @pr_process_multicast
	.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, #32
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	x0, x1
	bl	_ib_sa_mad_get_payload_ptr
	mov	x23, x0
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_OSM_LOG
	ldr	w0, [x21, #4]
	add	x24, x23, #32
	mov	x1, x24
	bl	_osm_get_mgrp_by_mgid
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_pr_match_mgrp_attributes
Lloh8:
	adrp	x8, _IB_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
Lloh11:
	adrp	x8, _SA_PR_RESP_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SA_PR_RESP_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x21, x20, #4
	ldr	w8, [x23, #32]
	ldp	q1, q0, [x23]
	stur	q1, [x20, #4]
	stur	q0, [x20, #20]
	str	w8, [x20, #36]
	mov	x23, x22
	ldr	w8, [x23, #12]!
	str	w8, [x20, #36]
	ldr	w8, [x22, #28]
	str	w8, [x20, #32]
	mov	w8, #1
	str	w8, [x20, #4]
	ldur	d0, [x22, #20]
Lloh14:
	adrp	x8, _IB_PATH_SELECTOR_EXACTLY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IB_PATH_SELECTOR_EXACTLY@GOTPAGEOFF]
	str	d0, [x20, #24]
Lloh16:
	ldr	w8, [x8]
	lsl	w8, w8, #6
	ldr	d0, [x22]
	dup.2s	v1, w8
	orr.8b	v0, v1, v0
	str	d0, [x20, #8]
	ldr	w9, [x22, #8]
	orr	w8, w9, w8
	str	w8, [x20, #16]
	ldr	w0, [x22, #16]
	sub	x1, x29, #64
	sub	x2, x29, #60
	sub	x3, x29, #68
	bl	_ib_member_get_sl_flow_hop
	ldur	w1, [x29, #-64]
	mov	x0, x21
	bl	_ib_path_rec_set_sl
	mov	x0, x21
	mov	w1, #0
	bl	_ib_path_rec_set_qos_class
	mov	x0, x23
	bl	_ib_mgid_get_scope
Lloh17:
	adrp	x8, _IB_MC_SCOPE_LINK_LOCAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IB_MC_SCOPE_LINK_LOCAL@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.4:
	ldur	w0, [x29, #-68]
	b	LBB0_12
LBB0_5:
	mov	x22, sp
Lloh20:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x9, x3
Lloh23:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh24:
	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
Lloh25:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
	ldr	w19, [x21]
Lloh27:
	ldr	w20, [x8]
Lloh28:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	w1, [x24]
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_inet_ntop
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh31:
	adrp	x2, l_.str.1@PAGE
Lloh32:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_OSM_LOG
	add	sp, sp, #16
	mov	sp, x22
	b	LBB0_13
LBB0_6:
	ldr	w0, [x21]
Lloh33:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldur	x8, [x29, #-56]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.7:
Lloh39:
	adrp	x2, l_.str.2@PAGE
Lloh40:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:
	ldr	w0, [x21]
Lloh41:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldur	x8, [x29, #-56]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.9:
Lloh47:
	adrp	x2, l_.str.3@PAGE
Lloh48:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_10:
	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	_OSM_LOG
LBB0_11:
Lloh49:
	adrp	x8, _IB_HOPLIMIT_MAX@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IB_HOPLIMIT_MAX@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	stur	w0, [x29, #-68]
LBB0_12:
	bl	_cl_hton32
	ldur	w8, [x29, #-60]
	orr	w8, w0, w8, lsl #8
	str	w8, [x20, #20]
	mov	x0, x19
	mov	x1, x20
	bl	_cl_qlist_insert_tail
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh52:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh53:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	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:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_DEBUG,4,2              ; @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multicast destination requested\n"

	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"ERR 1F09: No MC group found for PathRecord destination GID %s\n"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_IB_SUCCESS,8,3                 ; @IB_SUCCESS
l_.str.2:                               ; @.str.2
	.asciz	"ERR 1F19: MC group attributes don't match PathRecord request\n"

	.comm	_SA_PR_RESP_SIZE,4,2            ; @SA_PR_RESP_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"ERR 1F18: Unable to allocate path record for MC group\n"

	.comm	_IB_PATH_SELECTOR_EXACTLY,4,2   ; @IB_PATH_SELECTOR_EXACTLY
	.comm	_IB_MC_SCOPE_LINK_LOCAL,8,3     ; @IB_MC_SCOPE_LINK_LOCAL
	.comm	_IB_HOPLIMIT_MAX,4,2            ; @IB_HOPLIMIT_MAX
	.no_dead_strip	_pr_process_multicast
.subsections_via_symbols
