	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lapb_kick                      ## -- Begin function lapb_kick
	.p2align	4, 0x90
_lapb_kick:                             ## @lapb_kick
	.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
	movq	%rdi, %r13
	movq	_LAPB_EXTENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	leaq	16(%rdi), %r14
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_LAPB_SMODULUS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_LAPB_EMODULUS@GOTPCREL(%rip), %rax
LBB0_3:
	movzwl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_skb_peek
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%al
	movq	_LAPB_PEER_RX_BUSY_CONDITION@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 12(%r13)
	jne	LBB0_14
## %bb.4:
	movb	%al, %cl
	movzwl	4(%r13,%rcx,2), %ebx
	movzwl	%bx, %ecx
	movzwl	4(%r13), %edx
	movzwl	8(%r13), %eax
	addl	%edx, %eax
	xorl	%edx, %edx
	divl	%r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%ecx, %edx
	je	LBB0_14
## %bb.5:
	leaq	20(%r13), %r12
	movq	%r12, %rdi
	callq	_skb_peek
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movw	%bx, 6(%r13)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_clone
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r12
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_skb_set_owner_w
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_LAPB_POLLOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_lapb_send_iframe
	movzwl	6(%r13), %eax
	incl	%eax
	xorl	%edx, %edx
	divl	%r15d
	movw	%dx, 6(%r13)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_tail
	movzwl	6(%r13), %eax
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_13
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_skb_queue_head
LBB0_13:
	movq	_LAPB_ACK_PENDING_CONDITION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 12(%r13)
	movq	%r13, %rdi
	callq	_lapb_t1timer_running
	testl	%eax, %eax
	je	LBB0_15
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lapb_start_t1timer             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LAPB_EXTENDED,4,2              ## @LAPB_EXTENDED
	.comm	_LAPB_EMODULUS,2,1              ## @LAPB_EMODULUS
	.comm	_LAPB_SMODULUS,2,1              ## @LAPB_SMODULUS
	.comm	_LAPB_PEER_RX_BUSY_CONDITION,4,2 ## @LAPB_PEER_RX_BUSY_CONDITION
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_LAPB_POLLOFF,4,2               ## @LAPB_POLLOFF
	.comm	_LAPB_ACK_PENDING_CONDITION,4,2 ## @LAPB_ACK_PENDING_CONDITION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lapb_kick                      ; -- Begin function lapb_kick
	.p2align	2
_lapb_kick:                             ; @lapb_kick
	.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	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LAPB_EXTENDED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LAPB_EXTENDED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _LAPB_EMODULUS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LAPB_EMODULUS@GOTPAGEOFF]
Lloh5:
	adrp	x11, _LAPB_SMODULUS@GOTPAGE
Lloh6:
	ldr	x11, [x11, _LAPB_SMODULUS@GOTPAGEOFF]
	add	x20, x0, #16
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldrh	w24, [x8]
	mov	x0, x20
	bl	_skb_peek
	mov	w8, #6
	mov	w9, #4
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w9, [x19, #12]
Lloh7:
	adrp	x10, _LAPB_PEER_RX_BUSY_CONDITION@GOTPAGE
Lloh8:
	ldr	x10, [x10, _LAPB_PEER_RX_BUSY_CONDITION@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_11
; %bb.1:
	ldrh	w22, [x19, x8]
	ldrh	w8, [x19, #4]
	ldrh	w9, [x19, #8]
	add	w8, w9, w8
	udiv	w9, w8, w24
	msub	w25, w9, w24, w8
	cmp	w25, w22
	b.eq	LBB0_11
; %bb.2:
	add	x21, x19, #20
	mov	x0, x21
	bl	_skb_peek
	cbz	x0, LBB0_11
; %bb.3:
	strh	w22, [x19, #6]
	mov	x0, x21
	bl	_skb_dequeue
	mov	x22, x0
Lloh10:
	adrp	x26, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x26, [x26, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
	adrp	x27, _LAPB_POLLOFF@GOTPAGE
Lloh13:
	ldr	x27, [x27, _LAPB_POLLOFF@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x0, x22
	bl	_skb_clone
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	x1, [x22]
	cbz	x1, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_skb_set_owner_w
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x23
	bl	_lapb_send_iframe
	ldrh	w8, [x19, #6]
	add	w8, w8, #1
	udiv	w9, w8, w24
	msub	w8, w9, w24, w8
	strh	w8, [x19, #6]
	mov	x0, x20
	mov	x1, x22
	bl	_skb_queue_tail
	ldrh	w8, [x19, #6]
	cmp	w25, w8
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_skb_dequeue
	mov	x22, x0
	cbnz	x0, LBB0_4
	b	LBB0_10
LBB0_9:
	mov	x0, x21
	mov	x1, x22
	bl	_skb_queue_head
LBB0_10:
Lloh14:
	adrp	x8, _LAPB_ACK_PENDING_CONDITION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LAPB_ACK_PENDING_CONDITION@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	bic	w8, w9, w8
	str	w8, [x19, #12]
	mov	x0, x19
	bl	_lapb_t1timer_running
	cbz	w0, LBB0_12
LBB0_11:
	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_12:
	mov	x0, x19
	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
	b	_lapb_start_t1timer
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LAPB_EXTENDED,4,2              ; @LAPB_EXTENDED
	.comm	_LAPB_EMODULUS,2,1              ; @LAPB_EMODULUS
	.comm	_LAPB_SMODULUS,2,1              ; @LAPB_SMODULUS
	.comm	_LAPB_PEER_RX_BUSY_CONDITION,4,2 ; @LAPB_PEER_RX_BUSY_CONDITION
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_LAPB_POLLOFF,4,2               ; @LAPB_POLLOFF
	.comm	_LAPB_ACK_PENDING_CONDITION,4,2 ; @LAPB_ACK_PENDING_CONDITION
.subsections_via_symbols
