	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x25_queue_rx_frame
_x25_queue_rx_frame:                    ## @x25_queue_rx_frame
	.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
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_x25_sk
	movq	%rax, %r13
	movq	%rax, %r14
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	(%r12), %eax
	addl	%eax, (%r14)
	addq	$16, %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_skb_queue_tail
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_skb_set_owner_r
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_2:
	movl	(%r14), %edi
	testl	%edi, %edi
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.4:
	addl	(%r12), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	addq	$16, %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_skb_queue_tail
	movq	%r15, %rdi
	callq	_skb_reset_transport_header
	movq	%r13, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_skb_put
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_copy_from_linear_data
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r13, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	%rax, %rbx
	movq	_X25_EXT_MIN_LEN@GOTPCREL(%rip), %r12
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_pull
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_skb_put
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_copy_from_linear_data
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r13, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	cmpq	$0, (%rax)
	movq	%r12, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	_X25_STD_MIN_LEN@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:
	movl	$0, (%r14)
	jmp	LBB0_12
LBB0_3:
	movq	%r12, %r15
LBB0_12:
	movq	%r15, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_skb_set_owner_r
	leaq	8(%r14), %rdi
	movq	%r15, %rsi
	callq	_skb_queue_tail
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sock_flag
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	*(%r14)
	jmp	LBB0_14
LBB0_5:
	movq	%r12, %rdi
	callq	_kfree_skb
	movl	$1, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_X25_EXT_MIN_LEN,4,2            ## @X25_EXT_MIN_LEN
	.comm	_X25_STD_MIN_LEN,4,2            ## @X25_STD_MIN_LEN
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.no_dead_strip	_x25_queue_rx_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x25_queue_rx_frame
_x25_queue_rx_frame:                    ; @x25_queue_rx_frame
	.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	x20, x2
	mov	x23, x1
	mov	x19, x0
	bl	_x25_sk
	mov	x21, x0
	cbz	w20, LBB0_2
; %bb.1:
	ldr	w8, [x23]
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x21], #16
	mov	x0, x21
	mov	x1, x23
	bl	_skb_queue_tail
	mov	x0, x23
	mov	x1, x19
	bl	_skb_set_owner_r
	b	LBB0_11
LBB0_2:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	ldr	w9, [x23]
	add	w0, w9, w8
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_13
; %bb.4:
	mov	x20, x0
	add	x22, x21, #16
	mov	x0, x22
	mov	x1, x23
	bl	_skb_queue_tail
	mov	x0, x20
	bl	_skb_reset_transport_header
	mov	x0, x22
	bl	_skb_dequeue
	mov	x23, x0
	ldr	w1, [x0]
	mov	x0, x20
	bl	_skb_put
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x23
	bl	_skb_copy_from_linear_data
	mov	x0, x23
	bl	_kfree_skb
	mov	x0, x22
	bl	_skb_dequeue
	cbz	x0, LBB0_7
; %bb.5:
	mov	x23, x0
Lloh3:
	adrp	x24, _X25_EXT_MIN_LEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _X25_EXT_MIN_LEN@GOTPAGEOFF]
Lloh5:
	adrp	x25, _X25_STD_MIN_LEN@GOTPAGE
Lloh6:
	ldr	x25, [x25, _X25_STD_MIN_LEN@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x8, x25, x24, eq
	ldr	w1, [x8]
	mov	x0, x23
	bl	_skb_pull
	ldr	w1, [x23]
	mov	x0, x20
	bl	_skb_put
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x23
	bl	_skb_copy_from_linear_data
	mov	x0, x23
	bl	_kfree_skb
	mov	x0, x22
	bl	_skb_dequeue
	mov	x23, x0
	cbnz	x0, LBB0_6
LBB0_7:
	str	wzr, [x21]
	b	LBB0_9
LBB0_8:
	mov	x20, x23
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	bl	_skb_set_owner_r
	add	x0, x19, #8
	mov	x1, x20
	bl	_skb_queue_tail
Lloh7:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbnz	w0, LBB0_11
; %bb.10:
	ldr	x8, [x19]
	ldr	w1, [x20]
	mov	x0, x19
	blr	x8
LBB0_11:
	mov	w0, #0
LBB0_12:
	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_13:
	mov	x0, x23
	bl	_kfree_skb
	mov	w0, #1
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_X25_EXT_MIN_LEN,4,2            ; @X25_EXT_MIN_LEN
	.comm	_X25_STD_MIN_LEN,4,2            ; @X25_STD_MIN_LEN
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.no_dead_strip	_x25_queue_rx_frame
.subsections_via_symbols
