	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dfs_is_chan_allowed
_dfs_is_chan_allowed:                   ## @dfs_is_chan_allowed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	l___const.dfs_is_chan_allowed.allowed_40+48(%rip), %eax
	movl	%eax, -32(%rbp)
	movaps	l___const.dfs_is_chan_allowed.allowed_40+32(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.dfs_is_chan_allowed.allowed_40+16(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.dfs_is_chan_allowed.allowed_40(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	l___const.dfs_is_chan_allowed.allowed_80+16(%rip), %rax
	movq	%rax, -96(%rbp)
	movaps	l___const.dfs_is_chan_allowed.allowed_80(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movabsq	$429496729636, %rax             ## imm = 0x6400000024
	movq	%rax, -120(%rbp)
	cmpl	$2, %esi
	je	LBB0_4
## %bb.1:
	movl	%esi, %edx
	cmpl	$8, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$4, %edx
	jne	LBB0_12
## %bb.3:
	leaq	-112(%rbp), %rbx
	jmp	LBB0_6
LBB0_4:
	leaq	-80(%rbp), %rbx
	jmp	LBB0_6
LBB0_5:
	leaq	-120(%rbp), %rbx
LBB0_6:
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	movl	(%r14), %ecx
	movl	%eax, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rbx,%rdx,4), %ecx
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_8
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_13:
	movl	$1, %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.dfs_is_chan_allowed.allowed_40
l___const.dfs_is_chan_allowed.allowed_40:
	.long	36                              ## 0x24
	.long	44                              ## 0x2c
	.long	52                              ## 0x34
	.long	60                              ## 0x3c
	.long	100                             ## 0x64
	.long	108                             ## 0x6c
	.long	116                             ## 0x74
	.long	124                             ## 0x7c
	.long	132                             ## 0x84
	.long	149                             ## 0x95
	.long	157                             ## 0x9d
	.long	184                             ## 0xb8
	.long	192                             ## 0xc0

	.p2align	4                               ## @__const.dfs_is_chan_allowed.allowed_80
l___const.dfs_is_chan_allowed.allowed_80:
	.long	36                              ## 0x24
	.long	52                              ## 0x34
	.long	100                             ## 0x64
	.long	116                             ## 0x74
	.long	132                             ## 0x84
	.long	149                             ## 0x95

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown width for %d channels"

	.no_dead_strip	_dfs_is_chan_allowed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfs_is_chan_allowed
_dfs_is_chan_allowed:                   ; @dfs_is_chan_allowed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, l___const.dfs_is_chan_allowed.allowed_40@PAGE
Lloh4:
	add	x9, x9, l___const.dfs_is_chan_allowed.allowed_40@PAGEOFF
	stur	x8, [x29, #-24]
	ldp	q0, q1, [x9]
	stp	q0, q1, [sp, #48]
	ldr	q0, [x9, #32]
	str	q0, [sp, #80]
	ldr	w8, [x9, #48]
	str	w8, [sp, #96]
Lloh5:
	adrp	x8, l___const.dfs_is_chan_allowed.allowed_80@PAGE
Lloh6:
	add	x8, x8, l___const.dfs_is_chan_allowed.allowed_80@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #32]
	mov	x8, #36
	movk	x8, #100, lsl #32
	str	x8, [sp, #8]
	cmp	w1, #2
	b.eq	LBB0_4
; %bb.1:
	mov	x2, x1
	cmp	w1, #8
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #4
	b.ne	LBB0_11
; %bb.3:
	add	x20, sp, #16
	b	LBB0_6
LBB0_4:
	add	x20, sp, #48
	b	LBB0_6
LBB0_5:
	add	x20, sp, #8
LBB0_6:
	mov	x0, x20
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_13
; %bb.7:
	ldr	w8, [x19]
	mov	w9, w0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x20]
	cmp	w8, w10
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, #4
	subs	x9, x9, #1
	b.ne	LBB0_8
; %bb.10:
	mov	w0, #0
	b	LBB0_13
LBB0_11:
Lloh7:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #0
	b	LBB0_13
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldur	x8, [x29, #-24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.dfs_is_chan_allowed.allowed_40
l___const.dfs_is_chan_allowed.allowed_40:
	.long	36                              ; 0x24
	.long	44                              ; 0x2c
	.long	52                              ; 0x34
	.long	60                              ; 0x3c
	.long	100                             ; 0x64
	.long	108                             ; 0x6c
	.long	116                             ; 0x74
	.long	124                             ; 0x7c
	.long	132                             ; 0x84
	.long	149                             ; 0x95
	.long	157                             ; 0x9d
	.long	184                             ; 0xb8
	.long	192                             ; 0xc0

	.p2align	2                               ; @__const.dfs_is_chan_allowed.allowed_80
l___const.dfs_is_chan_allowed.allowed_80:
	.long	36                              ; 0x24
	.long	52                              ; 0x34
	.long	100                             ; 0x64
	.long	116                             ; 0x74
	.long	132                             ; 0x84
	.long	149                             ; 0x95

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown width for %d channels"

	.no_dead_strip	_dfs_is_chan_allowed
.subsections_via_symbols
