	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_cm_rep_handler
_ipoib_cm_rep_handler:                  ## @ipoib_cm_rep_handler
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movl	8(%r13), %edi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_be32_to_cpu
	movq	%rax, (%r13)
	movq	_IPOIB_ENCAP_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_1
## %bb.2:
	movq	_IB_QPS_RTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-72(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	callq	_ib_cm_init_qp_attr
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_ipoib_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_22
LBB0_5:
	movq	$0, -64(%rbp)
	movl	28(%r13), %edi
	movl	-52(%rbp), %edx
	leaq	-72(%rbp), %rsi
	callq	_ib_modify_qp
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_7:
	movq	_IB_QPS_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-72(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	callq	_ib_cm_init_qp_attr
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_4
LBB0_9:
	movl	28(%r13), %edi
	movl	-52(%rbp), %edx
	leaq	-72(%rbp), %rsi
	callq	_ib_modify_qp
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
LBB0_4:
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_ipoib_warn
LBB0_22:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	-48(%rbp), %rdi
	callq	_skb_queue_head_init
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	_IPOIB_FLAG_OPER_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r13), %rsi
	callq	_set_bit
	movq	16(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.12:
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	leaq	-48(%rbp), %rbx
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	___skb_queue_tail
	movq	16(%r13), %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	jne	LBB0_14
LBB0_15:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	leaq	-48(%rbp), %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	leaq	-48(%rbp), %rbx
	leaq	L_.str.5(%rip), %r12
	jmp	LBB0_17
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %ecx
	movl	%ecx, (%rax)
	movq	%rax, %rdi
	callq	_dev_queue_xmit
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_ipoib_warn
	jmp	LBB0_19
LBB0_20:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ib_send_cm_rtu
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, %r15d
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ipoib_warn
	movl	%r15d, %ebx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_ENCAP_LEN,8,3            ## @IPOIB_ENCAP_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rejecting connection: mtu %d <= %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IB_QPS_RTR,4,2                 ## @IB_QPS_RTR
L_.str.1:                               ## @.str.1
	.asciz	"failed to init QP attr for RTR: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to modify QP to RTR: %d\n"

	.comm	_IB_QPS_RTS,4,2                 ## @IB_QPS_RTS
L_.str.3:                               ## @.str.3
	.asciz	"failed to init QP attr for RTS: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to modify QP to RTS: %d\n"

	.comm	_IPOIB_FLAG_OPER_UP,4,2         ## @IPOIB_FLAG_OPER_UP
L_.str.5:                               ## @.str.5
	.asciz	"dev_queue_xmit failed to requeue packet\n"

L_.str.6:                               ## @.str.6
	.asciz	"failed to send RTU: %d\n"

	.no_dead_strip	_ipoib_cm_rep_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_cm_rep_handler
_ipoib_cm_rep_handler:                  ; @ipoib_cm_rep_handler
	.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	x21, x1
	mov	x20, x0
	ldr	x22, [x0]
	ldr	w0, [x22, #8]
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_be32_to_cpu
	str	x0, [x22]
Lloh0:
	adrp	x8, _IPOIB_ENCAP_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_ENCAP_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _IB_QPS_RTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_QPS_RTR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	add	x1, sp, #24
	add	x2, sp, #20
	mov	x0, x20
	bl	_ib_cm_init_qp_attr
	cbz	w0, LBB0_4
; %bb.2:
	mov	x21, x0
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	b	LBB0_22
LBB0_3:
	stp	x0, x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_22
LBB0_4:
	str	xzr, [sp, #32]
	ldr	w0, [x22, #28]
	ldr	w2, [sp, #20]
	add	x1, sp, #24
	bl	_ib_modify_qp
	cbz	w0, LBB0_6
; %bb.5:
	mov	x21, x0
	str	x21, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_6:
Lloh15:
	adrp	x8, _IB_QPS_RTS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_QPS_RTS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	add	x1, sp, #24
	add	x2, sp, #20
	mov	x0, x20
	bl	_ib_cm_init_qp_attr
	cbz	w0, LBB0_8
; %bb.7:
	mov	x21, x0
	str	x21, [sp]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_8:
	ldr	w0, [x22, #28]
	ldr	w2, [sp, #20]
	add	x1, sp, #24
	bl	_ib_modify_qp
	cbz	w0, LBB0_10
; %bb.9:
	mov	x21, x0
	str	x21, [sp]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_21
LBB0_10:
	add	x0, sp, #40
	bl	_skb_queue_head_init
	mov	x0, x19
	bl	_spin_lock_irq
Lloh22:
	adrp	x8, _IPOIB_FLAG_OPER_UP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IPOIB_FLAG_OPER_UP@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	add	x1, x22, #24
	bl	_set_bit
	ldr	x0, [x22, #16]
	cbz	x0, LBB0_14
; %bb.11:
	bl	___skb_dequeue
	cbz	x0, LBB0_14
; %bb.12:
	mov	x1, x0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #40
	bl	___skb_queue_tail
	ldr	x0, [x22, #16]
	bl	___skb_dequeue
	mov	x1, x0
	cbnz	x0, LBB0_13
LBB0_14:
	mov	x0, x19
	bl	_spin_unlock_irq
	add	x0, sp, #40
	bl	___skb_dequeue
	cbz	x0, LBB0_19
; %bb.15:
Lloh25:
	adrp	x21, l_.str.5@PAGE
Lloh26:
	add	x21, x21, l_.str.5@PAGEOFF
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x0, sp, #40
	bl	___skb_dequeue
	cbz	x0, LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22, #8]
	str	w8, [x0]
	bl	_dev_queue_xmit
	cbz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_ipoib_warn
	b	LBB0_16
LBB0_19:
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	bl	_ib_send_cm_rtu
	mov	x21, x0
	cbz	w0, LBB0_22
; %bb.20:
	str	x21, [sp]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_21:
	mov	x0, x19
	bl	_ipoib_warn
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
LBB0_22:
	mov	x0, x21
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_ENCAP_LEN,8,3            ; @IPOIB_ENCAP_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rejecting connection: mtu %d <= %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IB_QPS_RTR,4,2                 ; @IB_QPS_RTR
l_.str.1:                               ; @.str.1
	.asciz	"failed to init QP attr for RTR: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to modify QP to RTR: %d\n"

	.comm	_IB_QPS_RTS,4,2                 ; @IB_QPS_RTS
l_.str.3:                               ; @.str.3
	.asciz	"failed to init QP attr for RTS: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to modify QP to RTS: %d\n"

	.comm	_IPOIB_FLAG_OPER_UP,4,2         ; @IPOIB_FLAG_OPER_UP
l_.str.5:                               ; @.str.5
	.asciz	"dev_queue_xmit failed to requeue packet\n"

l_.str.6:                               ; @.str.6
	.asciz	"failed to send RTU: %d\n"

	.no_dead_strip	_ipoib_cm_rep_handler
.subsections_via_symbols
