	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppe_close
_ppe_close:                             ## @ppe_close
	.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
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	callq	_find_vcc
	testl	%eax, %eax
	js	LBB0_12
## %bb.2:
	movl	%eax, %ebx
	movq	_g_atm_priv_data@GOTPCREL(%rip), %r15
	movq	8(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %r12
	movl	%ebx, %r13d
	shlq	$5, %r13
	movq	(%r12,%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_clear_htu_entry
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12,%r13)
	movq	$0, 24(%r12,%r13)
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_clear_bit
	cmpq	$0, (%r15)
	jne	LBB0_4
## %bb.3:
	movq	_PPE_MAILBOX_IGU1_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_disable_irq
LBB0_4:
	movl	(%r14), %eax
	cmpl	$131, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$130, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_10
LBB0_7:
	addq	$12, %r14
	jmp	LBB0_9
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_8:
	addq	$4, %r14
LBB0_9:
	movl	(%r14), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subl	%eax, (%rcx,%rdx,4)
LBB0_10:
	movq	_g_dma_tasklet@GOTPCREL(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tasklet_unlock_wait            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't find vcc\n"

	.comm	_g_atm_priv_data,24,3           ## @g_atm_priv_data
	.comm	_PPE_MAILBOX_IGU1_INT,4,2       ## @PPE_MAILBOX_IGU1_INT
	.comm	_g_dma_tasklet,4,2              ## @g_dma_tasklet
	.no_dead_strip	_ppe_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppe_close
_ppe_close:                             ; @ppe_close
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_find_vcc
	tbnz	w0, #31, LBB0_9
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x21, _g_atm_priv_data@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_atm_priv_data@GOTPAGEOFF]
	mov	w8, w0
	ldp	x22, x9, [x21, #8]
	add	x24, x9, x8, lsl #5
	ldr	x23, [x24]
	bl	_clear_htu_entry
	stp	xzr, xzr, [x24, #16]
	str	xzr, [x24, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_clear_bit
	ldr	x8, [x21]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _PPE_MAILBOX_IGU1_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PPE_MAILBOX_IGU1_INT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_disable_irq
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #131
	b.eq	LBB0_7
; %bb.5:
	cmp	w8, #130
	b.eq	LBB0_10
; %bb.6:
	cmp	w8, #128
	b.ne	LBB0_12
LBB0_7:
	add	x8, x19, #12
	b	LBB0_11
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pr_err
LBB0_10:
	add	x8, x19, #4
LBB0_11:
	ldr	w8, [x8]
	lsl	x9, x23, #2
	ldr	w10, [x22, x9]
	sub	w8, w10, w8
	str	w8, [x22, x9]
LBB0_12:
Lloh7:
	adrp	x0, _g_dma_tasklet@GOTPAGE
Lloh8:
	ldr	x0, [x0, _g_dma_tasklet@GOTPAGEOFF]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_tasklet_unlock_wait
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't find vcc\n"

	.comm	_g_atm_priv_data,24,3           ; @g_atm_priv_data
	.comm	_PPE_MAILBOX_IGU1_INT,4,2       ; @PPE_MAILBOX_IGU1_INT
	.comm	_g_dma_tasklet,4,2              ; @g_dma_tasklet
	.no_dead_strip	_ppe_close
.subsections_via_symbols
