	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_sa_add_one
_ib_sa_add_one:                         ## @ib_sa_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), %rdi
	callq	_rdma_node_get_transport
	movq	_RDMA_TRANSPORT_IB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.1:
	movq	(%r14), %rax
	movq	_RDMA_NODE_IB_SWITCH@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	movl	$0, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movl	8(%r14), %ebx
	movl	$1, %r15d
LBB0_3:
	movl	%ebx, %eax
	subl	%r15d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	28(,%rax,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	%rax, %r12
	movl	%r15d, (%rax)
	movl	%ebx, 4(%rax)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	testl	%r13d, %r13d
	js	LBB0_5
## %bb.6:
	leal	1(%r13), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$24, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r12), %rax
	leaq	(%rax,%r13), %rdi
	addq	$-16, %rdi
	movq	_update_sm_ah@GOTPCREL(%rip), %rsi
	callq	_INIT_WORK
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$32, %r13
	movq	%r15, %rbx
	cmpq	%r15, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	addq	%r13, %rdi
	callq	_spin_lock_init
	leaq	1(%rbx), %r15
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_rdma_port_get_link_layer
	movq	_IB_LINK_LAYER_INFINIBAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r12), %rax
	movq	$0, -8(%rax,%r13)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rbx), %esi
	movl	%esi, -24(%rax,%r13)
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_send_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_recv_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%r12
	pushq	%rax
	callq	_ib_register_mad_agent
	addq	$16, %rsp
	movq	8(%r12), %rcx
	movl	%eax, -20(%rcx,%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.19:
	movl	%ebx, %r15d
	jmp	LBB0_20
LBB0_11:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_5:
	xorl	%r15d, %r15d
LBB0_12:
	movq	_sa_client@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_ib_set_client_data
	movq	%r12, %rbx
	addq	$16, %rbx
	movq	_ib_sa_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_INIT_IB_EVENT_HANDLER
	movq	%rbx, %rdi
	callq	_ib_register_event_handler
	testq	%rax, %rax
	je	LBB0_13
LBB0_20:
	testl	%r15d, %r15d
	jle	LBB0_25
## %bb.21:
	movl	%r15d, %esi
	movq	_IB_LINK_LAYER_INFINIBAND@GOTPCREL(%rip), %r15
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rax
	incq	%rax
	movq	%rbx, %rsi
	cmpq	$1, %rax
	jbe	LBB0_25
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rsi), %rbx
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_rdma_port_get_link_layer
	cmpq	(%r15), %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%r12), %rax
	movl	%ebx, %ecx
	shlq	$5, %rcx
	movl	4(%rax,%rcx), %edi
	callq	_ib_unregister_mad_agent
	jmp	LBB0_24
LBB0_25:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_13:
	testl	%r13d, %r13d
	js	LBB0_18
## %bb.14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %ebx
	xorl	%r15d, %r15d
	movq	_IB_LINK_LAYER_INFINIBAND@GOTPCREL(%rip), %r13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	addq	$32, %rbx
	cmpq	%r15, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	incq	%r15
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_rdma_port_get_link_layer
	cmpq	(%r13), %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r12), %rdi
	addq	%rbx, %rdi
	callq	_update_sm_ah
	jmp	LBB0_17
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_TRANSPORT_IB,8,3          ## @RDMA_TRANSPORT_IB
	.comm	_RDMA_NODE_IB_SWITCH,8,3        ## @RDMA_NODE_IB_SWITCH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IB_LINK_LAYER_INFINIBAND,8,3   ## @IB_LINK_LAYER_INFINIBAND
	.comm	_IB_QPT_GSI,4,2                 ## @IB_QPT_GSI
	.comm	_send_handler,4,2               ## @send_handler
	.comm	_recv_handler,4,2               ## @recv_handler
	.comm	_sa_client,4,2                  ## @sa_client
	.comm	_ib_sa_event,4,2                ## @ib_sa_event
	.no_dead_strip	_ib_sa_add_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_sa_add_one
_ib_sa_add_one:                         ; @ib_sa_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	x0, [x0]
	bl	_rdma_node_get_transport
Lloh0:
	adrp	x8, _RDMA_TRANSPORT_IB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_TRANSPORT_IB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _RDMA_NODE_IB_SWITCH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RDMA_NODE_IB_SWITCH@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w22, #0
	mov	w21, #0
	b	LBB0_4
