	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exchange
_exchange:                              ## @exchange
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	movl	4(%rsi), %r12d
	movl	8(%rsi), %ebx
	cmpl	%r12d, %ebx
	jle	LBB0_16
## %bb.1:
	cmpl	%eax, %r12d
	jle	LBB0_16
## %bb.2:
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %rcx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rcx,8), %rdx
	movl	%r12d, %ecx
	negl	%ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movl	%eax, %r13d
	movl	%ebx, %esi
	subl	%r12d, %esi
	movl	%r12d, %ecx
	subl	%eax, %ecx
	cmpl	%ecx, %esi
	jle	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
	subl	%ecx, %eax
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movslq	%r13d, %rax
	movl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	addl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	leal	(%rax,%rbx), %r15d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rax,8), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12,%r14,8), %rax
	leaq	(%r15,%r14), %rcx
	movslq	%ecx, %rsi
	movq	(%rbx,%rsi,8), %rcx
	movq	%rcx, (%r12,%r14,8)
	movq	%rax, (%rbx,%rsi,8)
	leal	(%r14,%r13), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_SWAP_FLAGS
	incq	%r14
	cmpq	%r14, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ebx
	movl	%r13d, %eax
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%r12d, %ebx
	jg	LBB0_14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %rax
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%rbx,8), %rax
	leal	(%r12,%rbx), %esi
	movq	(%rdx,%rbx,8), %rcx
	movq	%rcx, (%r14,%rbx,8)
	movq	%rax, (%rdx,%rbx,8)
	leal	(%rbx,%r13), %edi
	callq	_SWAP_FLAGS
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	movl	%r13d, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%r12d, %ebx
	jg	LBB0_14
	jmp	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ebx
	movl	%r13d, %eax
	cmpl	%r12d, %ebx
	jle	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %r12d
	jg	LBB0_3
LBB0_15:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	8(%rsi), %ebx
	movl	(%rsi), %eax
	movl	4(%rsi), %r12d
LBB0_16:
	movl	%ebx, %ecx
	subl	%r12d, %ecx
	addl	%eax, %ecx
	movl	%ecx, (%rsi)
	movl	%ebx, 4(%rsi)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___getopt_nonoption_flags,8,3   ## @__getopt_nonoption_flags
	.no_dead_strip	_exchange
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exchange
_exchange:                              ; @exchange
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldp	w26, w23, [x1]
	ldr	w27, [x1, #8]
	cmp	w27, w23
	ccmp	w23, w26, #4, gt
	b.le	LBB0_13
; %bb.1:
	mov	x20, x0
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	sxtw	x8, w23
	add	x8, x0, x8, lsl #3
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	neg	w8, w23
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_5 Depth 2
	sub	w24, w27, w23
	sub	w22, w23, w26
	cmp	w24, w22
	b.le	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w21, w26
	sub	w28, w27, w22
	cmp	w22, #0
	b.le	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, #0
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	add	w8, w8, w27
	add	w19, w8, w26
	add	x25, x20, w26, sxtw #3
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x8, x24, #3
	ldr	x9, [x25, x8]
	add	x1, x19, x24
	sxtw	x10, w1
	lsl	x10, x10, #3
	ldr	x11, [x20, x10]
	str	x11, [x25, x8]
	str	x9, [x20, x10]
	add	w0, w21, w24
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_SWAP_FLAGS
	add	x24, x24, #1
	cmp	x22, x24
	b.ne	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, x28
	mov	x26, x21
	cmp	w27, w23
	b.gt	LBB0_11
	b	LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w24, #1
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x24
	mov	x21, x26
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	mov	x22, x23
	add	x19, x20, w26, sxtw #3
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19]
	ldr	x9, [x25]
	str	x9, [x19], #8
	str	x8, [x25], #8
	mov	x0, x21
	mov	x1, x22
	bl	_SWAP_FLAGS
	add	w22, w22, #1
	add	w21, w21, #1
	subs	x28, x28, #1
	b.ne	LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w26, w26, w24
	cmp	w27, w23
	b.le	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w26
	b.gt	LBB0_2
LBB0_12:
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	ldp	w23, w27, [x1, #4]
	ldr	w26, [x1]
LBB0_13:
	sub	w8, w27, w23
	add	w8, w8, w26
	stp	w8, w27, [x1]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	___getopt_nonoption_flags,8,3   ; @__getopt_nonoption_flags
	.no_dead_strip	_exchange
.subsections_via_symbols
