	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function node_desc_override
_node_desc_override:                    ## @node_desc_override
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movq	8(%rbx), %rax
	movq	_IB_MGMT_METHOD_GET_RESP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	16(%rbx), %rax
	movq	_IB_SMP_ATTR_NODE_DESC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_to_mdev
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %edi
	movl	(%r14), %esi
	movq	_IB_DEVICE_NODE_DESC_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	%r14, %rdi
	callq	_to_mdev
	movq	%rax, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	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_GET_RESP,8,3    ## @IB_MGMT_METHOD_GET_RESP
	.comm	_IB_SMP_ATTR_NODE_DESC,8,3      ## @IB_SMP_ATTR_NODE_DESC
	.comm	_IB_DEVICE_NODE_DESC_MAX,4,2    ## @IB_DEVICE_NODE_DESC_MAX
	.no_dead_strip	_node_desc_override
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function node_desc_override
_node_desc_override:                    ; @node_desc_override
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1, #8]
Lloh6:
	adrp	x9, _IB_MGMT_METHOD_GET_RESP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_MGMT_METHOD_GET_RESP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20, #16]
Lloh9:
	adrp	x9, _IB_SMP_ATTR_NODE_DESC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_SMP_ATTR_NODE_DESC@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x19, x0
	bl	_to_mdev
	bl	_spin_lock_irqsave
	ldr	w0, [x20]
	ldr	w1, [x19]
Lloh12:
	adrp	x8, _IB_DEVICE_NODE_DESC_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_DEVICE_NODE_DESC_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x19
	bl	_to_mdev
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	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
	.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_GET_RESP,8,3    ; @IB_MGMT_METHOD_GET_RESP
	.comm	_IB_SMP_ATTR_NODE_DESC,8,3      ; @IB_SMP_ATTR_NODE_DESC
	.comm	_IB_DEVICE_NODE_DESC_MAX,4,2    ; @IB_DEVICE_NODE_DESC_MAX
	.no_dead_strip	_node_desc_override
.subsections_via_symbols
