	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_ndo_init
_ipoib_ndo_init:                        ## @ipoib_ndo_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_ipoib_priv
	movq	%rax, %rbx
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_ipoib_child_init
LBB0_3:
	movl	60(%rbx), %edi
	callq	_IPOIB_UD_MTU
	movl	%eax, 20(%r15)
	movl	%eax, 52(%rbx)
	movl	%eax, 56(%rbx)
	movq	_IPOIB_CM_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movl	$4, (%r15)
	movl	$32768, %eax                    ## imm = 0x8000
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	sarl	$8, %eax
	movq	8(%r15), %rcx
	movl	%eax, 32(%rcx)
	movzbl	(%rbx), %eax
	movl	%eax, 36(%rcx)
	movq	_IPOIB_FLAG_DEV_ADDR_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	48(%rbx), %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_ipoib_set_dev_features
	movq	%r15, %rdi
	callq	_ipoib_dev_init
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r14d
	movq	40(%rbx), %rax
	movl	(%rax), %esi
	movq	32(%rbx), %rax
	movl	(%rax), %edx
	movl	24(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %r8d
	callq	_pr_warn
	jmp	LBB0_7
LBB0_2:
	movq	%r15, %rdi
	callq	_ipoib_parent_init
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_3
LBB0_5:
	movq	16(%rbx), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_ipoib_priv
	movq	%rax, %r15
	movq	16(%rbx), %rdi
	callq	_dev_hold
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	callq	_down_write
	addq	$12, %rbx
	addq	$8, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail
	movq	%r12, %rdi
	callq	_up_write
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_CM_MTU,4,2               ## @IPOIB_CM_MTU
	.comm	_IPOIB_FLAG_DEV_ADDR_SET,4,2    ## @IPOIB_FLAG_DEV_ADDR_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: failed to initialize device: %s port %d (ret = %d)\n"

	.no_dead_strip	_ipoib_ndo_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_ndo_init
_ipoib_ndo_init:                        ; @ipoib_ndo_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_ipoib_priv
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_ipoib_child_init
LBB0_2:
	ldr	w0, [x19, #60]
	bl	_IPOIB_UD_MTU
Lloh0:
	adrp	x8, _IPOIB_CM_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_CM_MTU@GOTPAGEOFF]
	stp	w0, w0, [x19, #52]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #16]
	mov	w8, #4
	str	w8, [x20]
	ldr	w8, [x19]
	orr	w8, w8, #0x8000
	str	w8, [x19]
	asr	w8, w8, #8
	ldr	x9, [x20, #8]
	str	w8, [x9, #32]
	ldrb	w8, [x19]
	str	w8, [x9, #36]
Lloh3:
	adrp	x8, _IPOIB_FLAG_DEV_ADDR_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPOIB_FLAG_DEV_ADDR_SET@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #48
	bl	_set_bit
	mov	x0, x19
	bl	_ipoib_set_dev_features
	mov	x0, x20
	bl	_ipoib_dev_init
	cbz	w0, LBB0_5
; %bb.3:
	mov	x21, x0
	ldp	x9, x8, [x19, #32]
	ldr	w1, [x8]
	ldr	w2, [x9]
	ldr	w3, [x19, #24]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, x21
	bl	_pr_warn
	b	LBB0_8
LBB0_4:
	mov	x0, x20
	bl	_ipoib_parent_init
	mov	x21, x0
	cbnz	w0, LBB0_8
	b	LBB0_2
LBB0_5:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_ipoib_priv
	mov	x20, x0
	ldr	x0, [x19, #16]
	bl	_dev_hold
	add	x21, x20, #4
	mov	x0, x21
	bl	_down_write
	add	x0, x19, #12
	add	x1, x20, #8
	bl	_list_add_tail
	mov	x0, x21
	bl	_up_write
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_CM_MTU,4,2               ; @IPOIB_CM_MTU
	.comm	_IPOIB_FLAG_DEV_ADDR_SET,4,2    ; @IPOIB_FLAG_DEV_ADDR_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: failed to initialize device: %s port %d (ret = %d)\n"

	.no_dead_strip	_ipoib_ndo_init
.subsections_via_symbols
