	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcma_pmu_early_init            ## -- Begin function bcma_pmu_early_init
	.p2align	4, 0x90
_bcma_pmu_early_init:                   ## @bcma_pmu_early_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_BCMA_CC_PMU_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bcma_cc_read32
	movq	_BCMA_CC_PMU_CAP_REVISION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movl	%edx, (%rbx)
	movq	8(%rbx), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bcma_debug                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CC_PMU_CAP,4,2            ## @BCMA_CC_PMU_CAP
	.comm	_BCMA_CC_PMU_CAP_REVISION,4,2   ## @BCMA_CC_PMU_CAP_REVISION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found rev %u PMU (capabilities 0x%08X)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcma_pmu_early_init            ; -- Begin function bcma_pmu_early_init
	.p2align	2
_bcma_pmu_early_init:                   ; @bcma_pmu_early_init
	.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, x0
Lloh0:
	adrp	x8, _BCMA_CC_PMU_CAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCMA_CC_PMU_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_bcma_cc_read32
	mov	x3, x0
Lloh3:
	adrp	x8, _BCMA_CC_PMU_CAP_REVISION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCMA_CC_PMU_CAP_REVISION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w2, w8, w0
	str	w2, [x19]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bcma_debug
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CC_PMU_CAP,4,2            ; @BCMA_CC_PMU_CAP
	.comm	_BCMA_CC_PMU_CAP_REVISION,4,2   ; @BCMA_CC_PMU_CAP_REVISION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found rev %u PMU (capabilities 0x%08X)\n"

.subsections_via_symbols
