	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_ib_dev_stop              ## -- Begin function ipoib_ib_dev_stop
	.p2align	4, 0x90
_ipoib_ib_dev_stop:                     ## @ipoib_ib_dev_stop
	.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
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %r14
	movq	_IPOIB_FLAG_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%r15), %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	56(%r15), %rdi
	callq	_napi_disable
LBB0_2:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ipoib_cm_dev_stop
	movq	_IB_QPS_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	24(%r14), %edi
	movq	_IB_QP_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	callq	_ib_modify_qp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
LBB0_4:
	movq	_jiffies@GOTPCREL(%rip), %r13
	movq	(%r13), %r15
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	cmpl	4(%r14), %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_recvs_pending
	testq	%rax, %rax
	je	LBB0_17
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,4), %rsi
	addq	%r15, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_8
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_ipoib_drain_cq
	movl	$1, %edi
	callq	_msleep
	jmp	LBB0_5
LBB0_8:
	movl	(%r14), %r12d
	subl	4(%r14), %r12d
	movq	%rbx, %rdi
	callq	_recvs_pending
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_ipoib_warn
	movl	4(%r14), %eax
	cmpl	(%r14), %eax
	jge	LBB0_11
## %bb.9:
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r14), %r12
	movslq	(%r15), %rcx
	decq	%rcx
	movslq	%eax, %rbx
	andq	%rcx, %rbx
	leaq	(%r12,%rbx,8), %rsi
	movl	44(%r14), %edi
	callq	_ipoib_dma_unmap_tx
	movq	(%r12,%rbx,8), %rdi
	callq	_dev_kfree_skb_any
	movl	4(%r14), %eax
	incl	%eax
	movl	%eax, 4(%r14)
	decl	40(%r14)
	cmpl	(%r14), %eax
	jl	LBB0_10
LBB0_11:
	movq	_ipoib_recvq_size@GOTPCREL(%rip), %rax
	movq	%rax, %rbx
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.12:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$16, %r15
	cmpq	%rcx, %r13
	jge	LBB0_18
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %r12
	cmpq	$0, (%r12,%r15)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	8(%r12,%r15), %esi
	movq	%r14, %rdi
	callq	_ipoib_ud_dma_unmap_rx
	movq	(%r12,%r15), %rdi
	callq	_dev_kfree_skb_any
	movq	$0, (%r12,%r15)
	movl	(%rbx), %eax
	jmp	LBB0_15
LBB0_17:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_ipoib_dbg
LBB0_18:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	leaq	28(%r13), %rdi
	callq	_del_timer_sync
	movq	_IB_QPS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	24(%r14), %edi
	movq	_IB_QP_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	callq	_ib_modify_qp
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
LBB0_20:
	movq	_IPOIB_STOP_REAPER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_bit
	leaq	16(%r13), %rdi
	callq	_cancel_delayed_work
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	_jiffies@GOTPCREL(%rip), %rbx
	je	LBB0_22
## %bb.21:
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_flush_workqueue
LBB0_22:
	movq	(%rbx), %r12
	addq	$12, %r13
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r15, %rdi
	callq	___ipoib_reap_ah
	movq	(%rbx), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	addq	%r12, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	$1, %edi
	callq	_msleep
	jmp	LBB0_23
LBB0_25:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
LBB0_26:
	movl	8(%r14), %edi
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ib_req_notify_cq
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_FLAG_INITIALIZED,4,2     ## @IPOIB_FLAG_INITIALIZED
	.comm	_IB_QPS_ERR,4,2                 ## @IB_QPS_ERR
	.comm	_IB_QP_STATE,4,2                ## @IB_QP_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to modify QP to ERROR state\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
L_.str.1:                               ## @.str.1
	.asciz	"timing out; %d sends %d receives not completed\n"

	.comm	_ipoib_sendq_size,4,2           ## @ipoib_sendq_size
	.comm	_ipoib_recvq_size,4,2           ## @ipoib_recvq_size
L_.str.2:                               ## @.str.2
	.asciz	"All sends and receives done.\n"

	.comm	_IB_QPS_RESET,4,2               ## @IB_QPS_RESET
L_.str.3:                               ## @.str.3
	.asciz	"Failed to modify QP to RESET state\n"

	.comm	_IPOIB_STOP_REAPER,4,2          ## @IPOIB_STOP_REAPER
	.comm	_ipoib_workqueue,4,2            ## @ipoib_workqueue
L_.str.4:                               ## @.str.4
	.asciz	"timing out; will leak address handles\n"

	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_ib_dev_stop              ; -- Begin function ipoib_ib_dev_stop
	.p2align	2
_ipoib_ib_dev_stop:                     ; @ipoib_ib_dev_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _IPOIB_FLAG_INITIALIZED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_FLAG_INITIALIZED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x22, x19, #20
	mov	x1, x22
	bl	_test_and_clear_bit
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #56
	bl	_napi_disable
LBB0_2:
	mov	x0, x20
	bl	_ipoib_cm_dev_stop
