	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdl_display                    ## -- Begin function sdl_display
	.p2align	4, 0x90
_sdl_display:                           ## @sdl_display
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_surface@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_SDL_UnlockSurface
	movl	(%rbx), %edi
	movq	_screen@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_rect@GOTPCREL(%rip), %rcx
	movq	%rcx, %rsi
	callq	_SDL_BlitSurface
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	callq	_SDL_Flip
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fatal_error                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_surface,4,2                    ## @surface
	.comm	_rect,4,2                       ## @rect
	.comm	_screen,4,2                     ## @screen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SDL blit failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdl_display                    ; -- Begin function sdl_display
	.p2align	2
_sdl_display:                           ; @sdl_display
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _surface@GOTPAGE
Lloh1:
	ldr	x19, [x19, _surface@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_SDL_UnlockSurface
	ldr	w0, [x19]
Lloh2:
	adrp	x19, _screen@GOTPAGE
Lloh3:
	ldr	x19, [x19, _screen@GOTPAGEOFF]
	ldr	w2, [x19]
Lloh4:
	adrp	x1, _rect@GOTPAGE
Lloh5:
	ldr	x1, [x1, _rect@GOTPAGEOFF]
	mov	x3, x1
	bl	_SDL_BlitSurface
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	w0, [x19]
	bl	_SDL_Flip
	tbnz	x0, #63, LBB0_3
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fatal_error
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_surface,4,2                    ; @surface
	.comm	_rect,4,2                       ; @rect
	.comm	_screen,4,2                     ; @screen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SDL blit failed"

.subsections_via_symbols
