	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8821ae_set_beacon_interval  ## -- Begin function rtl8821ae_set_beacon_interval
	.p2align	4, 0x90
_rtl8821ae_set_beacon_interval:         ## @rtl8821ae_set_beacon_interval
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movl	(%rax), %r15d
	movq	_COMP_BEACON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %r8d
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_rtl8821ae_disable_interrupt
	movq	_REG_BCN_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_rtl_write_word
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl8821ae_enable_interrupt     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_BEACON,4,2                ## @COMP_BEACON
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"beacon_interval:%d\n"

	.comm	_REG_BCN_INTERVAL,4,2           ## @REG_BCN_INTERVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8821ae_set_beacon_interval  ; -- Begin function rtl8821ae_set_beacon_interval
	.p2align	2
_rtl8821ae_set_beacon_interval:         ; @rtl8821ae_set_beacon_interval
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	ldr	w21, [x0]
Lloh0:
	adrp	x8, _COMP_BEACON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_BEACON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x21
	bl	_RT_TRACE
	mov	x0, x19
	bl	_rtl8821ae_disable_interrupt
Lloh8:
	adrp	x8, _REG_BCN_INTERVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_BCN_INTERVAL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_rtl_write_word
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl8821ae_enable_interrupt
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_BEACON,4,2                ; @COMP_BEACON
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"beacon_interval:%d\n"

	.comm	_REG_BCN_INTERVAL,4,2           ; @REG_BCN_INTERVAL
.subsections_via_symbols
