	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76_check_sband
_mt76_check_sband:                      ## @mt76_check_sband
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r8
	movslq	%esi, %r9
	movq	(%r8,%r9,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	movl	(%rdx), %esi
	testl	%esi, %esi
	jle	LBB0_5
## %bb.2:
	movq	8(%rdx), %rdi
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, (%rdi,%rcx,4)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rsi
	jne	LBB0_4
LBB0_5:
	movl	$0, (%rdx)
	movq	$0, (%r8,%r9,8)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.no_dead_strip	_mt76_check_sband
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76_check_sband
_mt76_check_sband:                      ; @mt76_check_sband
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x8, w1, sxtw #3]
	cbz	x9, LBB0_6
; %bb.1:
	ldr	w10, [x9]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x11, [x9, #8]
Lloh0:
	adrp	x12, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh1:
	ldr	x12, [x12, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11]
	tst	w12, w13
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #4
	subs	x10, x10, #1
	b.ne	LBB0_3
LBB0_5:
	sxtw	x10, w1
	str	wzr, [x9]
	str	xzr, [x8, x10, lsl #3]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.no_dead_strip	_mt76_check_sband
.subsections_via_symbols
