	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_to_lecd
_send_to_lecd:                          ## @send_to_lecd
	.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
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r13
	cmpl	$0, (%rdi)
	je	LBB0_12
## %bb.2:
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$20, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %r15
	movl	$20, (%rax)
	movq	8(%rax), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	%r12d, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	leaq	12(%rbx), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_memcpy
	jmp	LBB0_8
LBB0_7:
	movl	$1, 4(%rbx)
LBB0_8:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	addq	$8, %rbx
	movq	_ATM_ESA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_memcpy
LBB0_10:
	movl	(%r13), %edi
	movl	4(%r15), %esi
	callq	_atm_force_charge
	movl	(%r13), %edi
	callq	_sk_atm
	movq	%rax, %r14
	leaq	8(%rax), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	_skb_queue_tail
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	*(%r14)
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movl	(%r13), %edi
	movl	4(%r12), %esi
	callq	_atm_force_charge
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_skb_queue_tail
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	*(%r14)
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %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	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ATM_ESA_LEN,4,2                ## @ATM_ESA_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lec: about to send %d bytes of data\n"

	.no_dead_strip	_send_to_lecd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_to_lecd
_send_to_lecd:                          ; @send_to_lecd
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_11
; %bb.2:
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w24, #20
	mov	w0, #20
	bl	_alloc_skb
	cbz	x0, LBB0_11
; %bb.3:
	mov	x21, x0
	str	w24, [x0]
	ldr	x24, [x0, #8]
	mov	x0, x24
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	str	w25, [x24, #16]
	cbz	x19, LBB0_5
; %bb.4:
	ldr	w8, [x19]
	str	w8, [x24]
LBB0_5:
	cbz	x23, LBB0_13
; %bb.6:
	add	x0, x24, #12
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_memcpy
	cbz	x22, LBB0_8
LBB0_7:
	add	x0, x24, #8
Lloh6:
	adrp	x8, _ATM_ESA_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATM_ESA_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_memcpy
LBB0_8:
	ldr	w0, [x20]
	ldr	w1, [x21, #4]
	bl	_atm_force_charge
	ldr	w0, [x20]
	bl	_sk_atm
	mov	x22, x0
	add	x23, x0, #8
	mov	x0, x23
	mov	x1, x21
	bl	_skb_queue_tail
	ldr	x8, [x22]
	ldr	w1, [x21]
	mov	x0, x22
	blr	x8
	cbz	x19, LBB0_10
; %bb.9:
	ldr	w1, [x19]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	w0, [x20]
	ldr	w1, [x19, #4]
	bl	_atm_force_charge
	mov	x0, x23
	mov	x1, x19
	bl	_skb_queue_tail
	ldr	x8, [x22]
	ldr	w1, [x21]
	mov	x0, x22
	blr	x8
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	w0, #-1
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	w8, #1
	str	w8, [x24, #4]
	cbnz	x22, LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ATM_ESA_LEN,4,2                ; @ATM_ESA_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lec: about to send %d bytes of data\n"

	.no_dead_strip	_send_to_lecd
.subsections_via_symbols
