	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_mellanox_line_and_spine
_insert_mellanox_line_and_spine:        ## @insert_mellanox_line_and_spine
	.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), %rax
	movq	_LINE_CS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rsi), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_SPINE_CS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	(%rsi), %rax
LBB0_4:
	movq	8(%rdi), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_6
## %bb.5:
	leaq	(%rax,%rcx,8), %rax
	movq	%rdi, (%rax)
	movq	%rsi, 16(%rdi)
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINE_CS,8,3                    ## @LINE_CS
	.comm	_SPINE_CS,8,3                   ## @SPINE_CS
	.no_dead_strip	_insert_mellanox_line_and_spine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_mellanox_line_and_spine
_insert_mellanox_line_and_spine:        ; @insert_mellanox_line_and_spine
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _LINE_CS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LINE_CS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x1, #8]
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _SPINE_CS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPINE_CS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x1]
LBB0_4:
	ldr	x9, [x0, #8]
	add	x8, x8, x9, lsl #3
	ldr	x9, [x8]
	cbz	x9, LBB0_6
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
	str	x0, [x8]
	str	x1, [x0, #16]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LINE_CS,8,3                    ; @LINE_CS
	.comm	_SPINE_CS,8,3                   ; @SPINE_CS
	.no_dead_strip	_insert_mellanox_line_and_spine
.subsections_via_symbols
