	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_lengths
_add_lengths:                           ## @add_lengths
	.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	%esi, %esi
	cmovlel	%eax, %esi
	testl	%edx, %edx
	cmovlel	%eax, %edx
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%edx, %ecx
	cmpl	%ecx, %esi
	jg	LBB0_2
## %bb.1:
	addl	%esi, %edx
	movl	%edx, (%rdi)
	movl	$1, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_add_lengths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_lengths
_add_lengths:                           ; @add_lengths
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #0
	cmp	w1, #0
	csel	w9, w1, wzr, gt
	cmp	w2, #0
	csel	w10, w2, wzr, gt
Lloh0:
	adrp	x11, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x11, [x11, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	sub	w11, w11, w10
	cmp	w9, w11
	b.gt	LBB0_2
; %bb.1:
	add	w9, w10, w9
	str	w9, [x8]
	mov	w0, #1
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_add_lengths
.subsections_via_symbols
