	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_cm_create_tx_qp
_ipoib_cm_create_tx_qp:                 ## @ipoib_cm_create_tx_qp
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_ipoib_priv
	movq	%rax, %rbx
	movl	$1, -72(%rbp)
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	$0, -64(%rbp)
	movq	%r14, -56(%rbp)
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_IB_SIGNAL_ALL_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -32(%rbp)
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_u32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	callq	_min_t
	movl	%eax, -72(%rbp)
LBB0_2:
	movl	(%rbx), %edi
	leaq	-72(%rbp), %rsi
	callq	_ib_create_qp
	movl	-72(%rbp), %ecx
	movl	%ecx, (%r14)
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipoib_sendq_size,4,2           ## @ipoib_sendq_size
	.comm	_IB_QPT_RC,4,2                  ## @IB_QPT_RC
	.comm	_IB_SIGNAL_ALL_WR,4,2           ## @IB_SIGNAL_ALL_WR
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_u32,4,2                        ## @u32
	.comm	_MAX_SKB_FRAGS,8,3              ## @MAX_SKB_FRAGS
	.no_dead_strip	_ipoib_cm_create_tx_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_cm_create_tx_qp
_ipoib_cm_create_tx_qp:                 ; @ipoib_cm_create_tx_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x21, x0
	bl	_ipoib_priv
	mov	x20, x0
	mov	w8, #1
Lloh0:
	adrp	x9, _ipoib_sendq_size@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ipoib_sendq_size@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	str	wzr, [sp, #8]
	str	x19, [sp, #16]
Lloh3:
	adrp	x8, _IB_QPT_RC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_QPT_RC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IB_SIGNAL_ALL_WR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_SIGNAL_ALL_WR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
	ldr	d0, [x0, #16]
	str	d0, [sp, #32]
	ldr	w8, [x0, #24]
	str	w8, [sp, #40]
	ldr	w8, [x21]
Lloh9:
	adrp	x9, _NETIF_F_SG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NETIF_F_SG@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _u32@GOTPAGE
Lloh13:
	ldr	x8, [x8, _u32@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _MAX_SKB_FRAGS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x2, x8, #1
	bl	_min_t
	str	w0, [sp]
LBB0_2:
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ib_create_qp
	ldr	w8, [sp]
	str	w8, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ipoib_sendq_size,4,2           ; @ipoib_sendq_size
	.comm	_IB_QPT_RC,4,2                  ; @IB_QPT_RC
	.comm	_IB_SIGNAL_ALL_WR,4,2           ; @IB_SIGNAL_ALL_WR
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_u32,4,2                        ; @u32
	.comm	_MAX_SKB_FRAGS,8,3              ; @MAX_SKB_FRAGS
	.no_dead_strip	_ipoib_cm_create_tx_qp
.subsections_via_symbols
