	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpc_tty_trace
_cpc_tty_trace:                         ## @cpc_tty_trace
	.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	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	leal	10(%r15), %r14d
	movl	%r14d, %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movq	(%r13), %rax
	movq	%rax, 24(%rbx)
	movq	_ETH_P_CUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 20(%rbx)
	movq	%rbx, %rdi
	callq	_skb_reset_mac_header
	movq	_PACKET_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	%r14d, (%rbx)
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_skb_copy_to_linear_data
	movq	8(%rbx), %rax
	movb	$91, 5(%rax)
	movq	8(%rbx), %rax
	movb	%r12b, 6(%rax)
	movq	8(%rbx), %rax
	movb	$93, 7(%rax)
	movq	8(%rbx), %rax
	movb	$58, 8(%rax)
	movq	8(%rbx), %rax
	movb	$32, 9(%rax)
	movq	%rbx, %rdi
	movl	$10, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_skb_copy_to_linear_data_offset
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_rx                       ## TAILCALL
LBB0_1:
	movq	(%r13), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CPC_TTY_DBG                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: tty_trace - out of memory\n"

	.comm	_ETH_P_CUST,4,2                 ## @ETH_P_CUST
	.comm	_PACKET_HOST,4,2                ## @PACKET_HOST
	.no_dead_strip	_cpc_tty_trace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpc_tty_trace
_cpc_tty_trace:                         ; @cpc_tty_trace
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	add	w24, w2, #10
	mov	x0, x24
	bl	_dev_alloc_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x1, x24
	bl	_skb_put
	ldr	x8, [x23]
	str	x8, [x21, #24]
Lloh0:
	adrp	x8, _ETH_P_CUST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_CUST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x21, #20]
	mov	x0, x21
	bl	_skb_reset_mac_header
Lloh3:
	adrp	x8, _PACKET_HOST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PACKET_HOST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	str	w24, [x21]
	ldr	x8, [x23]
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #5
	bl	_skb_copy_to_linear_data
	ldr	x8, [x21, #8]
	mov	w9, #91
	strb	w9, [x8, #5]
	ldr	x8, [x21, #8]
	strb	w22, [x8, #6]
	ldr	x8, [x21, #8]
	mov	w9, #93
	strb	w9, [x8, #7]
	ldr	x8, [x21, #8]
	mov	w9, #58
	strb	w9, [x8, #8]
	ldr	x8, [x21, #8]
	mov	w9, #32
	strb	w9, [x8, #9]
	mov	x0, x21
	mov	w1, #10
	mov	x2, x20
	mov	x3, x19
	bl	_skb_copy_to_linear_data_offset
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_netif_rx
LBB0_2:
	ldr	x8, [x23]
	ldr	w1, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_CPC_TTY_DBG
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: tty_trace - out of memory\n"

	.comm	_ETH_P_CUST,4,2                 ; @ETH_P_CUST
	.comm	_PACKET_HOST,4,2                ; @PACKET_HOST
	.no_dead_strip	_cpc_tty_trace
.subsections_via_symbols
