	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_p2p_get_center_80mhz
_wpas_p2p_get_center_80mhz:             ## @wpas_p2p_get_center_80mhz
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	l___const.wpas_p2p_get_center_80mhz.center_channels+16(%rip), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.wpas_p2p_get_center_80mhz.center_channels(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	(%rsi), %rax
	movq	_HOSTAPD_MODE_IEEE80211A@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movl	%edx, %r14d
	leaq	-64(%rbp), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jae	LBB0_5
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-64(%rbp,%rbx,4), %r12d
	leal	-6(%r12), %eax
	cmpl	%r14d, %eax
	jg	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	6(%r12), %eax
	cmpl	%r14d, %eax
	jl	LBB0_4
	jmp	LBB0_7
LBB0_5:
	xorl	%r12d, %r12d
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r12d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.wpas_p2p_get_center_80mhz.center_channels
l___const.wpas_p2p_get_center_80mhz.center_channels:
	.long	42                              ## 0x2a
	.long	58                              ## 0x3a
	.long	106                             ## 0x6a
	.long	122                             ## 0x7a
	.long	138                             ## 0x8a
	.long	155                             ## 0x9b

	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ## @HOSTAPD_MODE_IEEE80211A
	.no_dead_strip	_wpas_p2p_get_center_80mhz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_p2p_get_center_80mhz
_wpas_p2p_get_center_80mhz:             ; @wpas_p2p_get_center_80mhz
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, l___const.wpas_p2p_get_center_80mhz.center_channels@PAGE
Lloh4:
	add	x8, x8, l___const.wpas_p2p_get_center_80mhz.center_channels@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
	ldr	x8, [x1]
Lloh5:
	adrp	x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, sp
	mov	x0, sp
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, x21, lsl #2]
	sub	w8, w0, #6
	add	w9, w0, #6
	cmp	w8, w19
	ccmp	w9, w19, #8, le
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	mov	x0, sp
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.lo	LBB0_3
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.wpas_p2p_get_center_80mhz.center_channels
l___const.wpas_p2p_get_center_80mhz.center_channels:
	.long	42                              ; 0x2a
	.long	58                              ; 0x3a
	.long	106                             ; 0x6a
	.long	122                             ; 0x7a
	.long	138                             ; 0x8a
	.long	155                             ; 0x9b

	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ; @HOSTAPD_MODE_IEEE80211A
	.no_dead_strip	_wpas_p2p_get_center_80mhz
.subsections_via_symbols