LBB0_3:
	ldr	w21, [x19, #8]
	mov	w22, #1
LBB0_4:
	sub	w24, w21, w22
	lsl	w8, w24, #2
	add	w0, w8, #28
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_26
; %bb.5:
	mov	x20, x0
	stp	w22, w21, [x0]
Lloh9:
	adrp	x23, _IB_LINK_LAYER_INFINIBAND@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IB_LINK_LAYER_INFINIBAND@GOTPAGEOFF]
	tbnz	w24, #31, LBB0_13
; %bb.6:
	mov	x25, #0
	str	w24, [sp, #12]                  ; 4-byte Folded Spill
	add	w26, w24, #1
	mov	w28, #24
Lloh11:
	adrp	x24, _recv_handler@GOTPAGE
Lloh12:
	ldr	x24, [x24, _recv_handler@GOTPAGEOFF]
Lloh13:
	adrp	x21, _update_sm_ah@GOTPAGE
Lloh14:
	ldr	x21, [x21, _update_sm_ah@GOTPAGEOFF]
	mov	w27, w22
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, x28
	sub	x0, x8, #16
	mov	x1, x21
	bl	_INIT_WORK
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x28, x28, #32
	mov	x25, x22
	cmp	x26, x22
	b.eq	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x28
	bl	_spin_lock_init
	add	x22, x25, #1
	mov	x0, x19
	mov	x1, x22
	bl	_rdma_port_get_link_layer
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, x28
	stur	xzr, [x8, #-8]
	add	w1, w27, w25
	stur	w1, [x8, #-24]
Lloh15:
	adrp	x8, _IB_QPT_GSI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_QPT_GSI@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _send_handler@GOTPAGE
Lloh19:
	ldr	x8, [x8, _send_handler@GOTPAGEOFF]
Lloh20:
	ldr	w5, [x8]
	ldr	w6, [x24]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	mov	x7, x20
	bl	_ib_register_mad_agent
	ldr	x8, [x20, #8]
	add	x8, x8, x28
	stur	w0, [x8, #-20]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.11:
	mov	x26, x25
	b	LBB0_15
LBB0_12:
	ldr	w24, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_14
LBB0_13:
	mov	w26, #0
LBB0_14:
Lloh21:
	adrp	x1, _sa_client@GOTPAGE
Lloh22:
	ldr	x1, [x1, _sa_client@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	bl	_ib_set_client_data
	add	x21, x20, #16
Lloh23:
	adrp	x8, _ib_sa_event@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ib_sa_event@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_INIT_IB_EVENT_HANDLER
	mov	x0, x21
	bl	_ib_register_event_handler
	cbz	x0, LBB0_21
LBB0_15:
	cmp	w26, #1
	b.lt	LBB0_20
; %bb.16:
	mov	w1, w26
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x8, x21, #1
	mov	x1, x21
	cmp	x8, #1
	b.ls	LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	sub	x21, x1, #1
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_rdma_port_get_link_layer
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x20, #8]
	and	x9, x21, #0xffffffff
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #4]
	bl	_ib_unregister_mad_agent
	b	LBB0_17
LBB0_20:
	mov	x0, x20
	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	_kfree
LBB0_21:
	tbnz	w24, #31, LBB0_26
; %bb.22:
	mov	x21, #0
	add	w22, w24, #1
	mov	w24, #8
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x24, x24, #32
	cmp	x22, x21
	b.eq	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	add	x21, x21, #1
	mov	x0, x19
	mov	x1, x21
	bl	_rdma_port_get_link_layer
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x24
	bl	_update_sm_ah
	b	LBB0_23
LBB0_26:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_TRANSPORT_IB,8,3          ; @RDMA_TRANSPORT_IB
	.comm	_RDMA_NODE_IB_SWITCH,8,3        ; @RDMA_NODE_IB_SWITCH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IB_LINK_LAYER_INFINIBAND,8,3   ; @IB_LINK_LAYER_INFINIBAND
	.comm	_IB_QPT_GSI,4,2                 ; @IB_QPT_GSI
	.comm	_send_handler,4,2               ; @send_handler
	.comm	_recv_handler,4,2               ; @recv_handler
	.comm	_sa_client,4,2                  ; @sa_client
	.comm	_ib_sa_event,4,2                ; @ib_sa_event
	.no_dead_strip	_ib_sa_add_one
.subsections_via_symbols
