	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcm_process_frame
_qcm_process_frame:                     ## @qcm_process_frame
	.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
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_marker@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_RingQueue_Enqueue
	addl	$4, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rbx
	testl	%r12d, %r12d
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	callq	_be16_to_cpu
	movl	%eax, %r13d
	addl	$-4, %r12d
	leaq	16(%rbx), %r15
	movl	(%rbx), %r14d
	movl	$32769, %edi                    ## imm = 0x8001
	callq	_cpu_to_be16
	cmpl	%eax, %r14d
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %r14d
	movl	$65280, %edi                    ## imm = 0xFF00
	callq	_cpu_to_be16
	movl	%eax, %ebx
	andl	%r14d, %ebx
	movl	$512, %edi                      ## imm = 0x200
	callq	_cpu_to_be16
	cmpl	%eax, %ebx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_RingQueue_Enqueue
	addl	%r13d, -44(%rbp)                ## 4-byte Folded Spill
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	subl	%r13d, %r12d
	movslq	%r13d, %rax
	leaq	(%r15,%rax,4), %r15
	jmp	LBB0_5
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_6:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_marker,8,3                     ## @marker
	.no_dead_strip	_qcm_process_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcm_process_frame
_qcm_process_frame:                     ; @qcm_process_frame
	.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	w2, LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	mov	w20, #0
Lloh0:
	adrp	x25, _marker@GOTPAGE
Lloh1:
	ldr	x25, [x25, _marker@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x25]
	mov	x0, x21
	mov	w2, #4
	bl	_RingQueue_Enqueue
	add	w20, w20, #4
	mov	x23, x22
	cbz	w19, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #4]
	bl	_be16_to_cpu
	mov	x24, x0
	sub	w19, w19, #4
	add	x22, x23, #16
	ldr	w26, [x23]
	mov	w0, #32769
	bl	_cpu_to_be16
	cmp	w26, w0
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x23]
	mov	w0, #65280
	bl	_cpu_to_be16
	and	w23, w0, w23
	mov	w0, #512
	bl	_cpu_to_be16
	cmp	w23, w0
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	bl	_RingQueue_Enqueue
	add	w20, w24, w20
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x22, w24, sxtw #2
	sub	w19, w19, w24
	cbnz	w19, LBB0_3
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_marker,8,3                     ; @marker
	.no_dead_strip	_qcm_process_frame
.subsections_via_symbols
