	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_operands
_swap_operands:                         ## @swap_operands
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_i@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leal	-2(%rsi), %eax
	cmpl	$2, %eax
	jb	LBB0_3
## %bb.1:
	cmpl	$4, %esi
	jne	LBB0_6
## %bb.2:
	movl	$1, %edi
	movl	$2, %esi
	callq	_swap_2_operands
	movl	(%rbx), %esi
LBB0_3:
	decl	%esi
	xorl	%edi, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_swap_2_operands
	cmpl	$2, 4(%rbx)
	jne	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	movq	%rdx, (%rax)
	movq	8(%rbx), %rax
	movq	%rcx, 8(%rax)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_i,16,3                         ## @i
	.no_dead_strip	_swap_operands
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap_operands
_swap_operands:                         ; @swap_operands
	.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
Lloh0:
	adrp	x19, _i@GOTPAGE
Lloh1:
	ldr	x19, [x19, _i@GOTPAGEOFF]
	ldr	w8, [x19]
	sub	w9, w8, #2
	cmp	w9, #2
	b.lo	LBB0_3
; %bb.1:
	cmp	w8, #4
	b.ne	LBB0_6
; %bb.2:
	mov	w0, #1
	mov	w1, #2
	bl	_swap_2_operands
	ldr	w8, [x19]
LBB0_3:
	sub	w1, w8, #1
	mov	w0, #0
	bl	_swap_2_operands
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldp	x9, x10, [x8]
	str	x10, [x8]
	ldr	x8, [x19, #8]
	str	x9, [x8, #8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	_abort
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_i,16,3                         ; @i
	.no_dead_strip	_swap_operands
.subsections_via_symbols
