	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_chandef_usable        ## -- Begin function cfg80211_chandef_usable
	.p2align	4, 0x90
_cfg80211_chandef_usable:               ## @cfg80211_chandef_usable
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_cfg80211_chandef_valid
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_1
LBB0_23:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %edx
	addl	$-128, %edx
	cmpl	$5, %edx
	ja	LBB0_22
## %bb.2:
	movq	(%r15), %rcx
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	movq	(%rcx,%rsi,8), %rcx
	movl	$20, %r13d
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_11:
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_23
LBB0_12:
	cmpl	$0, 4(%rcx)
	je	LBB0_23
## %bb.13:
	movq	_IEEE80211_CHAN_NO_80MHZ@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	$80, %r13d
	jmp	LBB0_17
LBB0_22:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	jmp	LBB0_23
LBB0_4:
	cmpl	$0, 12(%rcx)
	je	LBB0_23
## %bb.5:
	movl	8(%rcx), %ecx
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_23
## %bb.6:
	movq	_IEEE80211_HT_CAP_40MHZ_INTOLERANT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_23
## %bb.7:
	movl	8(%rax), %ecx
	movl	4(%rbx), %edx
	cmpl	%ecx, %edx
	jge	LBB0_9
## %bb.8:
	movq	_IEEE80211_CHAN_NO_HT40MINUS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, 12(%rax)
	jne	LBB0_23
LBB0_9:
	movl	$40, %r13d
	cmpl	%ecx, %edx
	jle	LBB0_17
## %bb.10:
	movq	_IEEE80211_CHAN_NO_HT40PLUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%rax)
	jne	LBB0_23
	jmp	LBB0_17
LBB0_3:
	cmpl	$0, 12(%rcx)
	jne	LBB0_18
	jmp	LBB0_23
LBB0_14:
	cmpl	$0, 4(%rcx)
	je	LBB0_23
## %bb.15:
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.16:
	movq	_IEEE80211_CHAN_NO_160MHZ@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	$160, %r13d
LBB0_17:
	movq	_IEEE80211_CHAN_NO_OFDM@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_18:
	movl	4(%rbx), %esi
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	callq	_cfg80211_secondary_chans_ok
	testl	%eax, %eax
	je	LBB0_23
## %bb.19:
	movl	8(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_20
## %bb.21:
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfg80211_secondary_chans_ok    ## TAILCALL
LBB0_20:
	movl	$1, %r12d
	jmp	LBB0_23
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_18
	.long	L0_0_set_3
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_40MHZ_INTOLERANT,4,2 ## @IEEE80211_HT_CAP_40MHZ_INTOLERANT
	.comm	_IEEE80211_CHAN_NO_HT40MINUS,4,2 ## @IEEE80211_CHAN_NO_HT40MINUS
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ## @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ,4,2 ## @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ
	.comm	_IEEE80211_CHAN_NO_80MHZ,4,2    ## @IEEE80211_CHAN_NO_80MHZ
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ,4,2 ## @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ
	.comm	_IEEE80211_CHAN_NO_160MHZ,4,2   ## @IEEE80211_CHAN_NO_160MHZ
	.comm	_IEEE80211_CHAN_NO_OFDM,4,2     ## @IEEE80211_CHAN_NO_OFDM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_chandef_usable        ; -- Begin function cfg80211_chandef_usable
	.p2align	2
_cfg80211_chandef_usable:               ; @cfg80211_chandef_usable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_cfg80211_chandef_valid
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w8, [x21]
	sub	w10, w8, #128
	cmp	w10, #5
	b.hi	LBB0_8
; %bb.4:
	ldr	x9, [x20]
	ldr	x8, [x21, #16]
	ldr	x11, [x8]
	ldr	x9, [x9, x11, lsl #3]
	mov	w22, #20
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_5
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_5:
	ldr	w8, [x9]
Lloh2:
	adrp	x10, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_1
LBB0_6:
	ldr	w8, [x9, #4]
	cbz	w8, LBB0_1
; %bb.7:
Lloh5:
	adrp	x8, _IEEE80211_CHAN_NO_80MHZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_80MHZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w19, w8, w19
	mov	w22, #80
	b	LBB0_22
LBB0_8:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	b	LBB0_1
LBB0_9:
	ldr	w10, [x9, #12]
	cbz	w10, LBB0_1
; %bb.10:
	ldr	w9, [x9, #8]
Lloh8:
	adrp	x10, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_1
; %bb.11:
Lloh11:
	adrp	x10, _IEEE80211_HT_CAP_40MHZ_INTOLERANT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IEEE80211_HT_CAP_40MHZ_INTOLERANT@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_1
; %bb.12:
	ldr	w9, [x8, #8]
	ldr	w10, [x21, #4]
	cmp	w10, w9
	b.ge	LBB0_14
; %bb.13:
	ldr	w11, [x8, #12]
Lloh14:
	adrp	x12, _IEEE80211_CHAN_NO_HT40MINUS@GOTPAGE
Lloh15:
	ldr	x12, [x12, _IEEE80211_CHAN_NO_HT40MINUS@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	tst	w12, w11
	b.ne	LBB0_1
LBB0_14:
	cmp	w10, w9
	b.le	LBB0_16
; %bb.15:
	ldr	w8, [x8, #12]
Lloh17:
	adrp	x9, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_1
LBB0_16:
	mov	w22, #40
	b	LBB0_22
LBB0_17:
	ldr	w8, [x9, #12]
	cbz	w8, LBB0_1
; %bb.18:
	mov	w22, #20
	b	LBB0_23
LBB0_19:
	ldr	w8, [x9, #4]
	cbz	w8, LBB0_1
; %bb.20:
	ldr	w8, [x9]
Lloh20:
	adrp	x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.21:
Lloh23:
	adrp	x8, _IEEE80211_CHAN_NO_160MHZ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_160MHZ@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	orr	w19, w8, w19
	mov	w22, #160
LBB0_22:
Lloh26:
	adrp	x8, _IEEE80211_CHAN_NO_OFDM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_OFDM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	orr	w19, w8, w19
LBB0_23:
	ldr	w1, [x21, #4]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x19
	bl	_cfg80211_secondary_chans_ok
	cbz	w0, LBB0_2
; %bb.24:
	ldr	w1, [x21, #8]
	cbz	w1, LBB0_26
; %bb.25:
	mov	x0, x20
	mov	x2, x22
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cfg80211_secondary_chans_ok
LBB0_26:
	mov	w0, #1
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_23-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
                                        ; -- End function
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_40MHZ_INTOLERANT,4,2 ; @IEEE80211_HT_CAP_40MHZ_INTOLERANT
	.comm	_IEEE80211_CHAN_NO_HT40MINUS,4,2 ; @IEEE80211_CHAN_NO_HT40MINUS
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ; @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ,4,2 ; @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ
	.comm	_IEEE80211_CHAN_NO_80MHZ,4,2    ; @IEEE80211_CHAN_NO_80MHZ
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ,4,2 ; @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ
	.comm	_IEEE80211_CHAN_NO_160MHZ,4,2   ; @IEEE80211_CHAN_NO_160MHZ
	.comm	_IEEE80211_CHAN_NO_OFDM,4,2     ; @IEEE80211_CHAN_NO_OFDM
.subsections_via_symbols
