	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_allowed_ht40_channel_pair      ## -- Begin function allowed_ht40_channel_pair
	.p2align	4, 0x90
_allowed_ht40_channel_pair:             ## @allowed_ht40_channel_pair
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movups	l___const.allowed_ht40_channel_pair.allowed+44(%rip), %xmm0
	movups	%xmm0, -68(%rbp)
	movaps	l___const.allowed_ht40_channel_pair.allowed+32(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.allowed_ht40_channel_pair.allowed+16(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.allowed_ht40_channel_pair.allowed(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_hw_get_channel_chan
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%rax, %r15
	movl	%ebx, -116(%rbp)                ## 4-byte Spill
	cmpl	%r14d, %ebx
	je	LBB0_3
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.6:
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r14d, %ebx
	xorl	%edx, %edx
	callq	_hw_get_channel_chan
	testq	%rax, %rax
	movl	-116(%rbp), %edx                ## 4-byte Reload
	je	LBB0_19
## %bb.7:
	movq	%rax, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_8
LBB0_12:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	callq	_chan_pri_allowed
	movl	$1, %r12d
	testq	%rax, %rax
	movl	-116(%rbp), %edx                ## 4-byte Reload
	jne	LBB0_19
## %bb.4:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
LBB0_5:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	4(%r15), %eax
	cmpl	%ebx, -116(%rbp)                ## 4-byte Folded Reload
	jge	LBB0_10
## %bb.9:
	movq	_HOSTAPD_CHAN_WIDTH_40P@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_10:
	movq	_HOSTAPD_CHAN_WIDTH_40M@GOTPCREL(%rip), %rcx
LBB0_11:
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.13:
	movq	(%r13), %rax
	movq	_HOSTAPD_MODE_IEEE80211A@GOTPCREL(%rip), %rcx
	movl	$1, %r12d
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.14:
	movl	-116(%rbp), %r15d               ## 4-byte Reload
	cmpl	%ebx, %r15d
	movl	%ebx, -120(%rbp)                ## 4-byte Spill
	movl	%ebx, %r13d
	cmovll	%r15d, %r13d
	leaq	-112(%rbp), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	xorl	%ebx, %ebx
	leaq	-112(%rbp), %r14
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpl	-112(%rbp,%rbx,4), %r13d
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_17
LBB0_18:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%r15d, %edx
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_19
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.allowed_ht40_channel_pair.allowed
l___const.allowed_ht40_channel_pair.allowed:
	.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	140                             ## 0x8c
	.long	149                             ## 0x95
	.long	157                             ## 0x9d
	.long	165                             ## 0xa5
	.long	184                             ## 0xb8
	.long	192                             ## 0xc0

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Channel %d is not allowed as primary"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"HT40: control channel: %d  secondary channel: %d"

	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ## @HOSTAPD_CHAN_DISABLED
	.comm	_HOSTAPD_CHAN_WIDTH_40P,4,2     ## @HOSTAPD_CHAN_WIDTH_40P
	.comm	_HOSTAPD_CHAN_WIDTH_40M,4,2     ## @HOSTAPD_CHAN_WIDTH_40M
L_.str.2:                               ## @.str.2
	.asciz	"HT40 secondary channel %d not allowed"

	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ## @HOSTAPD_MODE_IEEE80211A
L_.str.3:                               ## @.str.3
	.asciz	"HT40 channel pair (%d, %d) not allowed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_allowed_ht40_channel_pair      ; -- Begin function allowed_ht40_channel_pair
	.p2align	2
_allowed_ht40_channel_pair:             ; @allowed_ht40_channel_pair
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, l___const.allowed_ht40_channel_pair.allowed@PAGE
Lloh4:
	add	x8, x8, l___const.allowed_ht40_channel_pair.allowed@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	ldr	q0, [x8, #32]
	str	q0, [sp, #48]
	ldur	q0, [x8, #44]
	stur	q0, [sp, #60]
	mov	x2, #0
	bl	_hw_get_channel_chan
	cbz	x0, LBB0_11
; %bb.1:
	mov	x22, x0
	cmp	w19, w20
	b.eq	LBB0_6
; %bb.2:
	cbz	w20, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	bl	_hw_get_channel_chan
	cbz	x0, LBB0_11
; %bb.4:
	mov	x23, x0
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_wpa_printf
	ldr	w8, [x23]
Lloh10:
	adrp	x9, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
LBB0_5:
Lloh13:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	b	LBB0_10
LBB0_6:
	mov	x0, x22
	bl	_chan_pri_allowed
	cbz	x0, LBB0_8
LBB0_7:
	mov	w0, #1
	b	LBB0_11
LBB0_8:
Lloh18:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	mov	x2, x19
LBB0_10:
	bl	_wpa_printf
	mov	w0, #0
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.12:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_13:
	ldr	w8, [x22, #4]
	cmp	w19, w20
	b.ge	LBB0_15
; %bb.14:
Lloh26:
	adrp	x9, _HOSTAPD_CHAN_WIDTH_40P@GOTPAGE
Lloh27:
	ldr	x9, [x9, _HOSTAPD_CHAN_WIDTH_40P@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh28:
	adrp	x9, _HOSTAPD_CHAN_WIDTH_40M@GOTPAGE
Lloh29:
	ldr	x9, [x9, _HOSTAPD_CHAN_WIDTH_40M@GOTPAGEOFF]
LBB0_16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.17:
	ldr	x8, [x21]
Lloh30:
	adrp	x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGE
Lloh31:
	ldr	x9, [x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.18:
	cmp	w19, w20
	csel	w21, w19, w20, lt
	add	x22, sp, #16
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_22
; %bb.19:
	mov	x23, #0
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22, x23, lsl #2]
	cmp	w21, w8
	b.eq	LBB0_7
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x23, x23, #1
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	cmp	x23, x0
	b.lo	LBB0_20
LBB0_22:
Lloh33:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.allowed_ht40_channel_pair.allowed
l___const.allowed_ht40_channel_pair.allowed:
	.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	140                             ; 0x8c
	.long	149                             ; 0x95
	.long	157                             ; 0x9d
	.long	165                             ; 0xa5
	.long	184                             ; 0xb8
	.long	192                             ; 0xc0

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Channel %d is not allowed as primary"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"HT40: control channel: %d  secondary channel: %d"

	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ; @HOSTAPD_CHAN_DISABLED
	.comm	_HOSTAPD_CHAN_WIDTH_40P,4,2     ; @HOSTAPD_CHAN_WIDTH_40P
	.comm	_HOSTAPD_CHAN_WIDTH_40M,4,2     ; @HOSTAPD_CHAN_WIDTH_40M
l_.str.2:                               ; @.str.2
	.asciz	"HT40 secondary channel %d not allowed"

	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ; @HOSTAPD_MODE_IEEE80211A
l_.str.3:                               ; @.str.3
	.asciz	"HT40 channel pair (%d, %d) not allowed"

.subsections_via_symbols
