	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esil_swap
_esil_swap:                             ## @esil_swap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.2:
	movl	8(%rdi), %edx
	cmpl	$2, %edx
	jl	LBB0_6
## %bb.3:
	leal	-1(%rdx), %esi
	movq	(%rcx,%rsi,8), %r8
	testq	%r8, %r8
	je	LBB0_6
## %bb.4:
	addl	$-2, %edx
	movq	(%rcx,%rdx,8), %r9
	testq	%r9, %r9
	je	LBB0_6
## %bb.5:
	movq	%r9, (%rcx,%rsi,8)
	movq	(%rdi), %rax
	movq	%r8, (%rax,%rdx,8)
	movl	$1, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_esil_swap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esil_swap
_esil_swap:                             ; @esil_swap
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w10, [x0, #8]
	subs	w9, w10, #2
	b.lt	LBB0_7
; %bb.3:
	sub	w11, w10, #1
	ldr	x10, [x8, w11, uxtw #3]
	cbz	x10, LBB0_7
; %bb.4:
	ldr	x12, [x8, w9, uxtw #3]
	cbz	x12, LBB0_7
; %bb.5:
	str	x12, [x8, x11, lsl #3]
	ldr	x8, [x0]
	str	x10, [x8, x9, lsl #3]
	mov	w0, #1
LBB0_6:
	ret
LBB0_7:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_esil_swap
.subsections_via_symbols
