	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d3d8_set_nonblock_state
_d3d8_set_nonblock_state:               ## @d3d8_set_nonblock_state
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testl	%esi, %esi
	sete	%al
	movl	%eax, 8(%rdi)
	movl	$1, (%rdi)
	popq	%rbp
	jmp	_d3d8_restore                   ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D3D8_PRESENTATIONINTERVAL,4,2  ## @D3D8_PRESENTATIONINTERVAL
	.comm	_D3DPRESENT_INTERVAL_IMMEDIATE,4,2 ## @D3DPRESENT_INTERVAL_IMMEDIATE
	.comm	_D3DPRESENT_INTERVAL_ONE,4,2    ## @D3DPRESENT_INTERVAL_ONE
	.no_dead_strip	_d3d8_set_nonblock_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d3d8_set_nonblock_state
_d3d8_set_nonblock_state:               ; @d3d8_set_nonblock_state
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	cmp	w1, #0
	cset	w8, eq
	str	w8, [x0, #8]
	mov	w8, #1
	str	w8, [x0]
	b	_d3d8_restore
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_D3D8_PRESENTATIONINTERVAL,4,2  ; @D3D8_PRESENTATIONINTERVAL
	.comm	_D3DPRESENT_INTERVAL_IMMEDIATE,4,2 ; @D3DPRESENT_INTERVAL_IMMEDIATE
	.comm	_D3DPRESENT_INTERVAL_ONE,4,2    ; @D3DPRESENT_INTERVAL_ONE
	.no_dead_strip	_d3d8_set_nonblock_state
.subsections_via_symbols
