	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_chip_ai_iscoreup
_brcmf_chip_ai_iscoreup:                ## @brcmf_chip_ai_iscoreup
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	8(%r15), %rax
	movl	(%r15), %edi
	movq	_BCMA_IOCTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%r14), %rsi
	callq	*(%rax)
	movq	_BCMA_IOCTL_FGC@GOTPCREL(%rip), %rcx
	movq	_BCMA_IOCTL_CLK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	(%rcx), %ebx
	orl	%edx, %ebx
	andl	%eax, %ebx
	xorl	%edx, %ebx
	movq	8(%r15), %rax
	movl	(%r15), %edi
	movq	_BCMA_RESET_CTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%r14), %rsi
	callq	*(%rax)
	movq	_BCMA_RESET_CTL_RESET@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	xorl	%ecx, %ecx
	orl	%ebx, %eax
	sete	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_IOCTL,8,3                 ## @BCMA_IOCTL
	.comm	_BCMA_IOCTL_FGC,4,2             ## @BCMA_IOCTL_FGC
	.comm	_BCMA_IOCTL_CLK,4,2             ## @BCMA_IOCTL_CLK
	.comm	_BCMA_RESET_CTL,8,3             ## @BCMA_RESET_CTL
	.comm	_BCMA_RESET_CTL_RESET,4,2       ## @BCMA_RESET_CTL_RESET
	.no_dead_strip	_brcmf_chip_ai_iscoreup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_chip_ai_iscoreup
_brcmf_chip_ai_iscoreup:                ; @brcmf_chip_ai_iscoreup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	x8, x20, [x0]
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	ldr	w0, [x20]
Lloh0:
	adrp	x10, _BCMA_IOCTL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BCMA_IOCTL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x1, x10, x8
	blr	x9
Lloh3:
	adrp	x8, _BCMA_IOCTL_FGC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCMA_IOCTL_FGC@GOTPAGEOFF]
Lloh5:
	adrp	x9, _BCMA_IOCTL_CLK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BCMA_IOCTL_CLK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w21, [x9]
	orr	w8, w21, w8
	and	w22, w8, w0
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x20]
	ldr	x9, [x19]
Lloh9:
	adrp	x10, _BCMA_RESET_CTL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BCMA_RESET_CTL@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	x1, x10, x9
	blr	x8
Lloh12:
	adrp	x8, _BCMA_RESET_CTL_RESET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BCMA_RESET_CTL_RESET@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	ccmp	w22, w21, #0, eq
	cset	w0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_IOCTL,8,3                 ; @BCMA_IOCTL
	.comm	_BCMA_IOCTL_FGC,4,2             ; @BCMA_IOCTL_FGC
	.comm	_BCMA_IOCTL_CLK,4,2             ; @BCMA_IOCTL_CLK
	.comm	_BCMA_RESET_CTL,8,3             ; @BCMA_RESET_CTL
	.comm	_BCMA_RESET_CTL_RESET,4,2       ; @BCMA_RESET_CTL_RESET
	.no_dead_strip	_brcmf_chip_ai_iscoreup
.subsections_via_symbols
