	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02u_exit_beacon_config    ## -- Begin function mt76x02u_exit_beacon_config
	.p2align	4, 0x90
_mt76x02u_exit_beacon_config:           ## @mt76x02u_exit_beacon_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MT76_REMOVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_MT_BEACON_TIME_CFG_TIMER_EN@GOTPCREL(%rip), %rax
	movq	_MT_BEACON_TIME_CFG_SYNC_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MT_BEACON_TIME_CFG@GOTPCREL(%rip), %rax
	movq	_MT_BEACON_TIME_CFG_TBTT_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_MT_BEACON_TIME_CFG_BEACON_TX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mt76_clear
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mt76x02u_stop_pre_tbtt_timer   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT76_REMOVED,4,2               ## @MT76_REMOVED
	.comm	_MT_BEACON_TIME_CFG,4,2         ## @MT_BEACON_TIME_CFG
	.comm	_MT_BEACON_TIME_CFG_TIMER_EN,4,2 ## @MT_BEACON_TIME_CFG_TIMER_EN
	.comm	_MT_BEACON_TIME_CFG_SYNC_MODE,4,2 ## @MT_BEACON_TIME_CFG_SYNC_MODE
	.comm	_MT_BEACON_TIME_CFG_TBTT_EN,4,2 ## @MT_BEACON_TIME_CFG_TBTT_EN
	.comm	_MT_BEACON_TIME_CFG_BEACON_TX,4,2 ## @MT_BEACON_TIME_CFG_BEACON_TX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02u_exit_beacon_config    ; -- Begin function mt76x02u_exit_beacon_config
	.p2align	2
_mt76x02u_exit_beacon_config:           ; @mt76x02u_exit_beacon_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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, _MT76_REMOVED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT76_REMOVED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MT_BEACON_TIME_CFG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_BEACON_TIME_CFG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _MT_BEACON_TIME_CFG_TIMER_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_BEACON_TIME_CFG_TIMER_EN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _MT_BEACON_TIME_CFG_SYNC_MODE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MT_BEACON_TIME_CFG_SYNC_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _MT_BEACON_TIME_CFG_TBTT_EN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MT_BEACON_TIME_CFG_TBTT_EN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _MT_BEACON_TIME_CFG_BEACON_TX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MT_BEACON_TIME_CFG_BEACON_TX@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_mt76_clear
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt76x02u_stop_pre_tbtt_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MT76_REMOVED,4,2               ; @MT76_REMOVED
	.comm	_MT_BEACON_TIME_CFG,4,2         ; @MT_BEACON_TIME_CFG
	.comm	_MT_BEACON_TIME_CFG_TIMER_EN,4,2 ; @MT_BEACON_TIME_CFG_TIMER_EN
	.comm	_MT_BEACON_TIME_CFG_SYNC_MODE,4,2 ; @MT_BEACON_TIME_CFG_SYNC_MODE
	.comm	_MT_BEACON_TIME_CFG_TBTT_EN,4,2 ; @MT_BEACON_TIME_CFG_TBTT_EN
	.comm	_MT_BEACON_TIME_CFG_BEACON_TX,4,2 ; @MT_BEACON_TIME_CFG_BEACON_TX
.subsections_via_symbols
