	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scc_net_tx
_scc_net_tx:                            ## @scc_net_tx
	.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, %r15
	movq	%rdi, %r13
	movq	(%rsi), %r14
	movq	(%rdi), %rbx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_1
## %bb.16:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ax25_ip_xmit                   ## TAILCALL
LBB0_1:
	movl	8(%r13), %eax
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.2:
	cmpl	24(%r14), %eax
	jg	LBB0_3
## %bb.5:
	incl	68(%r14)
	addl	%eax, 64(%r14)
	incl	40(%r14)
	movq	16(%r13), %rax
	movb	(%rax), %r12b
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_skb_pull
	andb	$31, %r12b
	je	LBB0_7
## %bb.6:
	movq	16(%r13), %rax
	movl	(%rax), %edx
	movzbl	%r12b, %esi
	movq	%r14, %rdi
	callq	_scc_set_param
	jmp	LBB0_4
LBB0_3:
	incl	72(%r14)
LBB0_4:
	movq	%r13, %rdi
	callq	_dev_kfree_skb
LBB0_15:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	48(%r14), %r12
	movq	%r12, %rdi
	callq	_skb_queue_len
	movq	56(%r14), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	_skb_dequeue
	movq	%rax, %rdi
	callq	_dev_kfree_skb
LBB0_9:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	movq	%r15, %rdi
	callq	_netif_trans_update
	movq	32(%r14), %rax
	movq	_TXS_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_TXS_IDLE2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_11:
	movq	_TXS_BUSY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	movq	8(%r14), %rax
	movq	_KISS_DUPLEX_HALF@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movq	_t_dwait@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movl	16(%r14), %edx
LBB0_13:
	movq	%r14, %rdi
	callq	___scc_start_tx_timer
LBB0_14:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_TXS_IDLE,8,3                   ## @TXS_IDLE
	.comm	_TXS_IDLE2,8,3                  ## @TXS_IDLE2
	.comm	_TXS_BUSY,8,3                   ## @TXS_BUSY
	.comm	_KISS_DUPLEX_HALF,8,3           ## @KISS_DUPLEX_HALF
	.comm	_t_dwait,4,2                    ## @t_dwait
	.no_dead_strip	_scc_net_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scc_net_tx
_scc_net_tx:                            ; @scc_net_tx
	.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	x20, x0
	ldr	x19, [x1]
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	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
	b	_ax25_ip_xmit
LBB0_2:
	ldr	w8, [x20, #8]
	ldr	w9, [x19, #24]
	cmp	w8, #2
	ccmp	w8, w9, #0, ge
	b.le	LBB0_4
; %bb.3:
	ldr	w8, [x19, #72]
	add	w8, w8, #1
	str	w8, [x19, #72]
	b	LBB0_6
LBB0_4:
	ldr	d0, [x19, #64]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v0, v1
	str	d0, [x19, #64]
	ldr	w8, [x19, #40]
	add	w8, w8, #1
	str	w8, [x19, #40]
	ldr	x8, [x20, #16]
	ldrb	w8, [x8]
	and	w22, w8, #0x1f
	mov	x0, x20
	mov	w1, #1
	bl	_skb_pull
	cbz	w22, LBB0_8
; %bb.5:
	ldr	x8, [x20, #16]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_scc_set_param
LBB0_6:
	mov	x0, x20
	bl	_dev_kfree_skb
LBB0_7:
Lloh3:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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_8:
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x22, x19, #48
	mov	x0, x22
	bl	_skb_queue_len
	ldr	x8, [x19, #56]
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_skb_dequeue
	bl	_dev_kfree_skb
LBB0_10:
	mov	x0, x22
	mov	x1, x20
	bl	_skb_queue_tail
	mov	x0, x21
	bl	_netif_trans_update
	ldr	x8, [x19, #32]
Lloh6:
	adrp	x9, _TXS_IDLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TXS_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _TXS_IDLE2@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TXS_IDLE2@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_15
; %bb.11:
Lloh12:
	adrp	x8, _TXS_BUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TXS_BUSY@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh15:
	adrp	x8, _KISS_DUPLEX_HALF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KISS_DUPLEX_HALF@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x10, _t_dwait@GOTPAGE
Lloh19:
	ldr	x10, [x10, _t_dwait@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x10]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldr	w2, [x19, #16]
	b	LBB0_14
LBB0_13:
	mov	w2, #0
LBB0_14:
	mov	x0, x19
	bl	___scc_start_tx_timer
LBB0_15:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_TXS_IDLE,8,3                   ; @TXS_IDLE
	.comm	_TXS_IDLE2,8,3                  ; @TXS_IDLE2
	.comm	_TXS_BUSY,8,3                   ; @TXS_BUSY
	.comm	_KISS_DUPLEX_HALF,8,3           ; @KISS_DUPLEX_HALF
	.comm	_t_dwait,4,2                    ; @t_dwait
	.no_dead_strip	_scc_net_tx
.subsections_via_symbols
