	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function madeye_add_one
_madeye_add_one:                        ## @madeye_add_one
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_RDMA_NODE_IB_SWITCH@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movl	$0, %r13d
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	8(%r14), %r13d
	movl	$1, %ebx
LBB0_2:
	subl	%ebx, %r13d
	movl	%r13d, %edi
	shll	$4, %edi
	addl	$16, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	testl	%r13d, %r13d
	js	LBB0_6
## %bb.4:
	movq	_IB_MAD_SNOOP_SEND_COMPLETIONS@GOTPCREL(%rip), %rax
	movq	_IB_MAD_SNOOP_RECVS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	incl	%r13d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IB_QPT_SMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_snoop_smi_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_recv_smi_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %ecx
	callq	_ib_register_mad_snoop
	movq	%rax, 8(%r15)
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_snoop_gsi_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_recv_gsi_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %ecx
	callq	_ib_register_mad_snoop
	movq	%rax, (%r15)
	incl	%ebx
	addq	$16, %r15
	decq	%r13
	jne	LBB0_5
LBB0_6:
	movq	_madeye_client@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_set_client_data             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NODE_IB_SWITCH,8,3        ## @RDMA_NODE_IB_SWITCH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IB_MAD_SNOOP_SEND_COMPLETIONS,4,2 ## @IB_MAD_SNOOP_SEND_COMPLETIONS
	.comm	_IB_MAD_SNOOP_RECVS,4,2         ## @IB_MAD_SNOOP_RECVS
	.comm	_IB_QPT_SMI,4,2                 ## @IB_QPT_SMI
	.comm	_snoop_smi_handler,4,2          ## @snoop_smi_handler
	.comm	_recv_smi_handler,4,2           ## @recv_smi_handler
	.comm	_IB_QPT_GSI,4,2                 ## @IB_QPT_GSI
	.comm	_snoop_gsi_handler,4,2          ## @snoop_gsi_handler
	.comm	_recv_gsi_handler,4,2           ## @recv_gsi_handler
	.comm	_madeye_client,4,2              ## @madeye_client
	.no_dead_strip	_madeye_add_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function madeye_add_one
_madeye_add_one:                        ; @madeye_add_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RDMA_NODE_IB_SWITCH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RDMA_NODE_IB_SWITCH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	mov	w8, #0
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19, #8]
	mov	w20, #1
LBB0_3:
	sub	w21, w8, w20
	lsl	w8, w21, #4
	add	w0, w8, #16
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmalloc
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x0, LBB0_7
; %bb.4:
	tbnz	w21, #31, LBB0_7
; %bb.5:
Lloh6:
	adrp	x8, _IB_MAD_SNOOP_SEND_COMPLETIONS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_MAD_SNOOP_SEND_COMPLETIONS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IB_MAD_SNOOP_RECVS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_MAD_SNOOP_RECVS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w22, w9, w8
Lloh12:
	adrp	x25, _snoop_smi_handler@GOTPAGE
Lloh13:
	ldr	x25, [x25, _snoop_smi_handler@GOTPAGEOFF]
Lloh14:
	adrp	x26, _recv_smi_handler@GOTPAGE
Lloh15:
	ldr	x26, [x26, _recv_smi_handler@GOTPAGEOFF]
Lloh16:
	adrp	x27, _IB_QPT_GSI@GOTPAGE
Lloh17:
	ldr	x27, [x27, _IB_QPT_GSI@GOTPAGEOFF]
	add	w28, w21, #1
Lloh18:
	adrp	x21, _snoop_gsi_handler@GOTPAGE
Lloh19:
	ldr	x21, [x21, _snoop_gsi_handler@GOTPAGEOFF]
Lloh20:
	adrp	x24, _recv_gsi_handler@GOTPAGE
Lloh21:
	ldr	x24, [x24, _recv_gsi_handler@GOTPAGEOFF]
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
Lloh22:
	adrp	x8, _IB_QPT_SMI@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IB_QPT_SMI@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	ldr	w4, [x25]
	ldr	w5, [x26]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	mov	x6, x23
	bl	_ib_register_mad_snoop
	str	x0, [x23, #8]
	ldr	w2, [x27]
	ldr	w4, [x21]
	ldr	w5, [x24]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	mov	x6, x23
	bl	_ib_register_mad_snoop
	str	x0, [x23], #16
	add	w20, w20, #1
	subs	x28, x28, #1
	b.ne	LBB0_6
LBB0_7:
Lloh25:
	adrp	x1, _madeye_client@GOTPAGE
Lloh26:
	ldr	x1, [x1, _madeye_client@GOTPAGEOFF]
	mov	x0, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ib_set_client_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NODE_IB_SWITCH,8,3        ; @RDMA_NODE_IB_SWITCH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IB_MAD_SNOOP_SEND_COMPLETIONS,4,2 ; @IB_MAD_SNOOP_SEND_COMPLETIONS
	.comm	_IB_MAD_SNOOP_RECVS,4,2         ; @IB_MAD_SNOOP_RECVS
	.comm	_IB_QPT_SMI,4,2                 ; @IB_QPT_SMI
	.comm	_snoop_smi_handler,4,2          ; @snoop_smi_handler
	.comm	_recv_smi_handler,4,2           ; @recv_smi_handler
	.comm	_IB_QPT_GSI,4,2                 ; @IB_QPT_GSI
	.comm	_snoop_gsi_handler,4,2          ; @snoop_gsi_handler
	.comm	_recv_gsi_handler,4,2           ; @recv_gsi_handler
	.comm	_madeye_client,4,2              ; @madeye_client
	.no_dead_strip	_madeye_add_one
.subsections_via_symbols
