	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_chip_sb_resetcore
_brcmf_chip_sb_resetcore:               ## @brcmf_chip_sb_resetcore
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	movl	(%rdi), %r14d
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_brcmf_chip_sb_coredisable
	movq	8(%rbx), %rax
	movq	8(%rax), %r12
	movl	(%rbx), %r15d
	movq	_sbtmstatelow@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movq	_SSB_TMSLOW_FGC@GOTPCREL(%rip), %rsi
	movq	_SSB_TMSLOW_CLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rsi), %edx
	movq	_SSB_TMSLOW_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	*%r12
	movq	8(%rbx), %rax
	movq	(%rax), %r12
	movl	(%rbx), %r15d
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	*%r12
	movl	$1, %edi
	callq	_udelay
	movq	8(%rbx), %rax
	movq	(%rax), %r13
	movl	(%rbx), %r15d
	movq	_sbtmstatehigh@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	*%r13
	movq	_SSB_TMSHIGH_SERR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	8(%rax), %r13
	movl	(%rbx), %r15d
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	*%r13
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %r12
	movl	(%rbx), %r15d
	movq	_sbimstate@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	*%r12
	movl	%eax, %r12d
	movq	_SSB_IMSTATE_IBE@GOTPCREL(%rip), %rcx
	movq	_SSB_IMSTATE_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testl	%r12d, %eax
	je	LBB0_4
## %bb.3:
	notl	%eax
	andl	%eax, %r12d
	movq	8(%rbx), %rax
	movq	%r13, %rcx
	movq	8(%rax), %r13
	movl	(%rbx), %r15d
	movl	(%rcx), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	*%r13
LBB0_4:
	movq	8(%rbx), %rax
	movq	8(%rax), %r12
	movl	(%rbx), %r15d
	movq	_sbtmstatelow@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movq	_SSB_TMSLOW_CLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SSB_TMSLOW_FGC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	*%r12
	movq	8(%rbx), %rax
	movq	(%rax), %r12
	movl	(%rbx), %r15d
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	*%r12
	movl	$1, %edi
	callq	_udelay
	movq	8(%rbx), %rax
	movq	8(%rax), %r12
	movl	(%rbx), %r15d
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movq	_SSB_TMSLOW_CLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	*%r12
	movq	8(%rbx), %rax
	movq	(%rax), %r15
	movl	(%rbx), %ebx
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_CORE_SB
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	*%r15
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sbtmstatelow,4,2               ## @sbtmstatelow
	.comm	_SSB_TMSLOW_FGC,4,2             ## @SSB_TMSLOW_FGC
	.comm	_SSB_TMSLOW_CLOCK,4,2           ## @SSB_TMSLOW_CLOCK
	.comm	_SSB_TMSLOW_RESET,4,2           ## @SSB_TMSLOW_RESET
	.comm	_sbtmstatehigh,4,2              ## @sbtmstatehigh
	.comm	_SSB_TMSHIGH_SERR,4,2           ## @SSB_TMSHIGH_SERR
	.comm	_sbimstate,4,2                  ## @sbimstate
	.comm	_SSB_IMSTATE_IBE,4,2            ## @SSB_IMSTATE_IBE
	.comm	_SSB_IMSTATE_TO,4,2             ## @SSB_IMSTATE_TO
	.no_dead_strip	_brcmf_chip_sb_resetcore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_chip_sb_resetcore
_brcmf_chip_sb_resetcore:               ; @brcmf_chip_sb_resetcore
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x22, [x0, #8]
	ldr	w19, [x0]
	mov	w1, #0
	mov	w2, #0
	bl	_brcmf_chip_sb_coredisable
	ldr	x8, [x22, #8]
	ldr	x21, [x8, #8]
	ldr	w20, [x22]
Lloh0:
	adrp	x23, _sbtmstatelow@GOTPAGE
Lloh1:
	ldr	x23, [x23, _sbtmstatelow@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
Lloh2:
	adrp	x25, _SSB_TMSLOW_FGC@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SSB_TMSLOW_FGC@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh4:
	adrp	x24, _SSB_TMSLOW_CLOCK@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SSB_TMSLOW_CLOCK@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SSB_TMSLOW_RESET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SSB_TMSLOW_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	blr	x21
	ldr	x8, [x22, #8]
	ldr	x21, [x8]
	ldr	w20, [x22]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	mov	x0, x20
	blr	x21
	mov	w0, #1
	bl	_udelay
	ldr	x8, [x22, #8]
	ldr	x26, [x8]
	ldr	w20, [x22]
Lloh9:
	adrp	x21, _sbtmstatehigh@GOTPAGE
Lloh10:
	ldr	x21, [x21, _sbtmstatehigh@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	mov	x0, x20
	blr	x26
Lloh11:
	adrp	x8, _SSB_TMSHIGH_SERR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSB_TMSHIGH_SERR@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x22, #8]
	ldr	x26, [x8, #8]
	ldr	w20, [x22]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	blr	x26
LBB0_2:
	ldr	x8, [x22, #8]
	ldr	x21, [x8]
	ldr	w20, [x22]
Lloh14:
	adrp	x26, _sbimstate@GOTPAGE
Lloh15:
	ldr	x26, [x26, _sbimstate@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	mov	x0, x20
	blr	x21
Lloh16:
	adrp	x8, _SSB_IMSTATE_IBE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSB_IMSTATE_IBE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _SSB_IMSTATE_TO@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SSB_IMSTATE_TO@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	bic	w20, w0, w8
	ldr	x8, [x22, #8]
	ldr	x27, [x8, #8]
	ldr	w21, [x22]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	blr	x27
LBB0_4:
	ldr	x8, [x22, #8]
	ldr	x21, [x8, #8]
	ldr	w20, [x22]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	ldr	w8, [x25]
	ldr	w9, [x24]
	orr	w2, w9, w8
	mov	x0, x20
	blr	x21
	ldr	x8, [x22, #8]
	ldr	x21, [x8]
	ldr	w20, [x22]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	mov	x0, x20
	blr	x21
	mov	w0, #1
	bl	_udelay
	ldr	x8, [x22, #8]
	ldr	x21, [x8, #8]
	ldr	w20, [x22]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	ldr	w2, [x24]
	mov	x0, x20
	blr	x21
	ldr	x8, [x22, #8]
	ldr	x21, [x8]
	ldr	w20, [x22]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_CORE_SB
	mov	x1, x0
	mov	x0, x20
	blr	x21
	mov	w0, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_udelay
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_sbtmstatelow,4,2               ; @sbtmstatelow
	.comm	_SSB_TMSLOW_FGC,4,2             ; @SSB_TMSLOW_FGC
	.comm	_SSB_TMSLOW_CLOCK,4,2           ; @SSB_TMSLOW_CLOCK
	.comm	_SSB_TMSLOW_RESET,4,2           ; @SSB_TMSLOW_RESET
	.comm	_sbtmstatehigh,4,2              ; @sbtmstatehigh
	.comm	_SSB_TMSHIGH_SERR,4,2           ; @SSB_TMSHIGH_SERR
	.comm	_sbimstate,4,2                  ; @sbimstate
	.comm	_SSB_IMSTATE_IBE,4,2            ; @SSB_IMSTATE_IBE
	.comm	_SSB_IMSTATE_TO,4,2             ; @SSB_IMSTATE_TO
	.no_dead_strip	_brcmf_chip_sb_resetcore
.subsections_via_symbols
