	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00lib_rxdone_read_signal
_rt2x00lib_rxdone_read_signal:          ## @rt2x00lib_rxdone_read_signal
	.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	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rsi), %r14d
	movl	4(%rsi), %eax
	movq	_RXDONE_SIGNAL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	movl	8(%rsi), %edi
	leal	-129(%rdi), %ecx
	cmpl	$2, %ecx
	jb	LBB0_15
## %bb.1:
	cmpl	$131, %edi
	je	LBB0_3
## %bb.2:
	cmpl	$128, %edi
	jne	LBB0_16
LBB0_3:
	movq	_RXDONE_SIGNAL_MCS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r14d, %esi
	callq	_RATE_MCS
	movl	%eax, %r14d
LBB0_5:
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	shlq	$4, %rax
	cmpl	$0, (%rcx,%rax)
	je	LBB0_16
## %bb.6:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rax), %r13
	leaq	(%rcx,%rax), %r12
	addq	$8, %r12
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movl	(%r13), %eax
	cmpq	%rax, %r15
	jae	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%r15,4), %edi
	callq	_rt2x00_get_rate
	movq	_RXDONE_SIGNAL_PLCP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r14d, (%rax)
	je	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_RXDONE_SIGNAL_BITRATE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r14d, 4(%rax)
	je	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_RXDONE_SIGNAL_MCS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r14d, 8(%rax)
	jne	LBB0_13
LBB0_17:
	movl	%r15d, %r14d
	jmp	LBB0_18
LBB0_15:
	cmpl	$77, %r14d
	jae	LBB0_16
	jmp	LBB0_18
LBB0_14:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_16:
	movl	8(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	callq	_rt2x00_warn
	xorl	%r14d, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXDONE_SIGNAL_MASK,4,2         ## @RXDONE_SIGNAL_MASK
	.comm	_RXDONE_SIGNAL_MCS,4,2          ## @RXDONE_SIGNAL_MCS
	.comm	_RXDONE_SIGNAL_PLCP,4,2         ## @RXDONE_SIGNAL_PLCP
	.comm	_RXDONE_SIGNAL_BITRATE,4,2      ## @RXDONE_SIGNAL_BITRATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Frame received with unrecognized signal, mode=0x%.4x, signal=0x%.4x, type=%d\n"

	.no_dead_strip	_rt2x00lib_rxdone_read_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00lib_rxdone_read_signal
_rt2x00lib_rxdone_read_signal:          ; @rt2x00lib_rxdone_read_signal
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _RXDONE_SIGNAL_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RXDONE_SIGNAL_MASK@GOTPAGEOFF]
	ldp	w19, w8, [x1]
Lloh2:
	ldr	w9, [x9]
	and	w21, w9, w8
	ldr	w0, [x1, #8]
	sub	w9, w0, #129
	cmp	w9, #2
	b.lo	LBB0_15
; %bb.1:
	cmp	w0, #131
	b.eq	LBB0_3
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_16
LBB0_3:
Lloh3:
	adrp	x23, _RXDONE_SIGNAL_MCS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RXDONE_SIGNAL_MCS@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x1, x19
	bl	_RATE_MCS
	mov	x19, x0
LBB0_5:
	ldp	x9, x8, [x20]
	add	x24, x8, x9, lsl #4
	ldr	w8, [x24]
	cbz	w8, LBB0_16
; %bb.6:
	mov	x25, #0
	add	x26, x24, #8
Lloh5:
	adrp	x27, _RXDONE_SIGNAL_PLCP@GOTPAGE
Lloh6:
	ldr	x27, [x27, _RXDONE_SIGNAL_PLCP@GOTPAGEOFF]
Lloh7:
	adrp	x28, _RXDONE_SIGNAL_BITRATE@GOTPAGE
Lloh8:
	ldr	x28, [x28, _RXDONE_SIGNAL_BITRATE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	ldr	w8, [x24]
	cmp	x25, x8
	b.hs	LBB0_16
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	w0, [x8, x25, lsl #2]
	bl	_rt2x00_get_rate
	ldr	w8, [x27]
	cmp	w21, w8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x0]
	cmp	w8, w19
	b.eq	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x28]
	cmp	w21, w8
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x0, #4]
	cmp	w8, w19
	b.eq	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x23]
	cmp	w21, w8
	b.ne	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x0, #8]
	cmp	w8, w19
	b.ne	LBB0_7
LBB0_14:
	mov	x19, x25
	b	LBB0_17
LBB0_15:
	cmp	w19, #77
	b.lo	LBB0_17
LBB0_16:
	ldr	w2, [x22, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	mov	x4, x21
	bl	_rt2x00_warn
	mov	w19, #0
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RXDONE_SIGNAL_MASK,4,2         ; @RXDONE_SIGNAL_MASK
	.comm	_RXDONE_SIGNAL_MCS,4,2          ; @RXDONE_SIGNAL_MCS
	.comm	_RXDONE_SIGNAL_PLCP,4,2         ; @RXDONE_SIGNAL_PLCP
	.comm	_RXDONE_SIGNAL_BITRATE,4,2      ; @RXDONE_SIGNAL_BITRATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Frame received with unrecognized signal, mode=0x%.4x, signal=0x%.4x, type=%d\n"

	.no_dead_strip	_rt2x00lib_rxdone_read_signal
.subsections_via_symbols
