	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcma_pmu_init                  ## -- Begin function bcma_pmu_init
	.p2align	4, 0x90
_bcma_pmu_init:                         ## @bcma_pmu_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
	cmpl	$1, (%rdi)
	movq	_BCMA_CC_PMU_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BCMA_CC_PMU_CTL_NOILPONW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jne	LBB0_2
## %bb.1:
	notl	%edx
	movq	%rbx, %rdi
	callq	_bcma_cc_mask32
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_bcma_cc_set32
LBB0_3:
	movq	%rbx, %rdi
	callq	_bcma_pmu_resources_init
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bcma_pmu_workarounds           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CC_PMU_CTL,4,2            ## @BCMA_CC_PMU_CTL
	.comm	_BCMA_CC_PMU_CTL_NOILPONW,4,2   ## @BCMA_CC_PMU_CTL_NOILPONW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcma_pmu_init                  ; -- Begin function bcma_pmu_init
	.p2align	2
_bcma_pmu_init:                         ; @bcma_pmu_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_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCMA_CC_PMU_CTL@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BCMA_CC_PMU_CTL_NOILPONW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCMA_CC_PMU_CTL_NOILPONW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	cmp	w9, #1
	b.ne	LBB0_2
; %bb.1:
	mvn	w2, w2
	mov	x0, x19
	bl	_bcma_cc_mask32
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_bcma_cc_set32
LBB0_3:
	mov	x0, x19
	bl	_bcma_pmu_resources_init
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bcma_pmu_workarounds
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CC_PMU_CTL,4,2            ; @BCMA_CC_PMU_CTL
	.comm	_BCMA_CC_PMU_CTL_NOILPONW,4,2   ; @BCMA_CC_PMU_CTL_NOILPONW
.subsections_via_symbols
