	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ppe_send_oam
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ppe_send_oam:                          ## @ppe_send_oam
	.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	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rsi), %rax
	movq	_ATM_PTI_SEGF5@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_ATM_PTI_E2EF5@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_find_vpivci
	testq	%rax, %rax
	js	LBB0_5
LBB0_3:
	movl	8(%rbx), %eax
	addl	$-3, %eax
	cmpl	$1, %eax
	ja	LBB0_8
## %bb.4:
	movl	12(%rbx), %edi
	callq	_find_vpi
	testq	%rax, %rax
	js	LBB0_5
LBB0_8:
	movq	_g_showtime@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.11:
	movq	%r12, %rdi
	callq	_find_vcc
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movl	%eax, %r14d
	movq	_CELL_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_alloc_skb_tx
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rax, %r15
	movl	(%r13), %esi
	movq	%rax, %rdi
	callq	_skb_put
	movq	(%r15), %rdi
	movl	(%r13), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	%r13, %rax
	movl	(%r15), %r13d
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	callq	_get_tx_desc
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	movl	%eax, %ebx
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_atomic_inc
LBB0_19:
	shrl	$2, %r13d
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rax
	movl	%r14d, %r12d
	shlq	$4, %r12
	movq	8(%rax,%r12), %rax
	movl	%ebx, %ebx
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_dev_kfree_skb_any
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rax
	movq	8(%rax,%r12), %rax
LBB0_21:
	movq	%r15, (%rax,%rbx,8)
	movq	8(%rcx), %rax
	movq	(%rax,%r12), %rax
	movq	%rcx, %r12
	leaq	(%rbx,%rbx,4), %rcx
	movl	%r13d, (%rax,%rcx,8)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, 4(%rax,%rcx,8)
	movl	$1, 20(%rax,%rcx,8)
	movq	$0, 24(%rax,%rcx,8)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 32(%rax,%rcx,8)
	movl	$0, 36(%rax,%rcx,8)
	movq	(%r15), %rdi
	movq	_CELL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_cache_wback
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_mailbox_signal
	incl	(%r12)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_adsl_led_flash
	jmp	LBB0_22
LBB0_5:
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rax
	incl	20(%rax)
	jmp	LBB0_6
LBB0_9:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_10
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rax
	incl	16(%rax)
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rax
	incl	16(%rax)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_16:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	leaq	L_.str.3(%rip), %rdi
LBB0_10:
	callq	_pr_err
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rax
	incl	16(%rax)
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATM_PTI_SEGF5,8,3              ## @ATM_PTI_SEGF5
	.comm	_ATM_PTI_E2EF5,8,3              ## @ATM_PTI_E2EF5
	.comm	_g_atm_priv_data,24,3           ## @g_atm_priv_data
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_g_showtime,4,2                 ## @g_showtime
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not in showtime\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"FIND_VCC_FAIL\n"

	.comm	_CELL_SIZE,4,2                  ## @CELL_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"ALLOC_SKB_TX_FAIL\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"ALLOC_TX_CONNECTION_FAIL\n"

	.no_dead_strip	_ppe_send_oam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppe_send_oam
