	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_transmit_clear_request    ## -- Begin function rose_transmit_clear_request
	.p2align	4, 0x90
_rose_transmit_clear_request:           ## @rose_transmit_clear_request
	.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	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_AX25_BPQ_HEADER_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movq	_AX25_MAX_HEADER_LEN@GOTPCREL(%rip), %r12
	movq	_ROSE_MIN_LEN@GOTPCREL(%rip), %r14
	addl	(%r12), %eax
	movl	(%r14), %ecx
	leal	(%rcx,%rax), %edi
	addl	$3, %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movl	(%r12), %esi
	addl	(%r15), %esi
	movq	%rax, %rdi
	callq	_skb_reserve
	movl	(%r14), %esi
	addl	$3, %esi
	movq	%rbx, %rdi
	callq	_skb_put
	movq	_AX25_P_ROSE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%rax)
	movl	%r13d, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	movq	_ROSE_GFI@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movb	%cl, 1(%rax)
	movb	%r13b, 2(%rax)
	movq	_ROSE_CLEAR_REQUEST@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, 3(%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movb	%cl, 4(%rax)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movb	%cl, 5(%rax)
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_rose_send_frame
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AX25_BPQ_HEADER_LEN,4,2        ## @AX25_BPQ_HEADER_LEN
	.comm	_AX25_MAX_HEADER_LEN,4,2        ## @AX25_MAX_HEADER_LEN
	.comm	_ROSE_MIN_LEN,4,2               ## @ROSE_MIN_LEN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_AX25_P_ROSE,4,2                ## @AX25_P_ROSE
	.comm	_ROSE_GFI,4,2                   ## @ROSE_GFI
	.comm	_ROSE_CLEAR_REQUEST,4,2         ## @ROSE_CLEAR_REQUEST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_transmit_clear_request    ; -- Begin function rose_transmit_clear_request
	.p2align	2
_rose_transmit_clear_request:           ; @rose_transmit_clear_request
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _AX25_BPQ_HEADER_LEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AX25_BPQ_HEADER_LEN@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh2:
	adrp	x26, _AX25_MAX_HEADER_LEN@GOTPAGE
Lloh3:
	ldr	x26, [x26, _AX25_MAX_HEADER_LEN@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh4:
	adrp	x24, _ROSE_MIN_LEN@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ROSE_MIN_LEN@GOTPAGEOFF]
	ldr	w10, [x24]
	add	w8, w8, w9
	add	w8, w8, w10
	add	w0, w8, #3
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	add	w1, w9, w8
	bl	_skb_reserve
	ldr	w8, [x24]
	add	w1, w8, #3
	mov	x0, x23
	bl	_skb_put
Lloh9:
	adrp	x8, _AX25_P_ROSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AX25_P_ROSE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	strb	w8, [x0]
	ubfx	w8, w22, #8, #4
Lloh12:
	adrp	x9, _ROSE_GFI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ROSE_GFI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	strb	w8, [x0, #1]
	strb	w22, [x0, #2]
Lloh15:
	adrp	x8, _ROSE_CLEAR_REQUEST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROSE_CLEAR_REQUEST@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	strb	w8, [x0, #3]
	strb	w21, [x0, #4]
	strb	w20, [x0, #5]
	mov	x0, x23
	mov	x1, x19
	bl	_rose_send_frame
	cbz	w0, LBB0_3
LBB0_2:
	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_3:
	mov	x0, x23
	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
	b	_kfree_skb
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AX25_BPQ_HEADER_LEN,4,2        ; @AX25_BPQ_HEADER_LEN
	.comm	_AX25_MAX_HEADER_LEN,4,2        ; @AX25_MAX_HEADER_LEN
	.comm	_ROSE_MIN_LEN,4,2               ; @ROSE_MIN_LEN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_AX25_P_ROSE,4,2                ; @AX25_P_ROSE
	.comm	_ROSE_GFI,4,2                   ; @ROSE_GFI
	.comm	_ROSE_CLEAR_REQUEST,4,2         ; @ROSE_CLEAR_REQUEST
.subsections_via_symbols
