	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __hostapd_bss_mgmt_enable_f
___hostapd_bss_mgmt_enable_f:           ## @__hostapd_bss_mgmt_enable_f
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	cmpl	$130, %esi
	je	LBB0_4
## %bb.1:
                                        ## implicit-def: $eax
	cmpl	$128, %esi
	jne	LBB0_7
## %bb.2:
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movq	_WLAN_RRM_CAPS_NEIGHBOR_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	testl	%edx, %esi
	je	LBB0_3
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	xorl	%eax, %eax
	testb	$1, %dl
	jne	LBB0_7
## %bb.5:
	movq	_WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE@GOTPCREL(%rip), %rax
	movq	_WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE@GOTPCREL(%rip), %rsi
	movq	_WLAN_RRM_CAPS_BEACON_REPORT_TABLE@GOTPCREL(%rip), %rdi
	orl	(%rax), %edx
	orl	(%rsi), %edx
	orl	(%rdi), %edx
	movl	%edx, (%rcx)
	jmp	LBB0_6
LBB0_3:
	orl	%edx, %esi
	movl	%esi, (%rcx)
	callq	_hostapd_neighbor_set_own_report
LBB0_6:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_RRM_CAPS_NEIGHBOR_REPORT,4,2 ## @WLAN_RRM_CAPS_NEIGHBOR_REPORT
	.comm	_WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE,4,2 ## @WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE
	.comm	_WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE,4,2 ## @WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE
	.comm	_WLAN_RRM_CAPS_BEACON_REPORT_TABLE,4,2 ## @WLAN_RRM_CAPS_BEACON_REPORT_TABLE
	.no_dead_strip	___hostapd_bss_mgmt_enable_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __hostapd_bss_mgmt_enable_f
___hostapd_bss_mgmt_enable_f:           ; @__hostapd_bss_mgmt_enable_f
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x9, [x0]
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.1:
                                        ; implicit-def: $w8
	cmp	w1, #128
	b.ne	LBB0_8
; %bb.2:
	ldr	x8, [x9]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _WLAN_RRM_CAPS_NEIGHBOR_REPORT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WLAN_RRM_CAPS_NEIGHBOR_REPORT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.3:
	orr	w9, w10, w9
	str	w9, [x8]
	bl	_hostapd_neighbor_set_own_report
	b	LBB0_6
LBB0_4:
	ldr	x8, [x9]
	ldr	w9, [x8]
	tbnz	w9, #0, LBB0_7
; %bb.5:
Lloh3:
	adrp	x10, _WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _WLAN_RRM_CAPS_BEACON_REPORT_TABLE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _WLAN_RRM_CAPS_BEACON_REPORT_TABLE@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	orr	w9, w10, w9
	orr	w9, w9, w11
	orr	w9, w9, w12
	str	w9, [x8]
LBB0_6:
	mov	w8, #1
	b	LBB0_8
LBB0_7:
	mov	w8, #0
LBB0_8:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_RRM_CAPS_NEIGHBOR_REPORT,4,2 ; @WLAN_RRM_CAPS_NEIGHBOR_REPORT
	.comm	_WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE,4,2 ; @WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE
	.comm	_WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE,4,2 ; @WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE
	.comm	_WLAN_RRM_CAPS_BEACON_REPORT_TABLE,4,2 ; @WLAN_RRM_CAPS_BEACON_REPORT_TABLE
	.no_dead_strip	___hostapd_bss_mgmt_enable_f
.subsections_via_symbols
