	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps3vram_bind
_ps3vram_bind:                          ## @ps3vram_bind
	.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	%rdi, %r14
	callq	_ps3_system_bus_get_drvdata
	movq	%rax, %rbx
	movq	_UPLOAD_SUBCH@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_ps3vram_begin_ring
	movq	%rbx, %rdi
	movl	$825455363, %esi                ## imm = 0x31337303
	callq	_ps3vram_out_ring
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$384, %edx                      ## imm = 0x180
	movl	$3, %ecx
	callq	_ps3vram_begin_ring
	movq	_DMA_NOTIFIER_HANDLE_BASE@GOTPCREL(%rip), %r15
	movq	_NOTIFIER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	addl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ps3vram_out_ring
	movq	%rbx, %rdi
	movl	$-18022399, %esi                ## imm = 0xFEED0001
	callq	_ps3vram_out_ring
	movq	%rbx, %rdi
	movl	$-18022400, %esi                ## imm = 0xFEED0000
	callq	_ps3vram_out_ring
	movq	_DOWNLOAD_SUBCH@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_ps3vram_begin_ring
	movq	%rbx, %rdi
	movl	$825737438, %esi                ## imm = 0x3137C0DE
	callq	_ps3vram_out_ring
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$384, %edx                      ## imm = 0x180
	movl	$3, %ecx
	callq	_ps3vram_begin_ring
	movl	(%r12), %esi
	addl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ps3vram_out_ring
	movq	%rbx, %rdi
	movl	$-18022400, %esi                ## imm = 0xFEED0000
	callq	_ps3vram_out_ring
	movq	%rbx, %rdi
	movl	$-18022399, %esi                ## imm = 0xFEED0001
	callq	_ps3vram_out_ring
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ps3vram_fire_ring              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UPLOAD_SUBCH,4,2               ## @UPLOAD_SUBCH
	.comm	_DMA_NOTIFIER_HANDLE_BASE,4,2   ## @DMA_NOTIFIER_HANDLE_BASE
	.comm	_NOTIFIER,4,2                   ## @NOTIFIER
	.comm	_DOWNLOAD_SUBCH,4,2             ## @DOWNLOAD_SUBCH
	.no_dead_strip	_ps3vram_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps3vram_bind
_ps3vram_bind:                          ; @ps3vram_bind
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_ps3_system_bus_get_drvdata
	mov	x20, x0
Lloh0:
	adrp	x21, _UPLOAD_SUBCH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UPLOAD_SUBCH@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #0
	mov	w3, #1
	bl	_ps3vram_begin_ring
	mov	x0, x20
	mov	w1, #29443
	movk	w1, #12595, lsl #16
	bl	_ps3vram_out_ring
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #384
	mov	w3, #3
	bl	_ps3vram_begin_ring
Lloh2:
	adrp	x22, _DMA_NOTIFIER_HANDLE_BASE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DMA_NOTIFIER_HANDLE_BASE@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x23, _NOTIFIER@GOTPAGE
Lloh5:
	ldr	x23, [x23, _NOTIFIER@GOTPAGEOFF]
	ldr	w9, [x23]
	add	w1, w9, w8
	mov	x0, x20
	bl	_ps3vram_out_ring
	mov	w8, #-18022400
	orr	w21, w8, #0x1
	mov	x0, x20
	mov	x1, x21
	bl	_ps3vram_out_ring
	mov	x0, x20
	mov	w1, #-18022400
	bl	_ps3vram_out_ring
Lloh6:
	adrp	x24, _DOWNLOAD_SUBCH@GOTPAGE
Lloh7:
	ldr	x24, [x24, _DOWNLOAD_SUBCH@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #1
	bl	_ps3vram_begin_ring
	mov	x0, x20
	mov	w1, #49374
	movk	w1, #12599, lsl #16
	bl	_ps3vram_out_ring
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #384
	mov	w3, #3
	bl	_ps3vram_begin_ring
	ldr	w8, [x22]
	ldr	w9, [x23]
	add	w1, w9, w8
	mov	x0, x20
	bl	_ps3vram_out_ring
	mov	x0, x20
	mov	w1, #-18022400
	bl	_ps3vram_out_ring
	mov	x0, x20
	mov	x1, x21
	bl	_ps3vram_out_ring
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ps3vram_fire_ring
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_UPLOAD_SUBCH,4,2               ; @UPLOAD_SUBCH
	.comm	_DMA_NOTIFIER_HANDLE_BASE,4,2   ; @DMA_NOTIFIER_HANDLE_BASE
	.comm	_NOTIFIER,4,2                   ; @NOTIFIER
	.comm	_DOWNLOAD_SUBCH,4,2             ; @DOWNLOAD_SUBCH
	.no_dead_strip	_ps3vram_bind
.subsections_via_symbols
