	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_set_beacon_hwreg    ## -- Begin function rtl92s_phy_set_beacon_hwreg
	.p2align	4, 0x90
_rtl92s_phy_set_beacon_hwreg:           ## @rtl92s_phy_set_beacon_hwreg
	.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
	movl	%esi, %ebx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_hal_get_firmwareversion
	cmpl	$51, %eax
	jl	LBB0_3
## %bb.1:
	movq	_WFM5@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shll	$8, %ebx
	orl	$-251658240, %ebx               ## imm = 0xF1000000
	movq	%r14, %rdi
	movl	%ebx, %edx
	jmp	LBB0_2
LBB0_3:
	shll	$5, %ebx
	addl	$-64, %ebx
	movq	_WFM3@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	$4, %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_rtl_write_dword
	movq	(%r15), %rsi
	movq	%r14, %rdi
	movl	$-1339686788, %edx              ## imm = 0xB026007C
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_dword                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WFM5,8,3                       ## @WFM5
	.comm	_WFM3,8,3                       ## @WFM3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_set_beacon_hwreg    ; -- Begin function rtl92s_phy_set_beacon_hwreg
	.p2align	2
_rtl92s_phy_set_beacon_hwreg:           ; @rtl92s_phy_set_beacon_hwreg
	.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	x20, x1
	bl	_rtl_priv
	mov	x19, x0
	bl	_hal_get_firmwareversion
	cmp	w0, #51
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _WFM5@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WFM5@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	w8, #-251658240
	orr	w2, w8, w20, lsl #8
	mov	x0, x19
	b	LBB0_3
LBB0_2:
	lsl	w8, w20, #5
	sub	w2, w8, #64
Lloh3:
	adrp	x20, _WFM3@GOTPAGE
Lloh4:
	ldr	x20, [x20, _WFM3@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x1, x8, #4
	mov	x0, x19
	bl	_rtl_write_dword
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #124
	movk	w2, #45094, lsl #16
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtl_write_dword
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WFM5,8,3                       ; @WFM5
	.comm	_WFM3,8,3                       ; @WFM3
.subsections_via_symbols
