	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LockCode                       ## -- Begin function LockCode
	.p2align	4, 0x90
_LockCode:                              ## @LockCode
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	__my_cs
	leaq	-24(%rbp), %rsi
	movl	%eax, %edi
	callq	___dpmi_get_segment_base_address
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	$0, -32(%rbp)
	movl	%r14d, -48(%rbp)
	addq	-24(%rbp), %rbx
	movq	%rbx, -40(%rbp)
	leaq	-48(%rbp), %rdi
	callq	___dpmi_lock_linear_region
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	sete	%al
	negl	%eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LockCode                       ; -- Begin function LockCode
	.p2align	2
_LockCode:                              ; @LockCode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	__my_cs
	add	x1, sp, #24
	bl	___dpmi_get_segment_base_address
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	str	w20, [sp]
	ldr	x8, [sp, #24]
	add	x8, x8, x19
	stp	x8, xzr, [sp, #8]
	mov	x0, sp
	bl	___dpmi_lock_linear_region
	cmn	w0, #1
	csetm	w0, eq
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
