	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_add_one
_ipoib_add_one:                         ## @ipoib_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	callq	_rdma_node_get_transport
	movq	_RDMA_TRANSPORT_IB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%r15), %rax
	movq	_RDMA_NODE_IB_SWITCH@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	movl	$0, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movl	8(%r15), %r14d
	movl	$1, %ebx
	testl	%r14d, %r14d
	jle	LBB0_9
LBB0_4:
	incl	%r14d
	movq	_IB_LINK_LAYER_INFINIBAND@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	cmpl	%ebx, %r14d
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_rdma_port_get_link_layer
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_ipoib_add_port
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	jmp	LBB0_8
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ipoib_client@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$8, %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_TRANSPORT_IB,8,3          ## @RDMA_TRANSPORT_IB
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_RDMA_NODE_IB_SWITCH,8,3        ## @RDMA_NODE_IB_SWITCH
	.comm	_IB_LINK_LAYER_INFINIBAND,8,3   ## @IB_LINK_LAYER_INFINIBAND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ib"

	.comm	_ipoib_client,4,2               ## @ipoib_client
	.no_dead_strip	_ipoib_add_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_add_one
_ipoib_add_one:                         ; @ipoib_add_one
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	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_4
; %bb.1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	bl	_INIT_LIST_HEAD
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _RDMA_NODE_IB_SWITCH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RDMA_NODE_IB_SWITCH@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	w8, #0
	mov	w21, #0
	b	LBB0_7
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.6:
	mov	w21, #1
LBB0_7:
	add	w24, w8, #1
Lloh9:
	adrp	x25, _IB_LINK_LAYER_INFINIBAND@GOTPAGE
Lloh10:
	ldr	x25, [x25, _IB_LINK_LAYER_INFINIBAND@GOTPAGEOFF]
Lloh11:
	adrp	x22, l_.str@PAGE
Lloh12:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w21, w21, #1
	cmp	w24, w21
	b.eq	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_rdma_port_get_link_layer
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_ipoib_add_port
	mov	x23, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x23]
	mov	x1, x20
	bl	_list_add_tail
	b	LBB0_8
LBB0_12:
Lloh13:
	adrp	x1, _ipoib_client@GOTPAGE
Lloh14:
	ldr	x1, [x1, _ipoib_client@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ib_set_client_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_TRANSPORT_IB,8,3          ; @RDMA_TRANSPORT_IB
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_RDMA_NODE_IB_SWITCH,8,3        ; @RDMA_NODE_IB_SWITCH
	.comm	_IB_LINK_LAYER_INFINIBAND,8,3   ; @IB_LINK_LAYER_INFINIBAND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ib"

	.comm	_ipoib_client,4,2               ; @ipoib_client
	.no_dead_strip	_ipoib_add_one
.subsections_via_symbols
