	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_mcm_rec                  ## -- Begin function build_mcm_rec
	.p2align	4, 0x90
_build_mcm_rec:                         ## @build_mcm_rec
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_IB_SA_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_IB_SA_MCM_MGID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %ecx
	callq	_mad_set_array
	movq	_IB_SA_MCM_PORTGID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_mad_set_array
	movq	_IB_SA_MCM_JOIN_STATE_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_mad_set_field
	movq	_IB_MCR_COMPMASK_MGID@GOTPCREL(%rip), %rcx
	movq	_IB_MCR_COMPMASK_PORT_GID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_IB_MCR_COMPMASK_JOIN_STATE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SA_DATA_SIZE,4,2            ## @IB_SA_DATA_SIZE
	.comm	_IB_SA_MCM_MGID_F,4,2           ## @IB_SA_MCM_MGID_F
	.comm	_IB_SA_MCM_PORTGID_F,4,2        ## @IB_SA_MCM_PORTGID_F
	.comm	_IB_SA_MCM_JOIN_STATE_F,4,2     ## @IB_SA_MCM_JOIN_STATE_F
	.comm	_IB_MCR_COMPMASK_MGID,4,2       ## @IB_MCR_COMPMASK_MGID
	.comm	_IB_MCR_COMPMASK_PORT_GID,4,2   ## @IB_MCR_COMPMASK_PORT_GID
	.comm	_IB_MCR_COMPMASK_JOIN_STATE,4,2 ## @IB_MCR_COMPMASK_JOIN_STATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_mcm_rec                  ; -- Begin function build_mcm_rec
	.p2align	2
_build_mcm_rec:                         ; @build_mcm_rec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x0
Lloh0:
	adrp	x8, _IB_SA_DATA_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_SA_DATA_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
Lloh3:
	adrp	x8, _IB_SA_MCM_MGID_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_SA_MCM_MGID_F@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x20
	bl	_mad_set_array
Lloh6:
	adrp	x8, _IB_SA_MCM_PORTGID_F@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_SA_MCM_PORTGID_F@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x19
	bl	_mad_set_array
Lloh9:
	adrp	x8, _IB_SA_MCM_JOIN_STATE_F@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_SA_MCM_JOIN_STATE_F@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	w3, #1
	bl	_mad_set_field
Lloh12:
	adrp	x8, _IB_MCR_COMPMASK_MGID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_MCR_COMPMASK_MGID@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _IB_MCR_COMPMASK_PORT_GID@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IB_MCR_COMPMASK_PORT_GID@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _IB_MCR_COMPMASK_JOIN_STATE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IB_MCR_COMPMASK_JOIN_STATE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SA_DATA_SIZE,4,2            ; @IB_SA_DATA_SIZE
	.comm	_IB_SA_MCM_MGID_F,4,2           ; @IB_SA_MCM_MGID_F
	.comm	_IB_SA_MCM_PORTGID_F,4,2        ; @IB_SA_MCM_PORTGID_F
	.comm	_IB_SA_MCM_JOIN_STATE_F,4,2     ; @IB_SA_MCM_JOIN_STATE_F
	.comm	_IB_MCR_COMPMASK_MGID,4,2       ; @IB_MCR_COMPMASK_MGID
	.comm	_IB_MCR_COMPMASK_PORT_GID,4,2   ; @IB_MCR_COMPMASK_PORT_GID
	.comm	_IB_MCR_COMPMASK_JOIN_STATE,4,2 ; @IB_MCR_COMPMASK_JOIN_STATE
.subsections_via_symbols
