	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_kick                       ## -- Begin function x25_kick
	.p2align	4, 0x90
_x25_kick:                              ## @x25_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_x25_sk
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_X25_STATE_3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.1:
	movq	%r15, %r14
	cmpl	$0, 8(%r15)
	jne	LBB0_4
## %bb.2:
	leaq	48(%r15), %rbx
	movq	%rbx, %rdi
	callq	_skb_peek
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, 8(%r14)
	movq	%rbx, %rdi
	callq	_skb_dequeue
	movq	40(%r14), %rsi
	movq	%rax, %rdi
	callq	_x25_transmit_link
LBB0_4:
	movq	_X25_COND_PEER_RX_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r14)
	je	LBB0_5
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r12, %rdi
	callq	_skb_peek
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:
	movq	40(%r14), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.8:
	movq	_X25_SMODULUS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_X25_EMODULUS@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %ebx
	addq	$28, %r15
	movq	%r15, %rdi
	callq	_skb_peek
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movzwl	18(%r14), %eax
	addl	32(%r14), %eax
	movzwl	16(%r14,%rcx,2), %ecx
	cltd
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	idivl	%ebx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpw	%dx, %cx
	je	LBB0_16
## %bb.10:
	movw	%cx, 16(%r14)
	movq	%r12, %rdi
	callq	_skb_dequeue
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_skb_clone
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_skb_set_owner_w
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_x25_send_iframe
	movzwl	16(%r14), %eax
	incl	%eax
	xorl	%edx, %edx
	idivl	-48(%rbp)                       ## 4-byte Folded Reload
	movw	%dx, 16(%r14)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpw	%ax, 16(%r14)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	callq	_skb_dequeue
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_15
LBB0_12:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_skb_queue_head
LBB0_15:
	movl	20(%r14), %eax
	movl	%eax, 24(%r14)
	movq	_X25_COND_ACK_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 12(%r14)
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_x25_stop_timer                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_X25_STATE_3,8,3                ## @X25_STATE_3
	.comm	_X25_COND_PEER_RX_BUSY,4,2      ## @X25_COND_PEER_RX_BUSY
	.comm	_X25_EMODULUS,4,2               ## @X25_EMODULUS
	.comm	_X25_SMODULUS,4,2               ## @X25_SMODULUS
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_X25_COND_ACK_PENDING,4,2       ## @X25_COND_ACK_PENDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_kick                       ; -- Begin function x25_kick
	.p2align	2
_x25_kick:                              ; @x25_kick
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_x25_sk
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _X25_STATE_3@GOTPAGE
Lloh1:
	ldr	x9, [x9, _X25_STATE_3@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_4
; %bb.2:
	add	x21, x20, #48
	mov	x0, x21
	bl	_skb_peek
	cbz	x0, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x20, #8]
	mov	x0, x21
	bl	_skb_dequeue
	ldr	x1, [x20, #40]
	bl	_x25_transmit_link
LBB0_4:
	ldr	w8, [x20, #12]
Lloh3:
	adrp	x9, _X25_COND_PEER_RX_BUSY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _X25_COND_PEER_RX_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	bl	_skb_peek
	cbz	x0, LBB0_5
; %bb.7:
	ldr	x8, [x20, #40]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _X25_EMODULUS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _X25_EMODULUS@GOTPAGEOFF]
Lloh8:
	adrp	x10, _X25_SMODULUS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _X25_SMODULUS@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w24, [x8]
	add	x21, x20, #28
	mov	x0, x21
	bl	_skb_peek
	mov	w8, #16
	mov	w9, #18
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldrh	w8, [x20, x8]
	ldrh	w9, [x20, #18]
	ldr	w10, [x20, #32]
	add	w9, w10, w9
	sdiv	w10, w9, w24
	msub	w9, w10, w24, w9
	and	w25, w9, #0xffff
	cmp	w8, w25
	b.eq	LBB0_5
; %bb.8:
	strh	w8, [x20, #16]
	mov	x0, x19
	bl	_skb_dequeue
	mov	x22, x0
Lloh10:
	adrp	x26, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x26, [x26, _GFP_ATOMIC@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x0, x22
	bl	_skb_clone
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x23, x0
	mov	x1, x19
	bl	_skb_set_owner_w
	mov	x0, x19
	mov	x1, x23
	bl	_x25_send_iframe
	ldrh	w8, [x20, #16]
	add	w8, w8, #1
	sdiv	w9, w8, w24
	msub	w8, w9, w24, w8
	strh	w8, [x20, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_skb_queue_tail
	ldrh	w8, [x20, #16]
	cmp	w8, w25
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_skb_dequeue
	mov	x22, x0
	cbnz	x0, LBB0_9
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	bl	_skb_queue_head
LBB0_13:
	ldr	w8, [x20, #20]
Lloh12:
	adrp	x9, _X25_COND_ACK_PENDING@GOTPAGE
Lloh13:
	ldr	x9, [x9, _X25_COND_ACK_PENDING@GOTPAGEOFF]
	str	w8, [x20, #24]
Lloh14:
	ldr	w8, [x9]
	ldr	w9, [x20, #12]
	bic	w8, w9, w8
	str	w8, [x20, #12]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_x25_stop_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_X25_STATE_3,8,3                ; @X25_STATE_3
	.comm	_X25_COND_PEER_RX_BUSY,4,2      ; @X25_COND_PEER_RX_BUSY
	.comm	_X25_EMODULUS,4,2               ; @X25_EMODULUS
	.comm	_X25_SMODULUS,4,2               ; @X25_SMODULUS
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_X25_COND_ACK_PENDING,4,2       ; @X25_COND_ACK_PENDING
.subsections_via_symbols
