	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pppoe_flush_dev
_pppoe_flush_dev:                       ## @pppoe_flush_dev
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_dev_net
	movl	%eax, %edi
	callq	_pppoe_pernet
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_write_lock_bh
	movq	_PPPOE_HASH_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_11
## %bb.1:
	movq	8(%r14), %rax
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	_PPPOE_HASH_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %r13
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%rax,%r13,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r15, (%rbx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_sk_pppox
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_sock_hold
	movq	%r14, %rdi
	callq	_write_unlock_bh
	movq	%r12, %rdi
	callq	_lock_sock
	cmpq	%r15, (%rbx)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PPPOX_BOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PPPOX_CONNECTED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, (%r12)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_pppox_unbind_sock
	movq	%r12, %rdi
	callq	*8(%r12)
	movq	$0, (%rbx)
	movq	%r15, %rdi
	callq	_dev_put
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_release_sock
	movq	%r12, %rdi
	callq	_sock_put
	movq	%r15, %rdi
	callq	_dev_net
	movl	%eax, %edi
	callq	_pppoe_pernet
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movq	%r14, %rdi
	callq	_write_lock_bh
	movq	8(%r14), %rax
	jmp	LBB0_2
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_unlock_bh                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PPPOE_HASH_SIZE,4,2            ## @PPPOE_HASH_SIZE
	.comm	_PPPOX_CONNECTED,4,2            ## @PPPOX_CONNECTED
	.comm	_PPPOX_BOUND,4,2                ## @PPPOX_BOUND
	.no_dead_strip	_pppoe_flush_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pppoe_flush_dev
_pppoe_flush_dev:                       ; @pppoe_flush_dev
	.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
	bl	_dev_net
	bl	_pppoe_pernet
	mov	x20, x0
	bl	_write_lock_bh
Lloh0:
	adrp	x23, _PPPOE_HASH_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PPPOE_HASH_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x24, #0
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x25, _PPPOX_CONNECTED@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PPPOX_CONNECTED@GOTPAGEOFF]
Lloh4:
	adrp	x26, _PPPOX_BOUND@GOTPAGE
Lloh5:
	ldr	x26, [x26, _PPPOX_BOUND@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_sk_pppox
	mov	x22, x0
	bl	_sock_hold
	mov	x0, x20
	bl	_write_unlock_bh
	mov	x0, x22
	bl	_lock_sock
	ldr	x8, [x21]
	cmp	x8, x19
	b.eq	LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_release_sock
	mov	x0, x22
	bl	_sock_put
	mov	x0, x19
	bl	_dev_net
	bl	_pppoe_pernet
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x0, x20
	bl	_write_lock_bh
	ldr	x8, [x20, #8]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x21, [x8, x24, lsl #3]
	cbz	x21, LBB0_7
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x21]
	cmp	x9, x19
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldrsw	x9, [x23]
	cmp	x24, x9
	b.lt	LBB0_4
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x25]
	ldr	w10, [x26]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_pppox_unbind_sock
	ldr	x8, [x22, #8]
	mov	x0, x22
	blr	x8
	str	xzr, [x21]
	mov	x0, x19
	bl	_dev_put
	b	LBB0_3
LBB0_10:
	mov	x0, x20
	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
	b	_write_unlock_bh
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PPPOE_HASH_SIZE,4,2            ; @PPPOE_HASH_SIZE
	.comm	_PPPOX_CONNECTED,4,2            ; @PPPOX_CONNECTED
	.comm	_PPPOX_BOUND,4,2                ; @PPPOX_BOUND
	.no_dead_strip	_pppoe_flush_dev
.subsections_via_symbols
