	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_set_mgid
_cma_set_mgid:                          ## @cma_set_mgid
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rdi
	callq	_cma_any_addr
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.2:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_3:
	movq	(%rbx), %rdi
	movq	_AF_INET6@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rdi
	jne	LBB0_6
## %bb.4:
	movl	(%rdi), %edi
	callq	_be32_to_cpu
	andl	$-983041, %eax                  ## imm = 0xFFF0FFFF
	cmpl	$-15687653, %eax                ## imm = 0xFF10A01B
	je	LBB0_7
## %bb.5:
	movq	(%rbx), %rdi
LBB0_6:
	movq	_AF_IB@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_9
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_9:
	cmpq	(%r13), %rdi
	jne	LBB0_11
## %bb.10:
	movl	8(%r12), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_ipv6_ib_mc_map
	jmp	LBB0_12
LBB0_11:
	movl	8(%r12), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r14, %rdx
	callq	_ip_ib_mc_map
LBB0_12:
	movq	(%r12), %rax
	movq	_RDMA_PS_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movb	$1, 7(%r14)
LBB0_14:
	movl	4(%r14), %eax
	movl	%eax, (%r15)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ADDR_LEN,4,2               ## @MAX_ADDR_LEN
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_AF_IB,8,3                      ## @AF_IB
	.comm	_RDMA_PS_UDP,8,3                ## @RDMA_PS_UDP
	.no_dead_strip	_cma_set_mgid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_set_mgid
_cma_set_mgid:                          ; @cma_set_mgid
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_ADDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x1
	bl	_cma_any_addr
	cbz	x0, LBB0_3
; %bb.1:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	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	_memset
LBB0_3:
	ldr	x0, [x21]
Lloh11:
	adrp	x23, _AF_INET6@GOTPAGE
Lloh12:
	ldr	x23, [x23, _AF_INET6@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x0]
	bl	_be32_to_cpu
	and	w8, w0, #0xfff0ffff
	add	w8, w8, #3829, lsl #12          ; =15683584
	cmn	w8, #4069
	b.eq	LBB0_7
; %bb.5:
	ldr	x0, [x21]
LBB0_6:
Lloh13:
	adrp	x8, _AF_IB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AF_IB@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #4
	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	_memcpy
LBB0_9:
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:
	ldr	w1, [x22, #8]
	mov	x0, x21
	mov	x2, x20
	bl	_ipv6_ib_mc_map
	b	LBB0_12
LBB0_11:
	ldr	w1, [x22, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x2, x20
	bl	_ip_ib_mc_map
LBB0_12:
	ldr	x8, [x22]
Lloh19:
	adrp	x9, _RDMA_PS_UDP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _RDMA_PS_UDP@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	mov	w8, #1
	strb	w8, [x20, #7]
LBB0_14:
	ldr	w8, [x20, #4]
	str	w8, [x19]
	ldur	x8, [x29, #-56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	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_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ADDR_LEN,4,2               ; @MAX_ADDR_LEN
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_AF_IB,8,3                      ; @AF_IB
	.comm	_RDMA_PS_UDP,8,3                ; @RDMA_PS_UDP
	.no_dead_strip	_cma_set_mgid
.subsections_via_symbols
