	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_ppe_debugfs_foe_show
_mtk_ppe_debugfs_foe_show:              ## @mtk_ppe_debugfs_foe_show
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MTK_PPE_ENTRY_CNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_6
## %bb.1:
	movq	__eth@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %r15
	movq	%rax, %rcx
	shlq	$6, %rcx
	leaq	(%rcx,%rax,4), %rax
	addq	%r15, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ei
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_es
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_seq_printf
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$68, %r15
	incl	%r12d
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_IS_IPV4_HNAPT
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	64(%r15), %edi
	callq	_htonl
	movl	%eax, -80(%rbp)
	movl	60(%r15), %edi
	callq	_htonl
	movl	%eax, -76(%rbp)
	movl	56(%r15), %edi
	callq	_htonl
	movl	%eax, -72(%rbp)
	movl	52(%r15), %edi
	callq	_htonl
	movq	%rsp, -152(%rbp)                ## 8-byte Spill
	movl	%eax, -68(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movl	(%r14), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movl	48(%r15), %edi
	callq	_swab32
	movl	%eax, (%rbx)
	movl	44(%r15), %edi
	callq	_swab16
	movl	%eax, 4(%rbx)
	movl	40(%r15), %edi
	callq	_swab32
	movl	%eax, (%r13)
	movl	36(%r15), %edi
	callq	_swab16
	movl	%eax, 4(%r13)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ei
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_es
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_pt
	movl	%eax, %ebx
	movl	32(%r15), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	28(%r15), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	24(%r15), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	16(%r15), %edi
	movl	20(%r15), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	12(%r15), %r11d
	movl	8(%r15), %r13d
	movl	(%r15), %r14d
	movl	4(%r15), %r10d
	subq	$8, %rsp
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movl	%ebx, %r9d
	xorl	%eax, %eax
	pushq	%r14
	pushq	%r10
	pushq	%r13
	pushq	%r11
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	leaq	-68(%rbp), %rbx
	pushq	%rbx
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	leaq	-72(%rbp), %rbx
	pushq	%rbx
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	leaq	-76(%rbp), %rbx
	pushq	%rbx
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	leaq	-80(%rbp), %rbx
	pushq	%rbx
	callq	_seq_printf
	addq	$128, %rsp
	movq	-152(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_5
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__eth,8,3                       ## @_eth
	.comm	_MTK_PPE_ENTRY_CNT,4,2          ## @MTK_PPE_ENTRY_CNT
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%x)0x%05x|state=%s|type=%s|%pI4:%d->%pI4:%d=>%pI4:%d->%pI4:%d|%pM=>%pM|etype=0x%04x|info1=0x%x|info2=0x%x|vlan1=%d|vlan2=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"0x%05x state=%s\n"

	.no_dead_strip	_mtk_ppe_debugfs_foe_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_ppe_debugfs_foe_show
_mtk_ppe_debugfs_foe_show:              ; @mtk_ppe_debugfs_foe_show
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	stur	x0, [x29, #-136]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MTK_PPE_ENTRY_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MTK_PPE_ENTRY_CNT@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w20, #0
Lloh6:
	adrp	x9, __eth@GOTPAGE
Lloh7:
	ldr	x9, [x9, __eth@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x21, [x9]
	mov	w9, #68
	madd	x26, x8, x9, x21
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x26
	bl	_ei
	mov	x25, x0
	mov	x0, x21
	bl	_es
	mov	x3, x0
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x25
	bl	_seq_printf
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #68
	add	w20, w20, #1
	cmp	x21, x26
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_IS_IPV4_HNAPT
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21, #64]
	bl	_htonl
	stur	w0, [x29, #-92]
	ldr	w0, [x21, #60]
	bl	_htonl
	stur	w0, [x29, #-96]
	ldr	w0, [x21, #56]
	bl	_htonl
	stur	w0, [x29, #-100]
	ldr	w0, [x21, #52]
	bl	_htonl
	mov	x8, sp
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	stur	w0, [x29, #-104]
Lloh11:
	adrp	x12, _ETH_ALEN@GOTPAGE
Lloh12:
	ldr	x12, [x12, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	w8, [x12]
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x28, x9, x8
	mov	sp, x28
	ldr	w0, [x21, #48]
	bl	_swab32
	str	w0, [x28]
	ldr	w0, [x21, #44]
	bl	_swab16
	str	w0, [x28, #4]
	ldr	w0, [x21, #40]
	bl	_swab32
	str	w0, [x24]
	ldr	w0, [x21, #36]
	bl	_swab16
	str	w0, [x24, #4]
	mov	x0, x21
	mov	x1, x26
	bl	_ei
	stur	w0, [x29, #-116]                ; 4-byte Folded Spill
	mov	x0, x21
	bl	_es
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
	mov	x0, x21
	bl	_pt
	mov	x27, x0
	ldp	w23, w19, [x21, #28]
	ldp	w25, w22, [x21, #20]
	ldr	w0, [x21, #16]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	ldp	w9, w8, [x21, #8]
	ldp	w11, w10, [x21]
	sub	sp, sp, #144
	stp	x10, x11, [sp, #120]
	stp	x8, x9, [sp, #104]
	stp	x24, x0, [sp, #88]
	stp	x25, x28, [sp, #72]
	sub	x8, x29, #104
	stp	x22, x8, [sp, #56]
	sub	x8, x29, #100
	stp	x23, x8, [sp, #40]
	sub	x8, x29, #96
	stp	x19, x8, [sp, #24]
	sub	x8, x29, #92
	stp	x27, x8, [sp, #8]
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	x8, [sp]
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	ldur	w3, [x29, #-116]                ; 4-byte Folded Reload
	bl	_seq_printf
	add	sp, sp, #144
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	mov	sp, x8
	b	LBB0_3
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	__eth,8,3                       ; @_eth
	.comm	_MTK_PPE_ENTRY_CNT,4,2          ; @MTK_PPE_ENTRY_CNT
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%x)0x%05x|state=%s|type=%s|%pI4:%d->%pI4:%d=>%pI4:%d->%pI4:%d|%pM=>%pM|etype=0x%04x|info1=0x%x|info2=0x%x|vlan1=%d|vlan2=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"0x%05x state=%s\n"

	.no_dead_strip	_mtk_ppe_debugfs_foe_show
.subsections_via_symbols
