	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_init_edcca              ## -- Begin function mt7603_init_edcca
	.p2align	4, 0x90
_mt7603_init_edcca:                     ## @mt7603_init_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$8, %edi
	callq	_MT_RXTD
	movq	_MT_RXTD_8_LOWER_SIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$35, %ecx
	callq	_mt76_rmw_field
	movq	_MT_MIB_STAT_ED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mt76_rr
	cmpq	$0, 16(%rbx)
	movq	_MT_MIB_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_MIB_CTL_ED_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	je	LBB0_2
## %bb.1:
	callq	_mt76_set
	jmp	LBB0_3
LBB0_2:
	callq	_mt76_clear
LBB0_3:
	movl	$255, (%rbx)
	movq	$0, 8(%rbx)
	xorl	%eax, %eax
	callq	_ktime_get_boottime
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mt7603_edcca_set_strict        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_RXTD_8_LOWER_SIGNAL,4,2     ## @MT_RXTD_8_LOWER_SIGNAL
	.comm	_MT_MIB_STAT_ED,4,2             ## @MT_MIB_STAT_ED
	.comm	_MT_MIB_CTL,4,2                 ## @MT_MIB_CTL
	.comm	_MT_MIB_CTL_ED_TIME,4,2         ## @MT_MIB_CTL_ED_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_init_edcca              ; -- Begin function mt7603_init_edcca
	.p2align	2
_mt7603_init_edcca:                     ; @mt7603_init_edcca
	.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
	mov	w0, #8
	bl	_MT_RXTD
	mov	x1, x0
Lloh0:
	adrp	x8, _MT_RXTD_8_LOWER_SIGNAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_RXTD_8_LOWER_SIGNAL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #35
	bl	_mt76_rmw_field
Lloh3:
	adrp	x8, _MT_MIB_STAT_ED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_MIB_STAT_ED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mt76_rr
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _MT_MIB_CTL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MT_MIB_CTL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
Lloh9:
	adrp	x9, _MT_MIB_CTL_ED_TIME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MT_MIB_CTL_ED_TIME@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x9]
	mov	x0, x19
	cbz	x8, LBB0_2
; %bb.1:
	bl	_mt76_set
	b	LBB0_3
LBB0_2:
	bl	_mt76_clear
LBB0_3:
	mov	w8, #255
	str	w8, [x19]
	str	xzr, [x19, #8]
	bl	_ktime_get_boottime
	str	w0, [x19, #4]
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt7603_edcca_set_strict
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_RXTD_8_LOWER_SIGNAL,4,2     ; @MT_RXTD_8_LOWER_SIGNAL
	.comm	_MT_MIB_STAT_ED,4,2             ; @MT_MIB_STAT_ED
	.comm	_MT_MIB_CTL,4,2                 ; @MT_MIB_CTL
	.comm	_MT_MIB_CTL_ED_TIME,4,2         ; @MT_MIB_CTL_ED_TIME
.subsections_via_symbols
