	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl92ee_dm_dynamic_edcca
_rtl92ee_dm_dynamic_edcca:              ## @rtl92ee_dm_dynamic_edcca
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movl	$0, -36(%rbp)
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_FW_PSMODE_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	cmpl	$0, -36(%rbp)
	je	LBB0_1
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_ROFDM0_XAAGCCORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASKBYTE0@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_rtl_get_bbreg
	movl	%eax, %r15d
	movq	_ROFDM0_XBAGCCORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_rtl_get_bbreg
	cmpl	$41, %r15d
	jl	LBB0_5
## %bb.2:
	cmpl	$41, %eax
	jl	LBB0_5
## %bb.3:
	cmpl	$0, (%r14)
	jne	LBB0_9
## %bb.4:
	movq	_ROFDM0_ECCATHRESHOLD@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_rtl_write_byte
	movq	(%rbx), %rsi
	addq	$2, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rtl_write_byte
	movl	$1, (%r14)
	jmp	LBB0_9
LBB0_5:
	cmpl	$36, %r15d
	jg	LBB0_9
## %bb.6:
	cmpl	$36, %eax
	jg	LBB0_9
## %bb.7:
	cmpl	$0, (%r14)
	je	LBB0_9
## %bb.8:
	movq	_ROFDM0_ECCATHRESHOLD@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$127, %edx
	callq	_rtl_write_byte
	movq	(%rbx), %rsi
	addq	$2, %rsi
	movq	%r14, %rdi
	movl	$127, %edx
	callq	_rtl_write_byte
	movl	$0, (%r14)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_VAR_FW_PSMODE_STATUS,4,2    ## @HW_VAR_FW_PSMODE_STATUS
	.comm	_ROFDM0_XAAGCCORE1,4,2          ## @ROFDM0_XAAGCCORE1
	.comm	_MASKBYTE0,4,2                  ## @MASKBYTE0
	.comm	_ROFDM0_XBAGCCORE1,4,2          ## @ROFDM0_XBAGCCORE1
	.comm	_ROFDM0_ECCATHRESHOLD,8,3       ## @ROFDM0_ECCATHRESHOLD
	.no_dead_strip	_rtl92ee_dm_dynamic_edcca
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl92ee_dm_dynamic_edcca
_rtl92ee_dm_dynamic_edcca:              ; @rtl92ee_dm_dynamic_edcca
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HW_VAR_FW_PSMODE_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HW_VAR_FW_PSMODE_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x20
	blr	x8
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
Lloh3:
	adrp	x8, _ROFDM0_XAAGCCORE1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROFDM0_XAAGCCORE1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x22, _MASKBYTE0@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MASKBYTE0@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_rtl_get_bbreg
	mov	x21, x0
Lloh8:
	adrp	x8, _ROFDM0_XBAGCCORE1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ROFDM0_XBAGCCORE1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_rtl_get_bbreg
	cmp	w21, #41
	b.lt	LBB0_6
; %bb.3:
	cmp	w0, #41
	b.lt	LBB0_6
; %bb.4:
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
; %bb.5:
Lloh11:
	adrp	x20, _ROFDM0_ECCATHRESHOLD@GOTPAGE
Lloh12:
	ldr	x20, [x20, _ROFDM0_ECCATHRESHOLD@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #3
	bl	_rtl_write_byte
	ldr	x8, [x20]
	add	x1, x8, #2
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_1
LBB0_6:
	cmp	w21, #36
	b.gt	LBB0_1
; %bb.7:
	cmp	w0, #36
	b.gt	LBB0_1
; %bb.8:
	ldr	w8, [x19]
	cbz	w8, LBB0_1
; %bb.9:
Lloh13:
	adrp	x20, _ROFDM0_ECCATHRESHOLD@GOTPAGE
Lloh14:
	ldr	x20, [x20, _ROFDM0_ECCATHRESHOLD@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #127
	bl	_rtl_write_byte
	ldr	x8, [x20]
	add	x1, x8, #2
	mov	x0, x19
	mov	w2, #127
	bl	_rtl_write_byte
	str	wzr, [x19]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_VAR_FW_PSMODE_STATUS,4,2    ; @HW_VAR_FW_PSMODE_STATUS
	.comm	_ROFDM0_XAAGCCORE1,4,2          ; @ROFDM0_XAAGCCORE1
	.comm	_MASKBYTE0,4,2                  ; @MASKBYTE0
	.comm	_ROFDM0_XBAGCCORE1,4,2          ; @ROFDM0_XBAGCCORE1
	.comm	_ROFDM0_ECCATHRESHOLD,8,3       ; @ROFDM0_ECCATHRESHOLD
	.no_dead_strip	_rtl92ee_dm_dynamic_edcca
.subsections_via_symbols
