	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iflib_pseudo_deregister        ## -- Begin function iflib_pseudo_deregister
	.p2align	4, 0x90
_iflib_pseudo_deregister:               ## @iflib_pseudo_deregister
	.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
	movl	48(%rdi), %ebx
	callq	_iflib_unregister_vlan_handlers
	movl	%ebx, %edi
	callq	_ether_ifdetach
	movq	_qgroup_if_io_tqg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	40(%r14), %rbx
	movq	%r14, %rdi
	callq	_NTXQSETS
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	addq	$16, %rbx
	movq	%r14, %rdi
	callq	_NTXQSETS
	cmpl	%eax, %r12d
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	8(%rbx), %rdi
	callq	_callout_drain
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_taskqgroup_detach
	jmp	LBB0_4
LBB0_5:
	movq	32(%r14), %rbx
	movq	%r14, %rdi
	callq	_NRXQSETS
	testl	%eax, %eax
	jle	LBB0_13
## %bb.6:
	xorl	%r12d, %r12d
	movq	_M_IFLIB@GOTPCREL(%rip), %r13
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%r12d
	addq	$24, %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_NRXQSETS
	cmpl	%eax, %r12d
	jge	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	cmpq	$0, 16(%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	16(%rbx), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_taskqgroup_detach
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, (%rbx)
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rbx), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%r15,8), %rdi
	movl	(%r13), %esi
	callq	_free
	incq	%r15
	cmpl	(%rbx), %r15d
	jl	LBB0_11
	jmp	LBB0_12
LBB0_13:
	movq	_qgroup_if_config_tqg@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, 24(%r14)
	je	LBB0_15
## %bb.14:
	leaq	24(%r14), %rsi
	movq	%rbx, %rdi
	callq	_taskqgroup_detach
LBB0_15:
	cmpq	$0, 16(%r14)
	je	LBB0_17
## %bb.16:
	leaq	16(%r14), %rsi
	movq	%rbx, %rdi
	callq	_taskqgroup_detach
LBB0_17:
	movq	%r14, %rdi
	callq	_iflib_tx_structures_free
	movq	%r14, %rdi
	callq	_iflib_rx_structures_free
	movq	%r14, %rdi
	callq	_iflib_deregister
	movq	_IFC_SC_ALLOCATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_19
## %bb.18:
	movq	8(%r14), %rdi
	movq	_M_IFLIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
LBB0_19:
	movq	_M_IFLIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_free
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qgroup_if_io_tqg,8,3           ## @qgroup_if_io_tqg
	.comm	_M_IFLIB,4,2                    ## @M_IFLIB
	.comm	_qgroup_if_config_tqg,8,3       ## @qgroup_if_config_tqg
	.comm	_IFC_SC_ALLOCATED,4,2           ## @IFC_SC_ALLOCATED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iflib_pseudo_deregister        ; -- Begin function iflib_pseudo_deregister
	.p2align	2
_iflib_pseudo_deregister:               ; @iflib_pseudo_deregister
	.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
	ldr	w20, [x0, #48]
	bl	_iflib_unregister_vlan_handlers
	mov	x0, x20
	bl	_ether_ifdetach
Lloh0:
	adrp	x8, _qgroup_if_io_tqg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qgroup_if_io_tqg@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	x21, [x19, #40]
	mov	x0, x19
	bl	_NTXQSETS
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w22, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	add	x21, x21, #16
	mov	x0, x19
	bl	_NTXQSETS
	cmp	w22, w0
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, #8
	bl	_callout_drain
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_taskqgroup_detach
	b	LBB0_2
LBB0_5:
	ldr	x22, [x19, #32]
	mov	x0, x19
	bl	_NRXQSETS
Lloh3:
	adrp	x21, _M_IFLIB@GOTPAGE
Lloh4:
	ldr	x21, [x21, _M_IFLIB@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.6:
	mov	w23, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w23, w23, #1
	add	x22, x22, #24
	mov	x0, x19
	bl	_NRXQSETS
	cmp	w23, w0
	b.ge	LBB0_13
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x1, x22
	ldr	x8, [x1, #16]!
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_taskqgroup_detach
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, #0
	ldr	x25, [x22, #8]
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x25, x24, lsl #3]
	ldr	w1, [x21]
	bl	_free
	ldr	w8, [x22]
	add	x24, x24, #1
	cmp	w24, w8
	b.lt	LBB0_12
	b	LBB0_7
LBB0_13:
Lloh5:
	adrp	x8, _qgroup_if_config_tqg@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qgroup_if_config_tqg@GOTPAGEOFF]
Lloh7:
	ldr	x20, [x8]
	mov	x1, x19
	ldr	x8, [x1, #24]!
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_taskqgroup_detach
LBB0_15:
	mov	x1, x19
	ldr	x8, [x1, #16]!
	cbz	x8, LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_taskqgroup_detach
LBB0_17:
	mov	x0, x19
	bl	_iflib_tx_structures_free
	mov	x0, x19
	bl	_iflib_rx_structures_free
	mov	x0, x19
	bl	_iflib_deregister
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _IFC_SC_ALLOCATED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFC_SC_ALLOCATED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	ldr	x0, [x19, #8]
	ldr	w1, [x21]
	bl	_free
LBB0_19:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_free
	mov	w0, #0
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_qgroup_if_io_tqg,8,3           ; @qgroup_if_io_tqg
	.comm	_M_IFLIB,4,2                    ; @M_IFLIB
	.comm	_qgroup_if_config_tqg,8,3       ; @qgroup_if_config_tqg
	.comm	_IFC_SC_ALLOCATED,4,2           ; @IFC_SC_ALLOCATED
.subsections_via_symbols
