	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chan_bw_allowed                ## -- Begin function chan_bw_allowed
	.p2align	4, 0x90
_chan_bw_allowed:                       ## @chan_bw_allowed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%r8d, %r8d
	cmpl	$79, %esi
	jg	LBB0_6
## %bb.1:
	cmpl	$20, %esi
	je	LBB0_9
## %bb.2:
	cmpl	$40, %esi
	jne	LBB0_15
## %bb.3:
	testl	%edx, %edx
	je	LBB0_10
## %bb.4:
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.5:
	movq	_HOSTAPD_CHAN_WIDTH_40P@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_6:
	cmpl	$80, %esi
	je	LBB0_13
## %bb.7:
	cmpl	$160, %esi
	jne	LBB0_15
## %bb.8:
	movq	_HOSTAPD_CHAN_WIDTH_160@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_9:
	movq	_HOSTAPD_CHAN_WIDTH_20@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_HOSTAPD_CHAN_WIDTH_80@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %r8d
LBB0_15:
	movl	(%rdi), %ecx
	notl	%ecx
	xorl	%eax, %eax
	testl	%ecx, %r8d
	sete	%al
	popq	%rbp
	retq
LBB0_10:
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	movq	_HOSTAPD_CHAN_WIDTH_40M@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_12:
	xorl	%r8d, %r8d
	testl	%edx, %edx
	cmovel	%ecx, %r8d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_CHAN_WIDTH_20,4,2      ## @HOSTAPD_CHAN_WIDTH_20
	.comm	_HOSTAPD_CHAN_WIDTH_40P,4,2     ## @HOSTAPD_CHAN_WIDTH_40P
	.comm	_HOSTAPD_CHAN_WIDTH_40M,4,2     ## @HOSTAPD_CHAN_WIDTH_40M
	.comm	_HOSTAPD_CHAN_WIDTH_80,4,2      ## @HOSTAPD_CHAN_WIDTH_80
	.comm	_HOSTAPD_CHAN_WIDTH_160,4,2     ## @HOSTAPD_CHAN_WIDTH_160
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chan_bw_allowed                ; -- Begin function chan_bw_allowed
	.p2align	2
_chan_bw_allowed:                       ; @chan_bw_allowed
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	cmp	w1, #79
	b.gt	LBB0_6
; %bb.1:
	cmp	w1, #20
	b.eq	LBB0_9
; %bb.2:
	cmp	w1, #40
	b.ne	LBB0_12
; %bb.3:
	cbz	w2, LBB0_13
; %bb.4:
	cbz	w3, LBB0_13
; %bb.5:
Lloh0:
	adrp	x8, _HOSTAPD_CHAN_WIDTH_40P@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOSTAPD_CHAN_WIDTH_40P@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	cmp	w1, #80
	b.eq	LBB0_10
; %bb.7:
	cmp	w1, #160
	b.ne	LBB0_12
; %bb.8:
Lloh2:
	adrp	x8, _HOSTAPD_CHAN_WIDTH_160@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HOSTAPD_CHAN_WIDTH_160@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh4:
	adrp	x8, _HOSTAPD_CHAN_WIDTH_20@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HOSTAPD_CHAN_WIDTH_20@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh6:
	adrp	x8, _HOSTAPD_CHAN_WIDTH_80@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HOSTAPD_CHAN_WIDTH_80@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
LBB0_12:
	ldr	w9, [x0]
	bics	wzr, w8, w9
	cset	w0, eq
	ret
LBB0_13:
	cmp	w3, #0
	ccmp	w2, #0, #0, ne
Lloh8:
	adrp	x8, _HOSTAPD_CHAN_WIDTH_40M@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HOSTAPD_CHAN_WIDTH_40M@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	csel	w8, wzr, w8, ne
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_CHAN_WIDTH_20,4,2      ; @HOSTAPD_CHAN_WIDTH_20
	.comm	_HOSTAPD_CHAN_WIDTH_40P,4,2     ; @HOSTAPD_CHAN_WIDTH_40P
	.comm	_HOSTAPD_CHAN_WIDTH_40M,4,2     ; @HOSTAPD_CHAN_WIDTH_40M
	.comm	_HOSTAPD_CHAN_WIDTH_80,4,2      ; @HOSTAPD_CHAN_WIDTH_80
	.comm	_HOSTAPD_CHAN_WIDTH_160,4,2     ; @HOSTAPD_CHAN_WIDTH_160
.subsections_via_symbols
