	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_layer_y                    ## -- Begin function set_layer_y
	.p2align	4, 0x90
_set_layer_y:                           ## @set_layer_y
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_vdp2_interlace@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edi, %eax
	sarl	%eax
	movl	%eax, %edi
LBB0_2:
	movl	%edi, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vdp2_interlace,8,3             ## @vdp2_interlace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_layer_y                    ; -- Begin function set_layer_y
	.p2align	2
_set_layer_y:                           ; @set_layer_y
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _vdp2_interlace@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vdp2_interlace@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	w0, #0
	cinc	w9, w0, lt
	asr	w9, w9, #1
	cmp	x8, #0
	csel	w8, w0, w9, eq
	str	w8, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vdp2_interlace,8,3             ; @vdp2_interlace
.subsections_via_symbols
