	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_chip_get_pmu             ## -- Begin function brcmf_chip_get_pmu
	.p2align	4, 0x90
_brcmf_chip_get_pmu:                    ## @brcmf_chip_get_pmu
	.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
	movq	%rdi, %rbx
	callq	_brcmf_chip_get_chipcommon
	movq	%rax, %r14
	cmpl	$35, (%rax)
	jl	LBB0_3
## %bb.1:
	movq	_BCMA_CC_CAP_EXT_AOB_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_BCMA_CORE_PMU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_brcmf_chip_get_core
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	movq	%r14, %rax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CC_CAP_EXT_AOB_PRESENT,4,2 ## @BCMA_CC_CAP_EXT_AOB_PRESENT
	.comm	_BCMA_CORE_PMU,4,2              ## @BCMA_CORE_PMU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_chip_get_pmu             ; -- Begin function brcmf_chip_get_pmu
	.p2align	2
_brcmf_chip_get_pmu:                    ; @brcmf_chip_get_pmu
	.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	x20, x0
	bl	_brcmf_chip_get_chipcommon
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #35
	b.lt	LBB0_3
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _BCMA_CC_CAP_EXT_AOB_PRESENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BCMA_CC_CAP_EXT_AOB_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _BCMA_CORE_PMU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCMA_CORE_PMU@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_brcmf_chip_get_core
	cbnz	x0, LBB0_4
LBB0_3:
	mov	x0, x19
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CC_CAP_EXT_AOB_PRESENT,4,2 ; @BCMA_CC_CAP_EXT_AOB_PRESENT
	.comm	_BCMA_CORE_PMU,4,2              ; @BCMA_CORE_PMU
.subsections_via_symbols