_ppe_send_oam:                          ; @ppe_send_oam
	.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
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _ATM_PTI_SEGF5@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATM_PTI_SEGF5@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _ATM_PTI_E2EF5@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ATM_PTI_E2EF5@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldp	w1, w0, [x22, #8]
	bl	_find_vpivci
	tbnz	x0, #63, LBB0_13
LBB0_2:
	ldr	w8, [x22, #8]
	sub	w8, w8, #3
	cmp	w8, #1
	b.hi	LBB0_4
; %bb.3:
	ldr	w0, [x22, #12]
	bl	_find_vpi
	tbnz	x0, #63, LBB0_13
LBB0_4:
Lloh6:
	adrp	x8, _g_showtime@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_showtime@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.5:
	mov	x0, x21
	bl	_find_vcc
	tbnz	w0, #31, LBB0_15
; %bb.6:
	mov	x19, x0
Lloh9:
	adrp	x23, _CELL_SIZE@GOTPAGE
Lloh10:
	ldr	x23, [x23, _CELL_SIZE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_alloc_skb_tx
	cbz	x0, LBB0_17
; %bb.7:
	mov	x20, x0
	ldr	w1, [x23]
	bl	_skb_put
	ldr	x0, [x20]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_memcpy
	ldr	w25, [x20]
	ldr	w24, [x23]
	mov	x0, x19
	bl	_get_tx_desc
	tbnz	w0, #31, LBB0_18
; %bb.8:
	mov	x22, x0
	ldr	x0, [x21]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_atomic_inc
LBB0_10:
	lsr	w25, w25, #2
Lloh11:
	adrp	x21, _g_atm_priv_data@GOTPAGE
Lloh12:
	ldr	x21, [x21, _g_atm_priv_data@GOTPAGEOFF]
	ldr	x8, [x21, #8]
	mov	w26, w19
	add	x8, x8, w19, uxtw #4
	ldr	x8, [x8, #8]
	mov	w27, w22
	ldr	x0, [x8, w22, uxtw #3]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_dev_kfree_skb_any
	ldr	x8, [x21, #8]
	add	x8, x8, x26, lsl #4
	ldr	x8, [x8, #8]
LBB0_12:
	str	x20, [x8, x27, lsl #3]
	ldr	x8, [x21, #8]
	lsl	x9, x26, #4
	ldr	x8, [x8, x9]
	mov	w9, #40
	madd	x8, x27, x9, x8
	str	w25, [x8]
	movi.4s	v0, #1
	stur	q0, [x8, #4]
	mov	w9, #1
	str	w9, [x8, #20]
	str	xzr, [x8, #24]
	stp	w24, wzr, [x8, #32]
	ldr	x0, [x20]
	ldr	w1, [x23]
	bl	_dma_cache_wback
	mov	x0, x19
	mov	w1, #1
	bl	_mailbox_signal
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	bl	_adsl_led_flash
	mov	w0, #0
	b	LBB0_21
LBB0_13:
Lloh13:
	adrp	x8, _g_atm_priv_data@GOTPAGE
Lloh14:
	ldr	x8, [x8, _g_atm_priv_data@GOTPAGEOFF]
	ldr	w9, [x8, #20]
	add	w9, w9, #1
	str	w9, [x8, #20]
	b	LBB0_16
LBB0_14:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_19
LBB0_15:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh19:
	adrp	x8, _g_atm_priv_data@GOTPAGE
Lloh20:
	ldr	x8, [x8, _g_atm_priv_data@GOTPAGEOFF]
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
LBB0_16:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
Lloh25:
	adrp	x8, _g_atm_priv_data@GOTPAGE
Lloh26:
	ldr	x8, [x8, _g_atm_priv_data@GOTPAGEOFF]
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
	mov	x0, x20
	bl	_dev_kfree_skb_any
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_19:
	bl	_pr_err
Lloh31:
	adrp	x8, _g_atm_priv_data@GOTPAGE
Lloh32:
	ldr	x8, [x8, _g_atm_priv_data@GOTPAGEOFF]
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
Lloh33:
	adrp	x8, _EIO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_21:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ATM_PTI_SEGF5,8,3              ; @ATM_PTI_SEGF5
	.comm	_ATM_PTI_E2EF5,8,3              ; @ATM_PTI_E2EF5
	.comm	_g_atm_priv_data,24,3           ; @g_atm_priv_data
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_g_showtime,4,2                 ; @g_showtime
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not in showtime\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"FIND_VCC_FAIL\n"

	.comm	_CELL_SIZE,4,2                  ; @CELL_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"ALLOC_SKB_TX_FAIL\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"ALLOC_TX_CONNECTION_FAIL\n"

	.no_dead_strip	_ppe_send_oam
.subsections_via_symbols
