	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smp_snoop
_smp_snoop:                             ## @smp_snoop
	.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	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdx), %r13
	movq	_IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_2
## %bb.1:
	movq	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_10
LBB0_2:
	movq	8(%rbx), %rax
	movq	_IB_MGMT_METHOD_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.3:
	movq	16(%rbx), %rax
	movq	_IB_SMP_ATTR_PORT_INFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.4:
	movl	12(%r13), %edi
	callq	_be16_to_cpu
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_to_mdev
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_mthca_update_rate
	movq	%r15, %rdi
	callq	_to_mdev
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%r13), %edi
	callq	_be16_to_cpu
	movl	(%r13), %ecx
	andl	$15, %ecx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_update_sm_ah
	movq	%r15, -56(%rbp)
	movq	%r14, -72(%rbp)
	testb	$-128, 4(%r13)
	je	LBB0_6
## %bb.5:
	movq	_IB_EVENT_CLIENT_REREGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_ib_dispatch_event
LBB0_6:
	cmpq	%r12, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movq	_IB_EVENT_LID_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_ib_dispatch_event
LBB0_8:
	movq	16(%rbx), %rax
	movq	_IB_SMP_ATTR_PKEY_TABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	%r15, -56(%rbp)
	movq	_IB_EVENT_PKEY_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%r14, -72(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_ib_dispatch_event
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MGMT_CLASS_SUBN_LID_ROUTED,8,3 ## @IB_MGMT_CLASS_SUBN_LID_ROUTED
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ## @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_IB_MGMT_METHOD_SET,8,3         ## @IB_MGMT_METHOD_SET
	.comm	_IB_SMP_ATTR_PORT_INFO,8,3      ## @IB_SMP_ATTR_PORT_INFO
	.comm	_IB_EVENT_CLIENT_REREGISTER,4,2 ## @IB_EVENT_CLIENT_REREGISTER
	.comm	_IB_EVENT_LID_CHANGE,4,2        ## @IB_EVENT_LID_CHANGE
	.comm	_IB_SMP_ATTR_PKEY_TABLE,8,3     ## @IB_SMP_ATTR_PKEY_TABLE
	.comm	_IB_EVENT_PKEY_CHANGE,4,2       ## @IB_EVENT_PKEY_CHANGE
	.no_dead_strip	_smp_snoop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smp_snoop
_smp_snoop:                             ; @smp_snoop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x25, [x2]
Lloh0:
	adrp	x8, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x25, x8
	ccmp	x25, x9, #4, ne
	b.ne	LBB0_9
; %bb.1:
	mov	x21, x2
	ldr	x8, [x2, #8]
Lloh6:
	adrp	x9, _IB_MGMT_METHOD_SET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_MGMT_METHOD_SET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.2:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x21, #16]
Lloh9:
	adrp	x9, _IB_SMP_ATTR_PORT_INFO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_SMP_ATTR_PORT_INFO@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	mov	x22, x3
	ldr	w0, [x25, #12]
	bl	_be16_to_cpu
	mov	x23, x0
	mov	x0, x20
	bl	_to_mdev
	mov	x1, x19
	bl	_mthca_update_rate
	mov	x0, x20
	bl	_to_mdev
	mov	x24, x0
	ldr	w0, [x25, #8]
	bl	_be16_to_cpu
	mov	x2, x0
	ldr	w8, [x25]
	and	w3, w8, #0xf
	mov	x0, x24
	mov	x1, x19
	bl	_update_sm_ah
	str	x20, [sp, #24]
	str	x19, [sp, #8]
	ldrb	w8, [x25, #4]
	tbz	w8, #7, LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _IB_EVENT_CLIENT_REREGISTER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_EVENT_CLIENT_REREGISTER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	add	x0, sp, #8
	bl	_ib_dispatch_event
LBB0_5:
	cmp	x23, x22
	b.eq	LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _IB_EVENT_LID_CHANGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_EVENT_LID_CHANGE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	add	x0, sp, #8
	bl	_ib_dispatch_event
LBB0_7:
	ldr	x8, [x21, #16]
Lloh18:
	adrp	x9, _IB_SMP_ATTR_PKEY_TABLE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IB_SMP_ATTR_PKEY_TABLE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	str	x20, [sp, #24]
Lloh21:
	adrp	x8, _IB_EVENT_PKEY_CHANGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IB_EVENT_PKEY_CHANGE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	x19, [sp, #8]
	add	x0, sp, #8
	bl	_ib_dispatch_event
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MGMT_CLASS_SUBN_LID_ROUTED,8,3 ; @IB_MGMT_CLASS_SUBN_LID_ROUTED
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ; @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_IB_MGMT_METHOD_SET,8,3         ; @IB_MGMT_METHOD_SET
	.comm	_IB_SMP_ATTR_PORT_INFO,8,3      ; @IB_SMP_ATTR_PORT_INFO
	.comm	_IB_EVENT_CLIENT_REREGISTER,4,2 ; @IB_EVENT_CLIENT_REREGISTER
	.comm	_IB_EVENT_LID_CHANGE,4,2        ; @IB_EVENT_LID_CHANGE
	.comm	_IB_SMP_ATTR_PKEY_TABLE,8,3     ; @IB_SMP_ATTR_PKEY_TABLE
	.comm	_IB_EVENT_PKEY_CHANGE,4,2       ; @IB_EVENT_PKEY_CHANGE
	.no_dead_strip	_smp_snoop
.subsections_via_symbols
