	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8821ae_dm_iq_calibrate
_rtl8821ae_dm_iq_calibrate:             ## @rtl8821ae_dm_iq_calibrate
	.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
	movl	%eax, %edi
	callq	_rtl_mac
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_dm
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_hal
	movq	(%r15), %rcx
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_1
## %bb.5:
	movl	$0, (%r14)
	jmp	LBB0_6
LBB0_1:
	movl	(%r14), %ecx
	cmpl	$2, %ecx
	jg	LBB0_6
## %bb.2:
	incl	%ecx
	movl	%ecx, (%r14)
	cmpl	$2, %ecx
	jne	LBB0_6
## %bb.3:
	movq	(%rax), %rax
	movq	_HARDWARE_TYPE_RTL8812AE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl8812ae_phy_iq_calibrate     ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl8821ae_phy_iq_calibrate     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC80211_LINKED,8,3            ## @MAC80211_LINKED
	.comm	_HARDWARE_TYPE_RTL8812AE,8,3    ## @HARDWARE_TYPE_RTL8812AE
	.no_dead_strip	_rtl8821ae_dm_iq_calibrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8821ae_dm_iq_calibrate
_rtl8821ae_dm_iq_calibrate:             ; @rtl8821ae_dm_iq_calibrate
	.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
	bl	_rtl_mac
	mov	x21, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_dm
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _MAC80211_LINKED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAC80211_LINKED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	str	wzr, [x20]
	b	LBB0_6
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, #2
	b.gt	LBB0_6
; %bb.3:
	add	w8, w8, #1
	str	w8, [x20]
	cmp	w8, #2
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _HARDWARE_TYPE_RTL8812AE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HARDWARE_TYPE_RTL8812AE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mov	x0, x19
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	w1, #0
	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	_rtl8812ae_phy_iq_calibrate
LBB0_6:
	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
	ret
LBB0_7:
	mov	w1, #0
	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_phy_iq_calibrate
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC80211_LINKED,8,3            ; @MAC80211_LINKED
	.comm	_HARDWARE_TYPE_RTL8812AE,8,3    ; @HARDWARE_TYPE_RTL8812AE
	.no_dead_strip	_rtl8821ae_dm_iq_calibrate
.subsections_via_symbols
