	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llc_conn_remove_acked_pdus     ## -- Begin function llc_conn_remove_acked_pdus
	.p2align	4, 0x90
_llc_conn_remove_acked_pdus:            ## @llc_conn_remove_acked_pdus
	.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	%rdx, %r14
	movq	%rsi, %r13
	callq	_llc_sk
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_skb_queue_len
	movq	%rax, %r12
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_peek
	movq	%rax, %rdi
	callq	_llc_pdu_sn_hdr
	movq	_LLC_2_SEQ_NBR_MODULO@GOTPCREL(%rip), %r14
	addl	(%r14), %r13d
	movq	%rax, %rdi
	callq	_LLC_I_GET_NS
	subl	%eax, %r13d
	movl	%r13d, %eax
	cltd
	idivl	(%r14)
	testl	%edx, %edx
	jle	LBB0_2
## %bb.3:
	testl	%r12d, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_7
## %bb.4:
	movl	%edx, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_skb_dequeue
	movq	%rax, %rdi
	callq	_kfree_skb
	incl	%ebx
	cmpl	%r13d, %ebx
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r12d, %ebx
	jl	LBB0_5
	jmp	LBB0_7
LBB0_2:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_7:
	movq	%r15, %rdi
	callq	_skb_queue_len
	movq	%rax, (%r14)
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LLC_2_SEQ_NBR_MODULO,4,2       ## @LLC_2_SEQ_NBR_MODULO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llc_conn_remove_acked_pdus     ; -- Begin function llc_conn_remove_acked_pdus
	.p2align	2
_llc_conn_remove_acked_pdus:            ; @llc_conn_remove_acked_pdus
	.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
	mov	x19, x2
	mov	x22, x1
	bl	_llc_sk
	mov	x20, x0
	bl	_skb_queue_len
	mov	x21, x0
	cbz	w21, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_skb_peek
	bl	_llc_pdu_sn_hdr
Lloh0:
	adrp	x23, _LLC_2_SEQ_NBR_MODULO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LLC_2_SEQ_NBR_MODULO@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w22, w8, w22
	bl	_LLC_I_GET_NS
	sub	w8, w22, w0
	ldr	w9, [x23]
	sdiv	w10, w8, w9
	msub	w23, w10, w9, w8
	cmp	w23, #1
	mov	w22, #0
	ccmp	w21, #1, #8, ge
	b.lt	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_skb_dequeue
	bl	_kfree_skb
	add	w22, w22, #1
	cmp	w22, w23
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w22, w21
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
	mov	x0, x20
	bl	_skb_queue_len
	str	x0, [x19]
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LLC_2_SEQ_NBR_MODULO,4,2       ; @LLC_2_SEQ_NBR_MODULO
.subsections_via_symbols
