	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function overlap
_overlap:                               ## @overlap
	.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	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_T_CALLED
	movslq	%r12d, %rdi
	callq	_T
	testq	%r14, %r14
	je	LBB0_8
## %bb.1:
	testq	%r15, %r15
	je	LBB0_8
## %bb.2:
	movq	_curses@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__nc_lock_global
	movslq	12(%r14), %rdi
	callq	_T
	movslq	12(%r15), %rdi
	callq	_T
	movl	4(%r14), %esi
	movl	4(%r15), %eax
	movl	12(%r15), %ecx
	addl	%eax, %ecx
	cmpl	%esi, %ecx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jl	LBB0_7
## %bb.3:
	movl	12(%r14), %edx
	addl	%esi, %edx
	cmpl	%edx, %eax
	jg	LBB0_7
## %bb.4:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r13d
	movl	(%r15), %r12d
	movl	8(%r15), %edi
	addl	%r12d, %edi
	cmpl	%r13d, %edi
	jl	LBB0_7
## %bb.5:
	movl	8(%r14), %ebx
	addl	%r13d, %ebx
	cmpl	%ebx, %r12d
	jg	LBB0_7
## %bb.6:
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%r12d, %esi
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	callq	_max
	subl	%r13d, %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_max
	subl	%ebx, %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_max
	subl	%r12d, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_max
	subl	%ebx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_min
	movl	%eax, %r13d
	subl	%r12d, %r13d
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_min
                                        ## kill: def $eax killed $eax def $rax
	subl	%ebx, %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	pushq	%r13
	callq	_copywin
	addq	$32, %rsp
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_7:
	movq	_curses@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__nc_unlock_global
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_8:
	movl	%ebx, %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_returnCode                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR,4,2                        ## @ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"overlap(%p,%p,%d)"

	.comm	_curses,4,2                     ## @curses
	.no_dead_strip	_overlap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function overlap
_overlap:                               ; @overlap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_T_CALLED
	sxtw	x0, w20
	bl	_T
	cbz	x21, LBB0_8
; %bb.1:
	cbz	x19, LBB0_8
; %bb.2:
Lloh5:
	adrp	x8, _curses@GOTPAGE
Lloh6:
	ldr	x8, [x8, _curses@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	__nc_lock_global
	ldrsw	x0, [x21, #12]
	bl	_T
	ldrsw	x0, [x19, #12]
	bl	_T
	ldr	w26, [x21, #4]
	ldr	w23, [x19, #4]
	ldr	w8, [x19, #12]
	add	w9, w8, w23
	cmp	w9, w26
	b.lt	LBB0_7
; %bb.3:
	ldr	w8, [x21, #12]
	add	w10, w8, w26
	cmp	w23, w10
	b.gt	LBB0_7
; %bb.4:
	ldr	w25, [x21]
	ldr	w27, [x19]
	ldr	w8, [x19, #8]
	add	w28, w8, w27
	cmp	w28, w25
	b.lt	LBB0_7
; %bb.5:
	ldr	w8, [x21, #8]
	add	w24, w8, w25
	cmp	w27, w24
	b.gt	LBB0_7
; %bb.6:
	stp	w10, w9, [sp, #4]               ; 8-byte Folded Spill
	mov	x0, x25
	mov	x1, x27
	bl	_max
	sub	w8, w0, w25
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x26
	mov	x1, x23
	bl	_max
	sub	w22, w0, w26
	mov	x0, x25
	mov	x1, x27
	bl	_max
	sub	w25, w0, w27
	mov	x0, x26
	mov	x1, x23
	bl	_max
	sub	w26, w0, w23
	mov	x0, x24
	mov	x1, x28
	bl	_min
	sub	w24, w0, w27
	ldp	w0, w1, [sp, #4]                ; 8-byte Folded Reload
	bl	_min
	sub	w7, w0, w23
	str	w20, [sp]
	mov	x0, x21
	mov	x1, x19
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	mov	x3, x22
	mov	x4, x25
	mov	x5, x26
	mov	x6, x24
	bl	_copywin
	mov	x22, x0
LBB0_7:
Lloh8:
	adrp	x8, _curses@GOTPAGE
Lloh9:
	ldr	x8, [x8, _curses@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	__nc_unlock_global
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_returnCode
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR,4,2                        ; @ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"overlap(%p,%p,%d)"

	.comm	_curses,4,2                     ; @curses
	.no_dead_strip	_overlap
.subsections_via_symbols
