	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_local_comm_id
_get_local_comm_id:                     ## @get_local_comm_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	movq	_CM_SIDR_REQ_ATTR_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_3
## %bb.1:
	movq	_CM_SIDR_REP_ATTR_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_3:
                                        ## kill: def $edi killed $edi killed $rdi
	popq	%rbp
	jmp	_be32_to_cpu                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_SIDR_REQ_ATTR_ID,8,3        ## @CM_SIDR_REQ_ATTR_ID
	.comm	_CM_SIDR_REP_ATTR_ID,8,3        ## @CM_SIDR_REP_ATTR_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trying to set local_comm_id in SIDR_REP\n"

	.no_dead_strip	_get_local_comm_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_local_comm_id
_get_local_comm_id:                     ; @get_local_comm_id
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _CM_SIDR_REQ_ATTR_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_SIDR_REQ_ATTR_ID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _CM_SIDR_REP_ATTR_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CM_SIDR_REP_ATTR_ID@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_be32_to_cpu
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_SIDR_REQ_ATTR_ID,8,3        ; @CM_SIDR_REQ_ATTR_ID
	.comm	_CM_SIDR_REP_ATTR_ID,8,3        ; @CM_SIDR_REP_ATTR_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trying to set local_comm_id in SIDR_REP\n"

	.no_dead_strip	_get_local_comm_id
.subsections_via_symbols
