	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iflib_stop                     ## -- Begin function iflib_stop
	.p2align	4, 0x90
_iflib_stop:                            ## @iflib_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %r15
	movq	24(%rdi), %r12
	movq	8(%rdi), %r13
	movl	(%rdi), %edi
	movq	_IFF_DRV_OACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_if_setdrvflagbits
	movq	%r14, %rdi
	callq	_IFDI_INTR_DISABLE
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_DELAY
	movq	%r14, %rdi
	callq	_IFDI_STOP
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_DELAY
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_iflib_debug_reset
	cmpl	$0, 16(%r14)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jg	LBB0_11
LBB0_1:
	cmpl	$0, 20(%r14)
	jle	LBB0_10
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	addq	$152, %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpl	16(%r14), %ebx
	jge	LBB0_1
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_CALLOUT_LOCK
	leaq	144(%r15), %rdi
	callq	_callout_stop
	movq	%r15, %rdi
	callq	_CALLOUT_UNLOCK
	movq	%r15, %rdi
	callq	_iflib_ifmp_purge
	cmpl	$0, (%r15)
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_iflib_txsd_free
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, 120(%r15)
	movups	%xmm0, 104(%r15)
	movups	%xmm0, 88(%r15)
	movups	%xmm0, 72(%r15)
	movups	%xmm0, 56(%r15)
	movups	%xmm0, 40(%r15)
	movups	%xmm0, 24(%r15)
	movq	$0, 136(%r15)
	movl	16(%r15), %edi
	callq	_ifmp_ring_reset_stats
	cmpl	$0, (%r13)
	jle	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r15), %rbx
	addq	$8, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	movl	-8(%rbx), %esi
	callq	_bzero
	incl	%r14d
	addq	$16, %rbx
	cmpl	(%r13), %r14d
	jl	LBB0_16
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r15d
	addq	$24, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	20(%rax), %r15d
	jge	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movq	$0, 16(%r12)
	cmpl	$0, 4(%r13)
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rbx
	addq	$8, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	movl	-8(%rbx), %esi
	callq	_bzero
	incl	%r14d
	addq	$16, %rbx
	cmpl	4(%r13), %r14d
	jl	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12), %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r14,%rbx), %edi
	callq	_iflib_fl_bufs_free
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_8
	jmp	LBB0_9
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_DRV_OACTIVE,4,2            ## @IFF_DRV_OACTIVE
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iflib_stop                     ; -- Begin function iflib_stop
	.p2align	2
_iflib_stop:                            ; @iflib_stop
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldp	x22, x20, [x0, #24]
	ldr	x23, [x0, #8]
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _IFF_DRV_OACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_DRV_OACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _IFF_DRV_RUNNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_if_setdrvflagbits
	mov	x0, x19
	bl	_IFDI_INTR_DISABLE
	mov	w0, #1000
	bl	_DELAY
	mov	x0, x19
	bl	_IFDI_STOP
	mov	w0, #1000
	bl	_DELAY
	bl	_iflib_debug_reset
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	add	x20, x20, #152
	ldr	w8, [x19, #16]
	cmp	w24, w8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	bl	_CALLOUT_LOCK
	add	x0, x20, #144
	bl	_callout_stop
	mov	x0, x20
	bl	_CALLOUT_UNLOCK
	mov	x0, x20
	bl	_iflib_ifmp_purge
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_iflib_txsd_free
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x20, #136]
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #120]
	stur	q0, [x20, #104]
	stur	q0, [x20, #88]
	stur	q0, [x20, #72]
	stur	q0, [x20, #56]
	stur	q0, [x20, #40]
	stur	q0, [x20, #24]
	ldr	w0, [x20, #16]
	bl	_ifmp_ring_reset_stats
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
	ldr	x8, [x20, #8]
	add	x25, x8, #8
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x25]
	ldur	w1, [x25, #-8]
	bl	_bzero
	add	w21, w21, #1
	ldr	w8, [x23]
	add	x25, x25, #16
	cmp	w21, w8
	b.lt	LBB0_8
	b	LBB0_2
LBB0_9:
	ldr	w8, [x19, #20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.10:
	mov	w20, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w20, w20, #1
	add	x22, x22, #24
	ldr	w8, [x19, #20]
	cmp	w20, w8
	b.ge	LBB0_18
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	str	xzr, [x22, #16]
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w21, #0
	ldr	x8, [x22, #8]
	add	x24, x8, #8
LBB0_14:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x24]
	ldur	w1, [x24, #-8]
	bl	_bzero
	add	w21, w21, #1
	ldr	w8, [x23, #4]
	add	x24, x24, #16
	cmp	w21, w8
	b.lt	LBB0_14
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w21, #0
	ldr	w24, [x22, #4]
LBB0_17:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w0, w24, w21
	bl	_iflib_fl_bufs_free
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.lt	LBB0_17
	b	LBB0_11
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_DRV_OACTIVE,4,2            ; @IFF_DRV_OACTIVE
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
.subsections_via_symbols
