	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax25_rx_fragment
_ax25_rx_fragment:                      ## @ax25_rx_fragment
	.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	%rsi, %rbx
	movq	%rdi, %r13
	movl	(%rdi), %eax
	movq	(%rsi), %rcx
	movl	(%rcx), %ecx
	movq	_AX25_SEG_FIRST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	xorl	%r14d, %r14d
	testl	%ecx, %edx
	jne	LBB0_14
## %bb.2:
	decl	%eax
	movq	_AX25_SEG_REM@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_14
## %bb.3:
	movl	%eax, (%r13)
	movl	$1, %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_skb_pull
	movq	8(%rbx), %rax
	addq	%rax, 8(%r13)
	leaq	4(%r13), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_tail
	cmpl	$0, (%r13)
	jne	LBB0_14
## %bb.4:
	movq	_AX25_MAX_HEADER_LEN@GOTPCREL(%rip), %rbx
	movq	8(%r13), %rdi
	addq	(%rbx), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	_skb_reserve
	movq	16(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	%r12, %rdi
	callq	_skb_reset_network_header
	movq	%r12, %rdi
	callq	_skb_reset_transport_header
	movq	%r15, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	%r12, %rdi
	callq	_skb_put
	movq	8(%rbx), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_copy_from_linear_data
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r15, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
LBB0_9:
	movq	$0, 8(%r13)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ax25_rx_iframe
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	movq	%r12, %rdi
	callq	_kfree_skb
	jmp	LBB0_14
LBB0_11:
	testl	%ecx, %edx
	je	LBB0_12
## %bb.13:
	leaq	4(%r13), %r15
	movq	%r15, %rdi
	callq	_skb_queue_purge
	movq	(%rbx), %rax
	movq	_AX25_SEG_REM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movl	%ecx, (%r13)
	movl	$1, %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_skb_pull
	movq	8(%rbx), %rax
	movq	%rax, 8(%r13)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_tail
	jmp	LBB0_14
LBB0_12:
	xorl	%r14d, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, %rdi
	callq	_skb_queue_purge
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_AX25_SEG_FIRST,4,2             ## @AX25_SEG_FIRST
	.comm	_AX25_SEG_REM,4,2               ## @AX25_SEG_REM
	.comm	_AX25_MAX_HEADER_LEN,8,3        ## @AX25_MAX_HEADER_LEN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_ax25_rx_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax25_rx_fragment
_ax25_rx_fragment:                      ; @ax25_rx_fragment
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x19, x0
	ldr	w9, [x0]
	ldr	x8, [x1]
	ldr	w8, [x8]
Lloh0:
	adrp	x10, _AX25_SEG_FIRST@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AX25_SEG_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w10, w10, w8
	cbz	w9, LBB0_10
; %bb.1:
	cbnz	w10, LBB0_12
; %bb.2:
	sub	w9, w9, #1
Lloh3:
	adrp	x10, _AX25_SEG_REM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AX25_SEG_REM@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w8, w10, w8
	cmp	w9, w8
	b.ne	LBB0_12
; %bb.3:
	str	w9, [x19]
	mov	w22, #1
	mov	x0, x21
	mov	w1, #1
	bl	_skb_pull
	ldr	x8, [x21, #8]
	ldr	x9, [x19, #8]
	add	x8, x9, x8
	str	x8, [x19, #8]
	add	x20, x19, #4
	mov	x0, x20
	mov	x1, x21
	bl	_skb_queue_tail
	ldr	w8, [x19]
	cbnz	w8, LBB0_13
; %bb.4:
Lloh6:
	adrp	x22, _AX25_MAX_HEADER_LEN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _AX25_MAX_HEADER_LEN@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x19, #8]
	add	x0, x9, x8
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_14
; %bb.5:
	mov	x21, x0
	ldr	x1, [x22]
	bl	_skb_reserve
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	str	w8, [x21, #16]
	mov	x0, x21
	bl	_skb_reset_network_header
	mov	x0, x21
	bl	_skb_reset_transport_header
	mov	x0, x20
	bl	_skb_dequeue
	cbz	x0, LBB0_8
; %bb.6:
	mov	x22, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22, #8]
	mov	x0, x21
	bl	_skb_put
	mov	x1, x0
	ldr	x2, [x22, #8]
	mov	x0, x22
	bl	_skb_copy_from_linear_data
	mov	x0, x22
	bl	_kfree_skb
	mov	x0, x20
	bl	_skb_dequeue
	mov	x22, x0
	cbnz	x0, LBB0_7
LBB0_8:
	str	xzr, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_ax25_rx_iframe
	cbz	x0, LBB0_15
; %bb.9:
	mov	w22, #1
	b	LBB0_13
LBB0_10:
	cbz	w10, LBB0_12
; %bb.11:
	add	x20, x19, #4
	mov	x0, x20
	bl	_skb_queue_purge
	ldr	x8, [x21]
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _AX25_SEG_REM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AX25_SEG_REM@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19]
	mov	w22, #1
	mov	x0, x21
	mov	w1, #1
	bl	_skb_pull
	ldr	x8, [x21, #8]
	str	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_skb_queue_tail
	b	LBB0_13
LBB0_12:
	mov	w22, #0
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x20
	bl	_skb_queue_purge
	mov	w22, #1
	b	LBB0_13
LBB0_15:
	mov	x0, x21
	bl	_kfree_skb
	mov	w22, #1
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AX25_SEG_FIRST,4,2             ; @AX25_SEG_FIRST
	.comm	_AX25_SEG_REM,4,2               ; @AX25_SEG_REM
	.comm	_AX25_MAX_HEADER_LEN,8,3        ; @AX25_MAX_HEADER_LEN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_ax25_rx_fragment
.subsections_via_symbols
