	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llc_conn_ac_send_ack_if_needed ## -- Begin function llc_conn_ac_send_ack_if_needed
	.p2align	4, 0x90
_llc_conn_ac_send_ack_if_needed:        ## @llc_conn_ac_send_ack_if_needed
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_llc_sk
	movq	%rax, %rbx
	leaq	-28(%rbp), %rsi
	movq	%r14, %rdi
	callq	_llc_pdu_decode_pf_bit
	movl	-28(%rbp), %eax
	andl	$1, %eax
	orl	%eax, (%rbx)
	cmpl	$0, 4(%rbx)
	movl	12(%rbx), %eax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %ecx
	jmp	LBB0_3
LBB0_2:
	movl	%eax, 8(%rbx)
	movl	$1, 4(%rbx)
	movl	-28(%rbp), %ecx
	andl	$1, %ecx
	movl	%ecx, (%rbx)
	movl	%eax, %ecx
LBB0_3:
	movq	_LLC_2_SEQ_NBR_MODULO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	subl	%ecx, %eax
	addl	%esi, %eax
	incl	%eax
	cltd
	idivl	%esi
	cmpl	16(%rbx), %edx
	jl	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_llc_conn_ac_send_rr_rsp_f_set_ackpf
	movq	$0, (%rbx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_llc_conn_ac_inc_npta_value
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	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_ac_send_ack_if_needed ; -- Begin function llc_conn_ac_send_ack_if_needed
	.p2align	2
_llc_conn_ac_send_ack_if_needed:        ; @llc_conn_ac_send_ack_if_needed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_llc_sk
	mov	x21, x0
	add	x1, sp, #12
	mov	x0, x19
	bl	_llc_pdu_decode_pf_bit
	ldr	w8, [sp, #12]
	and	w8, w8, #0x1
	ldp	w9, w10, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	ldr	w8, [x21, #12]
	cbz	w10, LBB0_2
; %bb.1:
	ldr	w9, [x21, #8]
	b	LBB0_3
LBB0_2:
	mov	w9, #1
	ldr	w10, [sp, #12]
	and	w10, w10, #0x1
	stp	w9, w8, [x21, #4]
	str	w10, [x21]
	mov	x9, x8
LBB0_3:
Lloh0:
	adrp	x10, _LLC_2_SEQ_NBR_MODULO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _LLC_2_SEQ_NBR_MODULO@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	sub	w8, w8, w9
	add	w8, w8, w10
	add	w8, w8, #1
	sdiv	w9, w8, w10
	msub	w8, w9, w10, w8
	ldr	w9, [x21, #16]
	cmp	w8, w9
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_llc_conn_ac_send_rr_rsp_f_set_ackpf
	str	xzr, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_llc_conn_ac_inc_npta_value
LBB0_5:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LLC_2_SEQ_NBR_MODULO,4,2       ; @LLC_2_SEQ_NBR_MODULO
.subsections_via_symbols
