	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822c_config_ofdm_rx_path
_rtw8822c_config_ofdm_rx_path:          ## @rtw8822c_config_ofdm_rx_path
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_BB_PATH_A@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	%esi, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_BB_PATH_B@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_BB_PATH_AB@GOTPCREL(%rip), %rax
	movl	$1, %r15d
	cmpl	%r14d, (%rax)
	jne	LBB0_4
LBB0_3:
	movq	_REG_RXFNCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$768, %edx                      ## imm = 0x300
	movl	%r15d, %ecx
	callq	_rtw_write32_mask
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$6291456, %edx                  ## imm = 0x600000
	movl	%r15d, %ecx
	callq	_rtw_write32_mask
	movq	_REG_AGCSWSH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$17, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_rtw_write32_mask
	movq	_REG_ANTWTPD@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$20, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_rtw_write32_mask
	movq	_REG_MRCM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$24, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_rtw_write32_mask
LBB0_4:
	movq	%rbx, %rdi
	movl	$2084, %esi                     ## imm = 0x824
	movl	$251658240, %edx                ## imm = 0xF000000
	movl	%r14d, %ecx
	callq	_rtw_write32_mask
	movq	%rbx, %rdi
	movl	$2084, %esi                     ## imm = 0x824
	movl	$983040, %edx                   ## imm = 0xF0000
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_write32_mask               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BB_PATH_A,4,2                  ## @BB_PATH_A
	.comm	_BB_PATH_B,4,2                  ## @BB_PATH_B
	.comm	_REG_RXFNCTL,4,2                ## @REG_RXFNCTL
	.comm	_REG_AGCSWSH,4,2                ## @REG_AGCSWSH
	.comm	_REG_ANTWTPD,4,2                ## @REG_ANTWTPD
	.comm	_REG_MRCM,4,2                   ## @REG_MRCM
	.comm	_BB_PATH_AB,4,2                 ## @BB_PATH_AB
	.no_dead_strip	_rtw8822c_config_ofdm_rx_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822c_config_ofdm_rx_path
_rtw8822c_config_ofdm_rx_path:          ; @rtw8822c_config_ofdm_rx_path
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BB_PATH_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BB_PATH_A@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BB_PATH_B@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BB_PATH_B@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _BB_PATH_AB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BB_PATH_AB@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.3:
	mov	w21, #1
LBB0_4:
Lloh9:
	adrp	x22, _REG_RXFNCTL@GOTPAGE
Lloh10:
	ldr	x22, [x22, _REG_RXFNCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #768
	mov	x3, x21
	bl	_rtw_write32_mask
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #6291456
	mov	x3, x21
	bl	_rtw_write32_mask
Lloh11:
	adrp	x8, _REG_AGCSWSH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_AGCSWSH@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	mov	w0, #17
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_rtw_write32_mask
Lloh14:
	adrp	x8, _REG_ANTWTPD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_ANTWTPD@GOTPAGEOFF]
Lloh16:
	ldr	w22, [x8]
	mov	w0, #20
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_rtw_write32_mask
Lloh17:
	adrp	x8, _REG_MRCM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_MRCM@GOTPAGEOFF]
Lloh19:
	ldr	w22, [x8]
	mov	w0, #24
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_rtw_write32_mask
LBB0_5:
	mov	x0, x20
	mov	w1, #2084
	mov	w2, #251658240
	mov	x3, x19
	bl	_rtw_write32_mask
	mov	x0, x20
	mov	w1, #2084
	mov	w2, #983040
	mov	x3, 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	_rtw_write32_mask
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BB_PATH_A,4,2                  ; @BB_PATH_A
	.comm	_BB_PATH_B,4,2                  ; @BB_PATH_B
	.comm	_REG_RXFNCTL,4,2                ; @REG_RXFNCTL
	.comm	_REG_AGCSWSH,4,2                ; @REG_AGCSWSH
	.comm	_REG_ANTWTPD,4,2                ; @REG_ANTWTPD
	.comm	_REG_MRCM,4,2                   ; @REG_MRCM
	.comm	_BB_PATH_AB,4,2                 ; @BB_PATH_AB
	.no_dead_strip	_rtw8822c_config_ofdm_rx_path
.subsections_via_symbols
