	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hr_ddraw_from_wined3d          ## -- Begin function hr_ddraw_from_wined3d
	.p2align	4, 0x90
_hr_ddraw_from_wined3d:                 ## @hr_ddraw_from_wined3d
	.cfi_startproc
## %bb.0:
	movl	%edi, %eax
	cmpl	$128, %edi
	jne	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DDERR_INVALIDPARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDERR_INVALIDPARAMS,4,2        ## @DDERR_INVALIDPARAMS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hr_ddraw_from_wined3d          ; -- Begin function hr_ddraw_from_wined3d
	.p2align	2
_hr_ddraw_from_wined3d:                 ; @hr_ddraw_from_wined3d
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DDERR_INVALIDPARAMS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDERR_INVALIDPARAMS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #128
	csel	w0, w8, w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DDERR_INVALIDPARAMS,4,2        ; @DDERR_INVALIDPARAMS
.subsections_via_symbols
