	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_present_parameters_from_wined3d_swapchain_desc ## -- Begin function present_parameters_from_wined3d_swapchain_desc
	.p2align	4, 0x90
_present_parameters_from_wined3d_swapchain_desc: ## @present_parameters_from_wined3d_swapchain_desc
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	52(%rsi), %eax
	movl	%eax, 68(%rdi)
	movl	48(%rsi), %eax
	movl	%eax, 64(%rdi)
	movl	44(%rsi), %edi
	callq	_d3dformat_from_wined3dformat
	movq	%rax, 56(%rbx)
	movl	40(%r14), %eax
	movl	%eax, 48(%rbx)
	movl	36(%r14), %eax
	movl	%eax, 44(%rbx)
	movl	32(%r14), %eax
	movl	%eax, 40(%rbx)
	movl	28(%r14), %edi
	callq	_d3dswapeffect_from_wined3dswapeffect
	movl	%eax, 36(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 28(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	12(%r14), %edi
	callq	_d3dformat_from_wined3dformat
	movq	%rax, 16(%rbx)
	movq	_D3DPRESENTFLAGS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	movl	%eax, (%rbx)
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D3DPRESENTFLAGS_MASK,4,2       ## @D3DPRESENTFLAGS_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_present_parameters_from_wined3d_swapchain_desc ; -- Begin function present_parameters_from_wined3d_swapchain_desc
	.p2align	2
_present_parameters_from_wined3d_swapchain_desc: ; @present_parameters_from_wined3d_swapchain_desc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	d0, [x1, #48]
	str	d0, [x0, #64]
	ldr	w0, [x1, #44]
	bl	_d3dformat_from_wined3dformat
	str	x0, [x20, #56]
	ldr	w8, [x19, #40]
	str	w8, [x20, #48]
	ldr	d0, [x19, #32]
	str	d0, [x20, #40]
	ldr	w0, [x19, #28]
	bl	_d3dswapeffect_from_wined3dswapeffect
	ldr	w8, [x19, #24]
	stp	w8, w0, [x20, #32]
	ldr	d0, [x19, #16]
	str	d0, [x20, #24]
	ldr	w0, [x19, #12]
	bl	_d3dformat_from_wined3dformat
	str	x0, [x20, #16]
Lloh0:
	adrp	x8, _D3DPRESENTFLAGS_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D3DPRESENTFLAGS_MASK@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w9
	str	w8, [x20]
	ldur	d0, [x19, #4]
	stur	d0, [x20, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_D3DPRESENTFLAGS_MASK,4,2       ; @D3DPRESENTFLAGS_MASK
.subsections_via_symbols
