	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function buf_size_valid_signed
_buf_size_valid_signed:                 ## @buf_size_valid_signed
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_BUF_SIZE_MAX@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	subl	(%r15), %eax
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	setle	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpl	%r14d, (%r15)
	setg	%dil
	callq	_likely
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUF_SIZE_MAX,4,2               ## @BUF_SIZE_MAX
	.no_dead_strip	_buf_size_valid_signed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function buf_size_valid_signed
_buf_size_valid_signed:                 ; @buf_size_valid_signed
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _BUF_SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BUF_SIZE_MAX@GOTPAGEOFF]
	ldr	w8, [x20]
	neg	w8, w8
	cmp	w8, w0
	cset	w0, le
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, w19
	cset	w0, gt
	bl	_likely
	cmp	x0, #0
	cset	w0, ne
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BUF_SIZE_MAX,4,2               ; @BUF_SIZE_MAX
	.no_dead_strip	_buf_size_valid_signed
.subsections_via_symbols
