	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl88e_dm_set_tx_ant_by_tx_info ## -- Begin function rtl88e_dm_set_tx_ant_by_tx_info
	.p2align	4, 0x90
_rtl88e_dm_set_tx_ant_by_tx_info:       ## @rtl88e_dm_set_tx_ant_by_tx_info
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_efuse
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_dm
	movq	%rax, %rbx
	movq	(%r12), %rax
	movq	_CG_TRX_HW_ANTDIV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_CG_TRX_SMART_ANTDIV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	16(%rbx), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r15, %rdi
	callq	_set_tx_desc_antsel_a
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r15, %rdi
	callq	_set_tx_desc_antsel_b
	movq	(%rbx), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_tx_desc_antsel_c           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CG_TRX_HW_ANTDIV,8,3           ## @CG_TRX_HW_ANTDIV
	.comm	_CG_TRX_SMART_ANTDIV,8,3        ## @CG_TRX_SMART_ANTDIV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl88e_dm_set_tx_ant_by_tx_info ; -- Begin function rtl88e_dm_set_tx_ant_by_tx_info
	.p2align	2
_rtl88e_dm_set_tx_ant_by_tx_info:       ; @rtl88e_dm_set_tx_ant_by_tx_info
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x22, x0
	mov	x0, x21
	bl	_rtl_priv
	bl	_rtl_dm
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _CG_TRX_HW_ANTDIV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CG_TRX_HW_ANTDIV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _CG_TRX_SMART_ANTDIV@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CG_TRX_SMART_ANTDIV@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #16]
	lsl	x20, x20, #2
	ldr	w1, [x8, x20]
	mov	x0, x19
	bl	_set_tx_desc_antsel_a
	ldr	x8, [x21, #8]
	ldr	w1, [x8, x20]
	mov	x0, x19
	bl	_set_tx_desc_antsel_b
	ldr	x8, [x21]
	ldr	w1, [x8, x20]
	mov	x0, x19
	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	_set_tx_desc_antsel_c
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CG_TRX_HW_ANTDIV,8,3           ; @CG_TRX_HW_ANTDIV
	.comm	_CG_TRX_SMART_ANTDIV,8,3        ; @CG_TRX_SMART_ANTDIV
.subsections_via_symbols
