	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_transmit_link             ## -- Begin function rose_transmit_link
	.p2align	4, 0x90
_rose_transmit_link:                    ## @rose_transmit_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 24(%rsi)
	je	LBB0_1
## %bb.8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rose_loopback_queue            ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_rose_link_up
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	$0, 16(%rbx)
LBB0_3:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_skb_push
	movq	_AX25_P_ROSE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%rax)
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rose_send_frame
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_6:
	leaq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_skb_queue_tail
	movq	%rbx, %rdi
	callq	_rose_t0timer_running
	testl	%eax, %eax
	je	LBB0_9
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	callq	_rose_transmit_restart_request
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rose_start_t0timer             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AX25_P_ROSE,4,2                ## @AX25_P_ROSE
	.comm	_FW_ACCEPT,8,3                  ## @FW_ACCEPT
	.comm	_PF_ROSE,4,2                    ## @PF_ROSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_transmit_link             ; -- Begin function rose_transmit_link
	.p2align	2
_rose_transmit_link:                    ; @rose_transmit_link
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rose_loopback_queue
LBB0_2:
	mov	x0, x19
	bl	_rose_link_up
	cbnz	w0, LBB0_4
; %bb.3:
	str	xzr, [x19, #16]
LBB0_4:
	mov	x0, x20
	mov	w1, #1
	bl	_skb_push
Lloh0:
	adrp	x8, _AX25_P_ROSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AX25_P_ROSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	strb	w8, [x0]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_rose_send_frame
	cbnz	w0, LBB0_8
; %bb.6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree_skb
LBB0_7:
	add	x0, x19, #8
	mov	x1, x20
	bl	_skb_queue_tail
	mov	x0, x19
	bl	_rose_t0timer_running
	cbz	w0, LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x19
	bl	_rose_transmit_restart_request
	str	xzr, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rose_start_t0timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AX25_P_ROSE,4,2                ; @AX25_P_ROSE
	.comm	_FW_ACCEPT,8,3                  ; @FW_ACCEPT
	.comm	_PF_ROSE,4,2                    ; @PF_ROSE
.subsections_via_symbols
