	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822c_config_trx_mode
_rtw8822c_config_trx_mode:              ## @rtw8822c_config_trx_mode
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	%edx, %r12d
	orl	%esi, %r12d
	movq	_BB_PATH_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_REG_ORITXCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASK20BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$69905, %eax                    ## imm = 0x11111
	movl	$209682, %ebx                   ## imm = 0x33312
	movl	$209682, %ecx                   ## imm = 0x33312
	cmovel	%eax, %ecx
	callq	_rtw_write32_mask
	movq	_BB_PATH_B@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	$69905, %eax                    ## imm = 0x11111
	cmovel	%eax, %ebx
	movq	_REG_ORITXCODE2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASK20BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%ebx, %ecx
	callq	_rtw_write32_mask
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_rtw8822c_config_rx_path
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_rtw8822c_config_tx_path
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw8822c_toggle_igi            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BB_PATH_A,4,2                  ## @BB_PATH_A
	.comm	_REG_ORITXCODE,4,2              ## @REG_ORITXCODE
	.comm	_MASK20BITS,4,2                 ## @MASK20BITS
	.comm	_BB_PATH_B,4,2                  ## @BB_PATH_B
	.comm	_REG_ORITXCODE2,4,2             ## @REG_ORITXCODE2
	.no_dead_strip	_rtw8822c_config_trx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822c_config_trx_mode
_rtw8822c_config_trx_mode:              ; @rtw8822c_config_trx_mode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _BB_PATH_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BB_PATH_A@GOTPAGEOFF]
	orr	w23, w2, w1
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _REG_ORITXCODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_ORITXCODE@GOTPAGEOFF]
Lloh5:
	adrp	x24, _MASK20BITS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MASK20BITS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	ldr	w2, [x24]
	tst	w8, w23
	mov	w25, #13074
	movk	w25, #3, lsl #16
	mov	w26, #4369
	movk	w26, #1, lsl #16
	csel	w3, w26, w25, eq
	bl	_rtw_write32_mask
Lloh8:
	adrp	x8, _BB_PATH_B@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BB_PATH_B@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w23
	csel	w3, w26, w25, eq
Lloh11:
	adrp	x8, _REG_ORITXCODE2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_ORITXCODE2@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x24]
	mov	x0, x22
	bl	_rtw_write32_mask
	mov	x0, x22
	mov	x1, x20
	bl	_rtw8822c_config_rx_path
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_rtw8822c_config_tx_path
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rtw8822c_toggle_igi
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BB_PATH_A,4,2                  ; @BB_PATH_A
	.comm	_REG_ORITXCODE,4,2              ; @REG_ORITXCODE
	.comm	_MASK20BITS,4,2                 ; @MASK20BITS
	.comm	_BB_PATH_B,4,2                  ; @BB_PATH_B
	.comm	_REG_ORITXCODE2,4,2             ; @REG_ORITXCODE2
	.no_dead_strip	_rtw8822c_config_trx_mode
.subsections_via_symbols
