	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wireless_seq_printf_stats
_wireless_seq_printf_stats:             ## @wireless_seq_printf_stats
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_get_wireless_stats
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movl	(%r15), %edx
	movl	56(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	24(%rbx), %r8d
	movl	(%rbx), %edi
	movq	_IW_QUAL_QUAL_UPDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%edi, %r12d
	movq	16(%rbx), %r10
	movq	_IW_QUAL_DBM@GOTPCREL(%rip), %r9
	xorl	%eax, %eax
	movl	(%r9), %esi
	andl	%edi, %esi
	setne	%al
	shlq	$8, %rax
	subq	%rax, %r10
	movq	%r10, -80(%rbp)                 ## 8-byte Spill
	movq	_IW_QUAL_LEVEL_UPDATED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%edi, %esi
	movq	8(%rbx), %r11
	subq	%rax, %r11
	movq	_IW_QUAL_NOISE_UPDATED@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	testl	%esi, %esi
	movl	$32, %ecx
	movl	$46, %r9d
	movl	$46, %eax
	cmovel	%ecx, %eax
	testl	%edi, %edi
	movl	52(%rbx), %edi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	48(%rbx), %edi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	$46, %r14d
	cmovel	%ecx, %r14d
	movl	44(%rbx), %esi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	40(%rbx), %r13d
	movl	36(%rbx), %r10d
	movl	32(%rbx), %r15d
	testl	%r12d, %r12d
	cmovel	%ecx, %r9d
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	pushq	%r15
	pushq	%r10
	pushq	%r13
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	%r14
	pushq	%r11
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_seq_printf
	addq	$80, %rsp
	leaq	_wireless_seq_printf_stats.nullstats(%rip), %rax
	cmpq	%rax, %rbx
	je	LBB0_3
## %bb.2:
	movq	_IW_QUAL_ALL_UPDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_wireless_seq_printf_stats.nullstats,64,3 ## @wireless_seq_printf_stats.nullstats
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%6s: %04x  %3d%c  %3d%c  %3d%c  %6d %6d %6d %6d %6d   %6d\n"

	.comm	_IW_QUAL_QUAL_UPDATED,4,2       ## @IW_QUAL_QUAL_UPDATED
	.comm	_IW_QUAL_DBM,4,2                ## @IW_QUAL_DBM
	.comm	_IW_QUAL_LEVEL_UPDATED,4,2      ## @IW_QUAL_LEVEL_UPDATED
	.comm	_IW_QUAL_NOISE_UPDATED,4,2      ## @IW_QUAL_NOISE_UPDATED
	.comm	_IW_QUAL_ALL_UPDATED,4,2        ## @IW_QUAL_ALL_UPDATED
	.no_dead_strip	_wireless_seq_printf_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wireless_seq_printf_stats
_wireless_seq_printf_stats:             ; @wireless_seq_printf_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_get_wireless_stats
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w2, [x21]
	ldr	w3, [x0, #56]
	ldr	w4, [x0, #24]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IW_QUAL_QUAL_UPDATED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IW_QUAL_QUAL_UPDATED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IW_QUAL_DBM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IW_QUAL_DBM@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w10, ne
	lsl	x10, x10, #8
	ldp	x12, x11, [x0, #8]
	sub	x6, x11, x10
Lloh6:
	adrp	x11, _IW_QUAL_LEVEL_UPDATED@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IW_QUAL_LEVEL_UPDATED@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x13, _IW_QUAL_NOISE_UPDATED@GOTPAGE
Lloh10:
	ldr	x13, [x13, _IW_QUAL_NOISE_UPDATED@GOTPAGEOFF]
	sub	x10, x12, x10
Lloh11:
	ldr	w12, [x13]
	tst	w12, w8
	mov	w12, #46
	mov	w13, #32
	csel	w14, w13, w12, eq
	ldp	w16, w15, [x0, #48]
	ldp	w0, w17, [x0, #40]
	ldp	w5, w1, [x19, #32]
	stp	w1, w5, [sp, #28]
	stp	w17, w0, [sp, #20]
	stp	w15, w16, [sp, #12]
	tst	w9, w8
	csel	w5, w13, w12, eq
	tst	w11, w8
	csel	w7, w13, w12, eq
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	strb	w14, [sp, #8]
	str	x10, [sp]
	mov	x0, x20
	bl	_seq_printf
Lloh14:
	adrp	x8, _wireless_seq_printf_stats.nullstats@PAGE
Lloh15:
	add	x8, x8, _wireless_seq_printf_stats.nullstats@PAGEOFF
	cmp	x19, x8
	b.eq	LBB0_3
; %bb.2:
Lloh16:
	adrp	x8, _IW_QUAL_ALL_UPDATED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IW_QUAL_ALL_UPDATED@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_3:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_wireless_seq_printf_stats.nullstats,64,3 ; @wireless_seq_printf_stats.nullstats
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%6s: %04x  %3d%c  %3d%c  %3d%c  %6d %6d %6d %6d %6d   %6d\n"

	.comm	_IW_QUAL_QUAL_UPDATED,4,2       ; @IW_QUAL_QUAL_UPDATED
	.comm	_IW_QUAL_DBM,4,2                ; @IW_QUAL_DBM
	.comm	_IW_QUAL_LEVEL_UPDATED,4,2      ; @IW_QUAL_LEVEL_UPDATED
	.comm	_IW_QUAL_NOISE_UPDATED,4,2      ; @IW_QUAL_NOISE_UPDATED
	.comm	_IW_QUAL_ALL_UPDATED,4,2        ; @IW_QUAL_ALL_UPDATED
	.no_dead_strip	_wireless_seq_printf_stats
.subsections_via_symbols
