	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_set_rx_pcc
_jme_set_rx_pcc:                        ## @jme_set_rx_pcc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.jme_set_rx_pcc(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.jme_set_rx_pcc.1(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	_JME_PCCRX0@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	(%rcx), %edi
	movq	_PCCRXTO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	movq	_PCCRXTO_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	movl	(%rax), %edx
	movq	_PCCRX_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_PCCRX_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	orl	%edi, %edx
	movq	%rbx, %rdi
	callq	_jwrite32
LBB0_2:
	xorl	%eax, %eax
	callq	_wmb
	movq	_JME_FLAG_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_rx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_info                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_JME_PCCRX0,4,2                 ## @JME_PCCRX0
	.comm	_PCC_OFF_TO,4,2                 ## @PCC_OFF_TO
	.comm	_PCCRXTO_SHIFT,4,2              ## @PCCRXTO_SHIFT
	.comm	_PCCRXTO_MASK,4,2               ## @PCCRXTO_MASK
	.comm	_PCC_OFF_CNT,4,2                ## @PCC_OFF_CNT
	.comm	_PCCRX_SHIFT,4,2                ## @PCCRX_SHIFT
	.comm	_PCCRX_MASK,4,2                 ## @PCCRX_MASK
	.comm	_PCC_P1_TO,4,2                  ## @PCC_P1_TO
	.comm	_PCC_P1_CNT,4,2                 ## @PCC_P1_CNT
	.comm	_PCC_P2_TO,4,2                  ## @PCC_P2_TO
	.comm	_PCC_P2_CNT,4,2                 ## @PCC_P2_CNT
	.comm	_PCC_P3_TO,4,2                  ## @PCC_P3_TO
	.comm	_PCC_P3_CNT,4,2                 ## @PCC_P3_CNT
	.comm	_JME_FLAG_POLL,4,2              ## @JME_FLAG_POLL
	.comm	_rx_status,4,2                  ## @rx_status
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Switched to PCC_P%d\n"

	.no_dead_strip	_jme_set_rx_pcc
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.jme_set_rx_pcc
l_switch.table.jme_set_rx_pcc:
	.quad	_PCC_P3_TO
	.quad	_PCC_P2_TO
	.quad	_PCC_P1_TO
	.quad	_PCC_OFF_TO

	.p2align	3                               ## @switch.table.jme_set_rx_pcc.1
l_switch.table.jme_set_rx_pcc.1:
	.quad	_PCC_P3_CNT
	.quad	_PCC_P2_CNT
	.quad	_PCC_P1_CNT
	.quad	_PCC_OFF_CNT

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_set_rx_pcc
_jme_set_rx_pcc:                        ; @jme_set_rx_pcc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.jme_set_rx_pcc@PAGE
Lloh1:
	add	x9, x9, l_switch.table.jme_set_rx_pcc@PAGEOFF
	ldr	x9, [x9, x8]
Lloh2:
	adrp	x10, l_switch.table.jme_set_rx_pcc.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.jme_set_rx_pcc.1@PAGEOFF
	ldr	x8, [x10, x8]
Lloh4:
	adrp	x10, _JME_PCCRX0@GOTPAGE
Lloh5:
	ldr	x10, [x10, _JME_PCCRX0@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x10]
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _PCCRXTO_SHIFT@GOTPAGE
Lloh8:
	ldr	x10, [x10, _PCCRXTO_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh10:
	adrp	x10, _PCCRXTO_MASK@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PCCRXTO_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	and	w9, w9, w10
	ldr	w8, [x8]
Lloh13:
	adrp	x10, _PCCRX_SHIFT@GOTPAGE
Lloh14:
	ldr	x10, [x10, _PCCRX_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	lsl	w8, w8, w10
Lloh16:
	adrp	x10, _PCCRX_MASK@GOTPAGE
Lloh17:
	ldr	x10, [x10, _PCCRX_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	and	w8, w8, w10
	orr	w2, w8, w9
	mov	x0, x20
	bl	_jwrite32
LBB0_2:
	bl	_wmb
Lloh19:
	adrp	x8, _JME_FLAG_POLL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _JME_FLAG_POLL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	add	x1, x20, #4
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh22:
	adrp	x8, _rx_status@GOTPAGE
Lloh23:
	ldr	x8, [x8, _rx_status@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x3, l_.str@PAGE
Lloh26:
	add	x3, x3, l_.str@PAGEOFF
	ldr	w2, [x20]
	mov	x0, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_info
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_JME_PCCRX0,4,2                 ; @JME_PCCRX0
	.comm	_PCC_OFF_TO,4,2                 ; @PCC_OFF_TO
	.comm	_PCCRXTO_SHIFT,4,2              ; @PCCRXTO_SHIFT
	.comm	_PCCRXTO_MASK,4,2               ; @PCCRXTO_MASK
	.comm	_PCC_OFF_CNT,4,2                ; @PCC_OFF_CNT
	.comm	_PCCRX_SHIFT,4,2                ; @PCCRX_SHIFT
	.comm	_PCCRX_MASK,4,2                 ; @PCCRX_MASK
	.comm	_PCC_P1_TO,4,2                  ; @PCC_P1_TO
	.comm	_PCC_P1_CNT,4,2                 ; @PCC_P1_CNT
	.comm	_PCC_P2_TO,4,2                  ; @PCC_P2_TO
	.comm	_PCC_P2_CNT,4,2                 ; @PCC_P2_CNT
	.comm	_PCC_P3_TO,4,2                  ; @PCC_P3_TO
	.comm	_PCC_P3_CNT,4,2                 ; @PCC_P3_CNT
	.comm	_JME_FLAG_POLL,4,2              ; @JME_FLAG_POLL
	.comm	_rx_status,4,2                  ; @rx_status
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Switched to PCC_P%d\n"

	.no_dead_strip	_jme_set_rx_pcc
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.jme_set_rx_pcc
l_switch.table.jme_set_rx_pcc:
	.quad	_PCC_P3_TO
	.quad	_PCC_P2_TO
	.quad	_PCC_P1_TO
	.quad	_PCC_OFF_TO

	.p2align	3                               ; @switch.table.jme_set_rx_pcc.1
l_switch.table.jme_set_rx_pcc.1:
	.quad	_PCC_P3_CNT
	.quad	_PCC_P2_CNT
	.quad	_PCC_P1_CNT
	.quad	_PCC_OFF_CNT

.subsections_via_symbols
