	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_p2p_verify_channel
_wpas_p2p_verify_channel:               ## @wpas_p2p_verify_channel
	.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
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$0, -44(%rbp)
	movl	(%rdi), %edi
	leaq	-44(%rbp), %rcx
	callq	_has_channel
	movl	%eax, %r14d
	movq	_BW40MINUS@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	_HOSTAPD_CHAN_HT40MINUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_2
## %bb.3:
	movl	(%r12), %edi
	addq	$-4, %r13
	jmp	LBB0_4
LBB0_5:
	movq	_BW40PLUS@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_8
## %bb.6:
	movq	_HOSTAPD_CHAN_HT40PLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_2
## %bb.7:
	movl	(%r12), %edi
	addq	$4, %r13
LBB0_4:
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_has_channel
	jmp	LBB0_12
LBB0_2:
	movq	_NOT_ALLOWED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_15
LBB0_8:
	movq	_BW80@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_wpas_p2p_verify_80mhz
	jmp	LBB0_12
LBB0_10:
	movq	_BW160@GOTPCREL(%rip), %rcx
	movl	%r14d, %eax
	cmpq	%rbx, (%rcx)
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_wpas_p2p_verify_160mhz
LBB0_12:
	movq	_NOT_ALLOWED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %r14d
	je	LBB0_15
## %bb.13:
	cmpl	%ecx, %eax
	je	LBB0_15
## %bb.14:
	movq	_NO_IR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	movl	%r14d, %ecx
	cmovel	%edx, %ecx
	cmpl	%edx, %r14d
	cmovel	%edx, %ecx
LBB0_15:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BW40MINUS,8,3                  ## @BW40MINUS
	.comm	_HOSTAPD_CHAN_HT40MINUS,4,2     ## @HOSTAPD_CHAN_HT40MINUS
	.comm	_NOT_ALLOWED,4,2                ## @NOT_ALLOWED
	.comm	_BW40PLUS,8,3                   ## @BW40PLUS
	.comm	_HOSTAPD_CHAN_HT40PLUS,4,2      ## @HOSTAPD_CHAN_HT40PLUS
	.comm	_BW80,8,3                       ## @BW80
	.comm	_BW160,8,3                      ## @BW160
	.comm	_NO_IR,4,2                      ## @NO_IR
	.no_dead_strip	_wpas_p2p_verify_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_p2p_verify_channel
_wpas_p2p_verify_channel:               ; @wpas_p2p_verify_channel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	str	wzr, [sp, #12]
	ldr	w0, [x0]
	add	x3, sp, #12
	bl	_has_channel
	mov	x19, x0
Lloh0:
	adrp	x8, _BW40MINUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BW40MINUS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _HOSTAPD_CHAN_HT40MINUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HOSTAPD_CHAN_HT40MINUS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
	ldr	w0, [x22]
	sub	x2, x21, #4
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _BW40PLUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BW40PLUS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_8
; %bb.4:
	ldr	w8, [sp, #12]
Lloh9:
	adrp	x9, _HOSTAPD_CHAN_HT40PLUS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HOSTAPD_CHAN_HT40PLUS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	w0, [x22]
	add	x2, x21, #4
LBB0_6:
	mov	x1, x20
	mov	x3, #0
	bl	_has_channel
	b	LBB0_12
LBB0_7:
Lloh12:
	adrp	x8, _NOT_ALLOWED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NOT_ALLOWED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	b	LBB0_14
LBB0_8:
Lloh15:
	adrp	x8, _BW80@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BW80@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	bl	_wpas_p2p_verify_80mhz
	b	LBB0_12
LBB0_10:
Lloh18:
	adrp	x8, _BW160@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BW160@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	mov	x0, x19
	cmp	x8, x23
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	bl	_wpas_p2p_verify_160mhz
LBB0_12:
Lloh21:
	adrp	x8, _NOT_ALLOWED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NOT_ALLOWED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w19, w8
	ccmp	w0, w8, #4, ne
	b.eq	LBB0_14
; %bb.13:
Lloh24:
	adrp	x8, _NO_IR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NO_IR@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w0, w8
	ccmp	w19, w8, #4, ne
	csel	w8, w8, w19, eq
LBB0_14:
	mov	x0, x8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_BW40MINUS,8,3                  ; @BW40MINUS
	.comm	_HOSTAPD_CHAN_HT40MINUS,4,2     ; @HOSTAPD_CHAN_HT40MINUS
	.comm	_NOT_ALLOWED,4,2                ; @NOT_ALLOWED
	.comm	_BW40PLUS,8,3                   ; @BW40PLUS
	.comm	_HOSTAPD_CHAN_HT40PLUS,4,2      ; @HOSTAPD_CHAN_HT40PLUS
	.comm	_BW80,8,3                       ; @BW80
	.comm	_BW160,8,3                      ; @BW160
	.comm	_NO_IR,4,2                      ; @NO_IR
	.no_dead_strip	_wpas_p2p_verify_channel
.subsections_via_symbols
