	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00debug_dump_frame         ## -- Begin function rt2x00debug_dump_frame
	.p2align	4, 0x90
_rt2x00debug_dump_frame:                ## @rt2x00debug_dump_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	16(%rdi), %r13
	movq	16(%rdx), %r15
	movq	%r15, %rdi
	callq	_get_skb_frame_desc
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_FRAME_DUMP_FILE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %r14                ## 8-byte Reload
	leaq	-72(%rbp), %rdi
	callq	_ktime_get_ts64
	movq	%r13, %rdi
	callq	_skb_queue_len
	cmpl	$21, %eax
	jl	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	movq	%r13, %r12
	movq	_SKBDESC_DESC_IN_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, %r13
	andl	(%r14), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edx
	movl	4(%r14), %ecx
	cmovnel	%ecx, %eax
	subl	%eax, %edx
	movq	%rdx, %r15
	leal	(%rcx,%rdx), %edi
	addl	$88, %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$88, %esi
	callq	_skb_put
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	movq	_DUMP_HEADER_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 80(%r14)
	movl	$88, %edi
	callq	_cpu_to_le32
	movq	%rax, 72(%r14)
	movl	4(%r13), %edi
	callq	_cpu_to_le32
	movq	%rax, 64(%r14)
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	%rax, 56(%r14)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 48(%r14)
	movl	4(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 40(%r14)
	movl	8(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 32(%r14)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le16
	movq	%rax, 24(%r14)
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movl	(%r12), %eax
	movl	%eax, 16(%r14)
	movl	-72(%rbp), %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r14)
	movl	-68(%rbp), %eax
	movq	_NSEC_PER_USEC@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	_SKBDESC_DESC_IN_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_8
## %bb.7:
	movl	4(%r13), %edx
	movl	8(%r13), %esi
	movq	%r14, %rdi
	callq	_skb_put_data
LBB0_8:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	%r14, %rdi
	callq	_skb_put_data
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_skb_queue_tail
	leaq	8(%rbx), %rdi
	callq	_wake_up_interruptible
	movq	_FRAME_DUMP_FILE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_skb_queue_purge
	jmp	LBB0_10
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rt2x00_dbg
LBB0_10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FRAME_DUMP_FILE_OPEN,4,2       ## @FRAME_DUMP_FILE_OPEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"txrx dump queue length exceeded\n"

	.comm	_SKBDESC_DESC_IN_SKB,4,2        ## @SKBDESC_DESC_IN_SKB
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"Failed to copy skb for dump\n"

	.comm	_DUMP_HEADER_VERSION,4,2        ## @DUMP_HEADER_VERSION
	.comm	_NSEC_PER_USEC,4,2              ## @NSEC_PER_USEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00debug_dump_frame         ; -- Begin function rt2x00debug_dump_frame
	.p2align	2
_rt2x00debug_dump_frame:                ; @rt2x00debug_dump_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x2
	mov	x24, x1
	mov	x25, x0
	ldr	x19, [x0, #16]
	ldr	x21, [x2, #16]
	mov	x0, x21
	bl	_get_skb_frame_desc
	mov	x22, x0
Lloh0:
	adrp	x8, _FRAME_DUMP_FILE_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FRAME_DUMP_FILE_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_10
; %bb.1:
	add	x0, sp, #8
	bl	_ktime_get_ts64
	mov	x0, x19
	bl	_skb_queue_len
	cmp	w0, #21
	b.lt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_3:
Lloh5:
	adrp	x9, _SKBDESC_DESC_IN_SKB@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SKBDESC_DESC_IN_SKB@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh7:
	ldr	w9, [x9]
	ldp	w10, w11, [x22]
	tst	w9, w10
	csel	w9, wzr, w11, eq
	sub	w28, w8, w9
	add	w8, w28, w11
	add	w0, w8, #88
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_8
; %bb.4:
	mov	x26, x0
	mov	w1, #88
	bl	_skb_put
	mov	x27, x0
Lloh11:
	adrp	x8, _DUMP_HEADER_VERSION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DUMP_HEADER_VERSION@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x27, #80]
	mov	w0, #88
	bl	_cpu_to_le32
	str	x0, [x27, #72]
	ldr	w0, [x22, #4]
	bl	_cpu_to_le32
	str	x0, [x27, #64]
	mov	x0, x28
	bl	_cpu_to_le32
	str	x0, [x27, #56]
	ldr	w0, [x25]
	bl	_cpu_to_le16
	str	x0, [x27, #48]
	ldr	w0, [x25, #4]
	bl	_cpu_to_le16
	str	x0, [x27, #40]
	ldr	w0, [x25, #8]
	bl	_cpu_to_le16
	str	x0, [x27, #32]
	mov	x0, x24
	bl	_cpu_to_le16
	str	x0, [x27, #24]
	ldr	x8, [x23, #8]
	ldr	w8, [x8]
	ldr	w9, [x23]
	stp	w9, w8, [x27, #16]
	ldr	w0, [sp, #8]
	bl	_cpu_to_le32
	str	x0, [x27, #8]
	ldr	w8, [sp, #12]
Lloh14:
	adrp	x9, _NSEC_PER_USEC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NSEC_PER_USEC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	sdiv	w0, w8, w9
	bl	_cpu_to_le32
	str	x0, [x27]
	ldr	w8, [x22]
Lloh17:
	adrp	x9, _SKBDESC_DESC_IN_SKB@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SKBDESC_DESC_IN_SKB@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
	ldp	w2, w1, [x22, #4]
	mov	x0, x26
	bl	_skb_put_data
LBB0_6:
	ldp	w2, w1, [x21]
	mov	x0, x26
	bl	_skb_put_data
	mov	x0, x19
	mov	x1, x26
	bl	_skb_queue_tail
	add	x0, x19, #8
	bl	_wake_up_interruptible
Lloh20:
	adrp	x8, _FRAME_DUMP_FILE_OPEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FRAME_DUMP_FILE_OPEN@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbnz	w0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_skb_queue_purge
	b	LBB0_10
LBB0_8:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	mov	x0, x25
	bl	_rt2x00_dbg
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_FRAME_DUMP_FILE_OPEN,4,2       ; @FRAME_DUMP_FILE_OPEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"txrx dump queue length exceeded\n"

	.comm	_SKBDESC_DESC_IN_SKB,4,2        ; @SKBDESC_DESC_IN_SKB
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"Failed to copy skb for dump\n"

	.comm	_DUMP_HEADER_VERSION,4,2        ; @DUMP_HEADER_VERSION
	.comm	_NSEC_PER_USEC,4,2              ; @NSEC_PER_USEC
.subsections_via_symbols
