	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wined3d_cs_exec_query_issue
_wined3d_cs_exec_query_issue:           ## @wined3d_cs_exec_query_issue
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rsi), %r14
	movq	8(%r14), %rax
	movl	(%rsi), %esi
	movq	%r14, %rdi
	callq	*(%rax)
	cmpl	$0, 4(%r15)
	je	LBB0_9
## %bb.1:
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	4(%r14), %r12
	movq	%r12, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_add_tail                  ## TAILCALL
LBB0_4:
	movq	_WINED3DISSUE_BEGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.5:
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_6
LBB0_8:
	movq	_WINED3DISSUE_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_7
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	callq	_list_remove
	movq	%r15, %rdi
	callq	_list_init
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_InterlockedIncrement           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3DISSUE_BEGIN,4,2         ## @WINED3DISSUE_BEGIN
	.comm	_WINED3DISSUE_END,4,2           ## @WINED3DISSUE_END
	.no_dead_strip	_wined3d_cs_exec_query_issue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wined3d_cs_exec_query_issue
_wined3d_cs_exec_query_issue:           ; @wined3d_cs_exec_query_issue
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x1, #8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x1]
	mov	x0, x19
	blr	x8
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_7
; %bb.1:
	cbz	x0, LBB0_4
; %bb.2:
	add	x22, x19, #4
	mov	x0, x22
	bl	_list_empty
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	x1, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_list_add_tail
LBB0_4:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _WINED3DISSUE_BEGIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3DISSUE_BEGIN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	add	x21, x19, #4
	mov	x0, x21
	bl	_list_empty
	cbz	x0, LBB0_8
LBB0_6:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _WINED3DISSUE_END@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3DISSUE_END@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x21
	bl	_list_remove
	mov	x0, x21
	bl	_list_init
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_InterlockedIncrement
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3DISSUE_BEGIN,4,2         ; @WINED3DISSUE_BEGIN
	.comm	_WINED3DISSUE_END,4,2           ; @WINED3DISSUE_END
	.no_dead_strip	_wined3d_cs_exec_query_issue
.subsections_via_symbols
