	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function boundary_sub
_boundary_sub:                          ## @boundary_sub
	.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
	testl	%ecx, %ecx
	setne	%al
	negl	%eax
	testl	%ecx, %ecx
	movl	$1, %ecx
	cmovnsl	%eax, %ecx
	xorl	%eax, %eax
	testl	%esi, %esi
	setne	%al
	movl	$-1, %esi
	cmovsl	%esi, %eax
	subl	%edx, %edi
	movl	%edi, (%r8)
	addl	%ecx, %eax
	movl	%eax, (%r9)
	cmpl	$-2, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$2, %eax
	jne	LBB0_4
## %bb.2:
	movl	$1, %esi
LBB0_3:
	addl	%esi, (%r8)
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_boundary_sub
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function boundary_sub
_boundary_sub:                          ; @boundary_sub
	.cfi_startproc
; %bb.0:
	cmp	w1, #0
	cset	w8, ne
	csinv	w8, w8, wzr, ge
	cmp	w3, #0
	csetm	w9, ne
	csinc	w9, w9, wzr, ge
	sub	w10, w0, w2
	str	w10, [x4]
	add	w8, w9, w8
	str	w8, [x5]
	cmn	w8, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.2:
	mov	w8, #1
	b	LBB0_4
LBB0_3:
	mov	w8, #-1
LBB0_4:
	ldr	w9, [x4]
	add	w8, w9, w8
	str	w8, [x4]
LBB0_5:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_boundary_sub
.subsections_via_symbols
