	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap
_swap:                                  ## @swap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r8
	movq	(%rdx), %rcx
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	leaq	16(%r8), %r9
	leaq	8(%r8), %rax
	cmpq	%rsi, 16(%r8)
	cmoveq	%r9, %rax
	jmp	LBB0_3
LBB0_2:
	movq	%rdi, %rax
LBB0_3:
	movq	%rdx, (%rax)
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	leaq	16(%rcx), %rax
	leaq	8(%rcx), %rdi
	cmpq	%rdx, 16(%rcx)
	cmoveq	%rax, %rdi
LBB0_5:
	movq	%rsi, (%rdi)
	movq	%rcx, (%rsi)
	movq	%r8, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_swap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap
_swap:                                  ; @swap
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	x9, [x2]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x10, x8
	ldr	x11, [x10, #16]!
	sub	x12, x10, #8
	cmp	x11, x1
	csel	x10, x10, x12, eq
	str	x2, [x10]
	cbz	x9, LBB0_3
LBB0_2:
	mov	x10, x9
	ldr	x11, [x10, #16]!
	sub	x12, x10, #8
	cmp	x11, x2
	csel	x0, x10, x12, eq
LBB0_3:
	str	x1, [x0]
	str	x9, [x1]
	str	x8, [x2]
	ret
LBB0_4:
	mov	x10, x0
	str	x2, [x10]
	cbnz	x9, LBB0_2
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_swap
.subsections_via_symbols
