	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_thread_texture_load      ## -- Begin function video_thread_texture_load
	.p2align	4, 0x90
_video_thread_texture_load:             ## @video_thread_texture_load
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$1, %edi
	callq	_video_driver_get_ptr
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -32(%rbp)
	movq	_CMD_CUSTOM_COMMAND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r14d, -32(%rbp)
	movq	%rbx, -40(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_video_thread_send_and_wait
	movl	-48(%rbp), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_CUSTOM_COMMAND,4,2         ## @CMD_CUSTOM_COMMAND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_thread_texture_load      ; -- Begin function video_thread_texture_load
	.p2align	2
_video_thread_texture_load:             ; @video_thread_texture_load
	.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	x20, x1
	mov	x19, x0
	mov	w0, #1
	bl	_video_driver_get_ptr
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
Lloh0:
	adrp	x8, _CMD_CUSTOM_COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_CUSTOM_COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp]
	cbz	x0, LBB0_2
; %bb.1:
	str	w20, [sp, #16]
	str	x19, [sp, #8]
	mov	x1, sp
	bl	_video_thread_send_and_wait
	ldr	w0, [sp]
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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_CUSTOM_COMMAND,4,2         ; @CMD_CUSTOM_COMMAND
.subsections_via_symbols
