	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function display_callback
_display_callback:                      ## @display_callback
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	$24, -40(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -20(%rbp)
	movq	_DISPLAY_STRIDE_IN_PIXELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_DISPLAY_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_DISPLAY_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_DISPLAY_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_SCE_DISPLAY_SETBUF_NEXTFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sceDisplaySetFrameBuf
	movq	_vblank_wait@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_sceDisplayWaitVblankStart
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DISPLAY_STRIDE_IN_PIXELS,4,2   ## @DISPLAY_STRIDE_IN_PIXELS
	.comm	_DISPLAY_PIXEL_FORMAT,4,2       ## @DISPLAY_PIXEL_FORMAT
	.comm	_DISPLAY_WIDTH,4,2              ## @DISPLAY_WIDTH
	.comm	_DISPLAY_HEIGHT,4,2             ## @DISPLAY_HEIGHT
	.comm	_SCE_DISPLAY_SETBUF_NEXTFRAME,4,2 ## @SCE_DISPLAY_SETBUF_NEXTFRAME
	.comm	_vblank_wait,8,3                ## @vblank_wait
	.no_dead_strip	_display_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function display_callback
_display_callback:                      ; @display_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	mov	w20, #24
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _DISPLAY_STRIDE_IN_PIXELS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DISPLAY_STRIDE_IN_PIXELS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
Lloh3:
	adrp	x8, _DISPLAY_PIXEL_FORMAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DISPLAY_PIXEL_FORMAT@GOTPAGEOFF]
Lloh5:
	adrp	x9, _DISPLAY_WIDTH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DISPLAY_WIDTH@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh9:
	adrp	x8, _DISPLAY_HEIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DISPLAY_HEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w20, w8, [sp, #8]
Lloh12:
	adrp	x8, _SCE_DISPLAY_SETBUF_NEXTFRAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCE_DISPLAY_SETBUF_NEXTFRAME@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_sceDisplaySetFrameBuf
Lloh15:
	adrp	x8, _vblank_wait@GOTPAGE
Lloh16:
	ldr	x8, [x8, _vblank_wait@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_sceDisplayWaitVblankStart
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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	_DISPLAY_STRIDE_IN_PIXELS,4,2   ; @DISPLAY_STRIDE_IN_PIXELS
	.comm	_DISPLAY_PIXEL_FORMAT,4,2       ; @DISPLAY_PIXEL_FORMAT
	.comm	_DISPLAY_WIDTH,4,2              ; @DISPLAY_WIDTH
	.comm	_DISPLAY_HEIGHT,4,2             ; @DISPLAY_HEIGHT
	.comm	_SCE_DISPLAY_SETBUF_NEXTFRAME,4,2 ; @SCE_DISPLAY_SETBUF_NEXTFRAME
	.comm	_vblank_wait,8,3                ; @vblank_wait
	.no_dead_strip	_display_callback
.subsections_via_symbols