Lloh3:
	adrp	x8, _IB_QPS_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_QPS_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	w0, [x19, #24]
Lloh6:
	adrp	x8, _IB_QP_STATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_QP_STATE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x1, sp, #24
	bl	_ib_modify_qp
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
LBB0_4:
Lloh11:
	adrp	x24, _jiffies@GOTPAGE
Lloh12:
	ldr	x24, [x24, _jiffies@GOTPAGEOFF]
	ldr	x23, [x24]
Lloh13:
	adrp	x25, _HZ@GOTPAGE
Lloh14:
	ldr	x25, [x25, _HZ@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_recvs_pending
	cbz	x0, LBB0_17
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x24]
	ldrsw	x8, [x25]
	add	x8, x8, x8, lsl #2
	add	x1, x23, x8
	bl	_time_after
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_ipoib_drain_cq
	mov	w0, #1
	bl	_msleep
	b	LBB0_5
LBB0_9:
	ldp	w8, w9, [x19]
	sub	w23, w8, w9
	mov	x0, x20
	bl	_recvs_pending
	stp	x23, x0, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	ldp	w9, w8, [x19]
	cmp	w8, w9
	b.ge	LBB0_12
; %bb.10:
Lloh17:
	adrp	x27, _ipoib_sendq_size@GOTPAGE
Lloh18:
	ldr	x27, [x27, _ipoib_sendq_size@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #48]
	ldr	w10, [x27]
	sub	w10, w10, #1
	and	w8, w10, w8
	add	x23, x9, w8, sxtw #3
	ldr	w0, [x19, #44]
	mov	x1, x23
	bl	_ipoib_dma_unmap_tx
	ldr	x0, [x23]
	bl	_dev_kfree_skb_any
	ldp	w9, w8, [x19]
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldr	w10, [x19, #40]
	sub	w10, w10, #1
	str	w10, [x19, #40]
	cmp	w8, w9
	b.lt	LBB0_11
LBB0_12:
Lloh19:
	adrp	x23, _ipoib_recvq_size@GOTPAGE
Lloh20:
	ldr	x23, [x23, _ipoib_recvq_size@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.13:
	mov	x27, #0
	mov	x28, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x28, x28, #1
	add	x27, x27, #16
	cmp	x28, w8, sxtw
	b.ge	LBB0_18
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #32]
	ldr	x10, [x9, x27]
	cbz	x10, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x26, x9, x27
	ldr	w1, [x26, #8]
	mov	x0, x19
	bl	_ipoib_ud_dma_unmap_rx
	ldr	x0, [x26]
	bl	_dev_kfree_skb_any
	str	xzr, [x26]
	ldr	w8, [x23]
	b	LBB0_14
LBB0_17:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg
LBB0_18:
	add	x0, x19, #28
	bl	_del_timer_sync
Lloh23:
	adrp	x8, _IB_QPS_RESET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IB_QPS_RESET@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	w0, [x19, #24]
Lloh26:
	adrp	x8, _IB_QP_STATE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IB_QP_STATE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x1, sp, #24
	bl	_ib_modify_qp
	cbz	x0, LBB0_20
; %bb.19:
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
LBB0_20:
Lloh31:
	adrp	x8, _IPOIB_STOP_REAPER@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IPOIB_STOP_REAPER@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_set_bit
	add	x0, x19, #16
	bl	_cancel_delayed_work
	cbz	w21, LBB0_22
; %bb.21:
Lloh34:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_flush_workqueue
LBB0_22:
	ldr	x22, [x24]
	add	x21, x19, #12
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_list_empty
	cbnz	w0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x20
	bl	___ipoib_reap_ah
	ldr	x0, [x24]
	ldrsw	x8, [x25]
	add	x1, x22, x8
	bl	_time_after
	cbnz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	w0, #1
	bl	_msleep
	b	LBB0_23
LBB0_26:
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
LBB0_27:
	ldr	w0, [x19, #8]
Lloh39:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_ib_req_notify_cq
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_FLAG_INITIALIZED,4,2     ; @IPOIB_FLAG_INITIALIZED
	.comm	_IB_QPS_ERR,4,2                 ; @IB_QPS_ERR
	.comm	_IB_QP_STATE,4,2                ; @IB_QP_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to modify QP to ERROR state\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
l_.str.1:                               ; @.str.1
	.asciz	"timing out; %d sends %d receives not completed\n"

	.comm	_ipoib_sendq_size,4,2           ; @ipoib_sendq_size
	.comm	_ipoib_recvq_size,4,2           ; @ipoib_recvq_size
l_.str.2:                               ; @.str.2
	.asciz	"All sends and receives done.\n"

	.comm	_IB_QPS_RESET,4,2               ; @IB_QPS_RESET
l_.str.3:                               ; @.str.3
	.asciz	"Failed to modify QP to RESET state\n"

	.comm	_IPOIB_STOP_REAPER,4,2          ; @IPOIB_STOP_REAPER
	.comm	_ipoib_workqueue,4,2            ; @ipoib_workqueue
l_.str.4:                               ; @.str.4
	.asciz	"timing out; will leak address handles\n"

	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
.subsections_via_symbols
