	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psb_spank                      ## -- Begin function psb_spank
	.p2align	4, 0x90
_psb_spank:                             ## @psb_spank
	.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	__PSB_CS_RESET_BIF_RESET@GOTPCREL(%rip), %rcx
	movq	__PSB_CS_RESET_DPM_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	__PSB_CS_RESET_TA_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	__PSB_CS_RESET_USE_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rdi, %r14
	movq	__PSB_CS_RESET_ISP_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	__PSB_CS_RESET_TSP_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	__PSB_CS_RESET_TWOD_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PSB_CR_SOFT_RESET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_PSB_WSGX32
	movl	(%rbx), %edi
	callq	_PSB_RSGX32
	movl	$1, %edi
	callq	_msleep
	movl	(%rbx), %esi
	xorl	%edi, %edi
	callq	_PSB_WSGX32
	xorl	%eax, %eax
	callq	_wmb
	movq	_PSB_CR_BIF_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_PSB_RSGX32
	movq	__PSB_CB_CTRL_CLEAR_FAULT@GOTPCREL(%rip), %r15
	orl	(%r15), %eax
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_PSB_WSGX32
	xorl	%eax, %eax
	callq	_wmb
	movl	(%rbx), %edi
	callq	_PSB_RSGX32
	movl	$1, %edi
	callq	_msleep
	movl	(%rbx), %edi
	callq	_PSB_RSGX32
	movl	(%r15), %edi
	notl	%edi
	andl	%eax, %edi
	movl	(%rbx), %esi
	callq	_PSB_WSGX32
	movl	(%rbx), %edi
	callq	_PSB_RSGX32
	movl	(%r14), %edi
	movq	_PSB_CR_BIF_TWOD_REQ_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PSB_WSGX32                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__PSB_CS_RESET_BIF_RESET,4,2    ## @_PSB_CS_RESET_BIF_RESET
	.comm	__PSB_CS_RESET_DPM_RESET,4,2    ## @_PSB_CS_RESET_DPM_RESET
	.comm	__PSB_CS_RESET_TA_RESET,4,2     ## @_PSB_CS_RESET_TA_RESET
	.comm	__PSB_CS_RESET_USE_RESET,4,2    ## @_PSB_CS_RESET_USE_RESET
	.comm	__PSB_CS_RESET_ISP_RESET,4,2    ## @_PSB_CS_RESET_ISP_RESET
	.comm	__PSB_CS_RESET_TSP_RESET,4,2    ## @_PSB_CS_RESET_TSP_RESET
	.comm	__PSB_CS_RESET_TWOD_RESET,4,2   ## @_PSB_CS_RESET_TWOD_RESET
	.comm	_PSB_CR_SOFT_RESET,4,2          ## @PSB_CR_SOFT_RESET
	.comm	_PSB_CR_BIF_CTRL,4,2            ## @PSB_CR_BIF_CTRL
	.comm	__PSB_CB_CTRL_CLEAR_FAULT,4,2   ## @_PSB_CB_CTRL_CLEAR_FAULT
	.comm	_PSB_CR_BIF_TWOD_REQ_BASE,4,2   ## @PSB_CR_BIF_TWOD_REQ_BASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psb_spank                      ; -- Begin function psb_spank
	.p2align	2
_psb_spank:                             ; @psb_spank
	.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
Lloh0:
	adrp	x8, __PSB_CS_RESET_BIF_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PSB_CS_RESET_BIF_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, __PSB_CS_RESET_DPM_RESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, __PSB_CS_RESET_DPM_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, __PSB_CS_RESET_TA_RESET@GOTPAGE
Lloh7:
	ldr	x9, [x9, __PSB_CS_RESET_TA_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, __PSB_CS_RESET_USE_RESET@GOTPAGE
Lloh10:
	ldr	x10, [x10, __PSB_CS_RESET_USE_RESET@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, __PSB_CS_RESET_ISP_RESET@GOTPAGE
Lloh13:
	ldr	x9, [x9, __PSB_CS_RESET_ISP_RESET@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, __PSB_CS_RESET_TSP_RESET@GOTPAGE
Lloh16:
	ldr	x9, [x9, __PSB_CS_RESET_TSP_RESET@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, __PSB_CS_RESET_TWOD_RESET@GOTPAGE
Lloh19:
	ldr	x10, [x10, __PSB_CS_RESET_TWOD_RESET@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh20:
	ldr	w9, [x10]
	orr	w0, w8, w9
Lloh21:
	adrp	x20, _PSB_CR_SOFT_RESET@GOTPAGE
Lloh22:
	ldr	x20, [x20, _PSB_CR_SOFT_RESET@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_PSB_WSGX32
	ldr	w0, [x20]
	bl	_PSB_RSGX32
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	w0, #0
	bl	_PSB_WSGX32
	bl	_wmb
Lloh23:
	adrp	x20, _PSB_CR_BIF_CTRL@GOTPAGE
Lloh24:
	ldr	x20, [x20, _PSB_CR_BIF_CTRL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_PSB_RSGX32
Lloh25:
	adrp	x21, __PSB_CB_CTRL_CLEAR_FAULT@GOTPAGE
Lloh26:
	ldr	x21, [x21, __PSB_CB_CTRL_CLEAR_FAULT@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w0, w8, w0
	ldr	w1, [x20]
	bl	_PSB_WSGX32
	bl	_wmb
	ldr	w0, [x20]
	bl	_PSB_RSGX32
	mov	w0, #1
	bl	_msleep
	ldr	w0, [x20]
	bl	_PSB_RSGX32
	ldr	w8, [x21]
	bic	w0, w0, w8
	ldr	w1, [x20]
	bl	_PSB_WSGX32
	ldr	w0, [x20]
	bl	_PSB_RSGX32
	ldr	w0, [x19]
Lloh27:
	adrp	x8, _PSB_CR_BIF_TWOD_REQ_BASE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PSB_CR_BIF_TWOD_REQ_BASE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	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
	b	_PSB_WSGX32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__PSB_CS_RESET_BIF_RESET,4,2    ; @_PSB_CS_RESET_BIF_RESET
	.comm	__PSB_CS_RESET_DPM_RESET,4,2    ; @_PSB_CS_RESET_DPM_RESET
	.comm	__PSB_CS_RESET_TA_RESET,4,2     ; @_PSB_CS_RESET_TA_RESET
	.comm	__PSB_CS_RESET_USE_RESET,4,2    ; @_PSB_CS_RESET_USE_RESET
	.comm	__PSB_CS_RESET_ISP_RESET,4,2    ; @_PSB_CS_RESET_ISP_RESET
	.comm	__PSB_CS_RESET_TSP_RESET,4,2    ; @_PSB_CS_RESET_TSP_RESET
	.comm	__PSB_CS_RESET_TWOD_RESET,4,2   ; @_PSB_CS_RESET_TWOD_RESET
	.comm	_PSB_CR_SOFT_RESET,4,2          ; @PSB_CR_SOFT_RESET
	.comm	_PSB_CR_BIF_CTRL,4,2            ; @PSB_CR_BIF_CTRL
	.comm	__PSB_CB_CTRL_CLEAR_FAULT,4,2   ; @_PSB_CB_CTRL_CLEAR_FAULT
	.comm	_PSB_CR_BIF_TWOD_REQ_BASE,4,2   ; @PSB_CR_BIF_TWOD_REQ_BASE
.subsections_via_symbols
