	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_context_apply_fbo_state_blit   ## -- Begin function context_apply_fbo_state_blit
	.p2align	4, 0x90
_context_apply_fbo_state_blit:          ## @context_apply_fbo_state_blit
	.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
	movl	%r8d, %r12d
	movq	%rcx, %r14
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	%r13, %rdi
	callq	_surface_get_sub_resource_idx
	movq	(%rbx), %rdx
	movl	%eax, 4(%rdx)
	movl	$1, (%rdx)
	jmp	LBB0_3
LBB0_1:
	movq	(%rbx), %rdx
LBB0_3:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r14, %rcx
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_context_apply_fbo_state        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_context_apply_fbo_state_blit   ; -- Begin function context_apply_fbo_state_blit
	.p2align	2
_context_apply_fbo_state_blit:          ; @context_apply_fbo_state_blit
	.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, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x0, [x0]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	cbz	x23, LBB0_2
; %bb.1:
	ldr	x8, [x23]
	ldr	x9, [x22]
	str	x8, [x9, #8]
	mov	x0, x23
	bl	_surface_get_sub_resource_idx
	ldr	x2, [x22]
	mov	w8, #1
	stp	w8, w0, [x2]
	b	LBB0_3
LBB0_2:
	ldr	x2, [x22]
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, 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	_context_apply_fbo_state
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
