	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_alloc_netdev
_ipoib_alloc_netdev:                    ## @ipoib_alloc_netdev
	.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	%rdx, %r14
	movq	_RDMA_NETDEV_IPOIB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NET_NAME_UNKNOWN@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	_ipoib_setup_common@GOTPCREL(%rip), %r12
	movl	(%r12), %r9d
	movq	%r14, %rcx
	callq	_rdma_alloc_netdev
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movl	$4, %edi
	movq	%r14, %rsi
	callq	_alloc_netdev
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NETDEV_IPOIB,4,2          ## @RDMA_NETDEV_IPOIB
	.comm	_NET_NAME_UNKNOWN,4,2           ## @NET_NAME_UNKNOWN
	.comm	_ipoib_setup_common,4,2         ## @ipoib_setup_common
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ipoib_alloc_netdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_alloc_netdev
_ipoib_alloc_netdev:                    ; @ipoib_alloc_netdev
	.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	x19, x2
Lloh0:
	adrp	x8, _RDMA_NETDEV_IPOIB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_NETDEV_IPOIB@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x21, _NET_NAME_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NET_NAME_UNKNOWN@GOTPAGEOFF]
	ldr	w4, [x21]
Lloh5:
	adrp	x22, _ipoib_setup_common@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ipoib_setup_common@GOTPAGEOFF]
	ldr	w5, [x22]
	mov	x3, x19
	bl	_rdma_alloc_netdev
	mov	x20, x0
	bl	_IS_ERR
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_PTR_ERR
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	w2, [x21]
	ldr	w3, [x22]
	mov	w0, #4
	mov	x1, x19
	bl	_alloc_netdev
	mov	x20, x0
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x20
	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
LBB0_4:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NETDEV_IPOIB,4,2          ; @RDMA_NETDEV_IPOIB
	.comm	_NET_NAME_UNKNOWN,4,2           ; @NET_NAME_UNKNOWN
	.comm	_ipoib_setup_common,4,2         ; @ipoib_setup_common
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ipoib_alloc_netdev
.subsections_via_symbols
