	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_local_mad
_is_local_mad:                          ## @is_local_mad
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_ppd_from_ibp
	movq	(%rbx), %rcx
	movq	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	cmpq	$0, 8(%rbx)
	jne	LBB0_6
## %bb.2:
	movq	16(%rbx), %rcx
	movq	_OPA_LID_PERMISSIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.3:
	addq	$24, %rbx
	jmp	LBB0_5
LBB0_4:
	movq	(%rax), %rcx
	movq	%r14, %rbx
LBB0_5:
	xorl	%eax, %eax
	cmpq	%rcx, (%rbx)
	sete	%al
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ## @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_OPA_LID_PERMISSIVE,8,3         ## @OPA_LID_PERMISSIVE
	.no_dead_strip	_is_local_mad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_local_mad
_is_local_mad:                          ; @is_local_mad
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_ppd_from_ibp
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _OPA_LID_PERMISSIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OPA_LID_PERMISSIVE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	add	x19, x20, #24
	b	LBB0_5
LBB0_4:
	ldr	x8, [x0]
LBB0_5:
	ldr	x9, [x19]
	cmp	x9, x8
	cset	w0, eq
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ; @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_OPA_LID_PERMISSIVE,8,3         ; @OPA_LID_PERMISSIVE
	.no_dead_strip	_is_local_mad
.subsections_via_symbols
