	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822c_config_cck_rx_path
_rtw8822c_config_cck_rx_path:           ## @rtw8822c_config_cck_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	%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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_BB_PATH_A@GOTPCREL(%rip), %r12
	movq	_BB_PATH_B@GOTPCREL(%rip), %r15
	cmpq	%rsi, (%r12)
	je	LBB0_2
## %bb.1:
	cmpq	%rbx, (%r15)
	je	LBB0_2
## %bb.3:
	movq	_BB_PATH_AB@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_6
## %bb.4:
	movq	_REG_CCANRX@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$6291456, %edx                  ## imm = 0x600000
	movl	$1, %ecx
	callq	_rtw_write32_mask
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$393216, %edx                   ## imm = 0x60000
	movl	$1, %ecx
	jmp	LBB0_5
LBB0_2:
	movq	_REG_CCANRX@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$393216, %edx                   ## imm = 0x60000
	xorl	%ecx, %ecx
	callq	_rtw_write32_mask
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$6291456, %edx                  ## imm = 0x600000
	xorl	%ecx, %ecx
LBB0_5:
	callq	_rtw_write32_mask
LBB0_6:
	xorl	%ecx, %ecx
	cmpq	%rbx, (%r12)
	je	LBB0_10
## %bb.7:
	movl	$5, %ecx
	cmpq	%rbx, (%r15)
	je	LBB0_10
## %bb.8:
	movq	_BB_PATH_AB@GOTPCREL(%rip), %rax
	movl	$1, %ecx
	cmpq	%rbx, (%rax)
	jne	LBB0_9
LBB0_10:
	movq	_REG_RXCCKSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$251658240, %edx                ## imm = 0xF000000
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_write32_mask               ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BB_PATH_A,8,3                  ## @BB_PATH_A
	.comm	_BB_PATH_B,8,3                  ## @BB_PATH_B
	.comm	_REG_CCANRX,4,2                 ## @REG_CCANRX
	.comm	_BB_PATH_AB,8,3                 ## @BB_PATH_AB
	.comm	_REG_RXCCKSEL,4,2               ## @REG_RXCCKSEL
	.no_dead_strip	_rtw8822c_config_cck_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_cck_rx_path
_rtw8822c_config_cck_rx_path:           ; @rtw8822c_config_cck_rx_path
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _BB_PATH_A@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BB_PATH_A@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x21, _BB_PATH_B@GOTPAGE
Lloh3:
	ldr	x21, [x21, _BB_PATH_B@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x23, _REG_CCANRX@GOTPAGE
Lloh5:
	ldr	x23, [x23, _REG_CCANRX@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #393216
	mov	w3, #0
	bl	_rtw_write32_mask
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #6291456
	mov	w3, #0
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _BB_PATH_AB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BB_PATH_AB@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_5
; %bb.3:
Lloh9:
	adrp	x23, _REG_CCANRX@GOTPAGE
Lloh10:
	ldr	x23, [x23, _REG_CCANRX@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #6291456
	mov	w3, #1
	bl	_rtw_write32_mask
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #393216
	mov	w3, #1
LBB0_4:
	bl	_rtw_write32_mask
LBB0_5:
	ldr	x8, [x22]
	cmp	x8, x20
	b.ne	LBB0_7
; %bb.6:
	mov	w3, #0
	b	LBB0_11
LBB0_7:
	ldr	x8, [x21]
	cmp	x8, x20
	b.ne	LBB0_9
; %bb.8:
	mov	w3, #5
	b	LBB0_11
LBB0_9:
Lloh11:
	adrp	x8, _BB_PATH_AB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BB_PATH_AB@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_12
; %bb.10:
	mov	w3, #1
LBB0_11:
Lloh14:
	adrp	x8, _REG_RXCCKSEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_RXCCKSEL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #251658240
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtw_write32_mask
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BB_PATH_A,8,3                  ; @BB_PATH_A
	.comm	_BB_PATH_B,8,3                  ; @BB_PATH_B
	.comm	_REG_CCANRX,4,2                 ; @REG_CCANRX
	.comm	_BB_PATH_AB,8,3                 ; @BB_PATH_AB
	.comm	_REG_RXCCKSEL,4,2               ; @REG_RXCCKSEL
	.no_dead_strip	_rtw8822c_config_cck_rx_path
.subsections_via_symbols
