	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_edcca_set_strict        ## -- Begin function mt7603_edcca_set_strict
	.p2align	4, 0x90
_mt7603_edcca_set_strict:               ## @mt7603_edcca_set_strict
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	%esi, (%rdi)
	jne	LBB0_1
## %bb.9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	cmpq	$0, 8(%rdi)
	movq	_MT_RXTD_6_CCAED_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$52, %eax
	movl	$125, %esi
	cmovel	%eax, %esi
	callq	_FIELD_PREP
	movl	%eax, %r14d
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.2:
	cmpl	$0, (%rbx)
	je	LBB0_3
LBB0_4:
	movl	$16, %esi
	jmp	LBB0_5
LBB0_3:
	movl	$15, %esi
LBB0_5:
	movq	_MT_RXTD_6_ACI_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FIELD_PREP
	orl	%eax, %r14d
	orl	$-674758656, %r14d              ## imm = 0xD7C80000
	movl	$6, %edi
	callq	_MT_RXTD
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_mt76_wr
	movl	$13, %edi
	callq	_MT_RXTD
	movq	_MT_RXTD_13_ACI_TH_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.7:
	xorl	%ecx, %ecx
	cmpl	$0, (%rbx)
	sete	%cl
	jmp	LBB0_8
LBB0_6:
	xorl	%ecx, %ecx
LBB0_8:
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mt76_rmw_field                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_RXTD_6_CCAED_TH,4,2         ## @MT_RXTD_6_CCAED_TH
	.comm	_MT_RXTD_6_ACI_TH,4,2           ## @MT_RXTD_6_ACI_TH
	.comm	_MT_RXTD_13_ACI_TH_EN,4,2       ## @MT_RXTD_13_ACI_TH_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_edcca_set_strict        ; -- Begin function mt7603_edcca_set_strict
	.p2align	2
_mt7603_edcca_set_strict:               ; @mt7603_edcca_set_strict
	.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
	ldr	w8, [x0]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	str	w1, [x0]
Lloh0:
	adrp	x8, _MT_RXTD_6_CCAED_TH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_RXTD_6_CCAED_TH@GOTPAGEOFF]
	ldr	x9, [x0, #8]
Lloh2:
	ldr	w0, [x8]
	cmp	x9, #0
	mov	w8, #125
	mov	w9, #52
	csel	w1, w9, w8, eq
	bl	_FIELD_PREP
	mov	x20, x0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
LBB0_4:
	mov	w1, #16
	b	LBB0_6
LBB0_5:
	mov	w1, #15
LBB0_6:
Lloh3:
	adrp	x8, _MT_RXTD_6_ACI_TH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_RXTD_6_ACI_TH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_FIELD_PREP
	orr	w8, w20, w0
	mov	w9, #-674758656
	orr	w20, w8, w9
	mov	w0, #6
	bl	_MT_RXTD
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_mt76_wr
	mov	w0, #13
	bl	_MT_RXTD
	mov	x1, x0
Lloh6:
	adrp	x8, _MT_RXTD_13_ACI_TH_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_RXTD_13_ACI_TH_EN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w3, eq
	b	LBB0_9
LBB0_8:
	mov	w3, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt76_rmw_field
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_RXTD_6_CCAED_TH,4,2         ; @MT_RXTD_6_CCAED_TH
	.comm	_MT_RXTD_6_ACI_TH,4,2           ; @MT_RXTD_6_ACI_TH
	.comm	_MT_RXTD_13_ACI_TH_EN,4,2       ; @MT_RXTD_13_ACI_TH_EN
.subsections_via_symbols
