	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function buf_align
_buf_align:                             ## @buf_align
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	-1(%rsi), %eax
	cltq
	notq	%rax
	andq	%rdi, %rax
	movslq	%edx, %rcx
	addq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rdi, %rcx
	movslq	%esi, %rdx
	cmovbq	%rdx, %rax
	addq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_buf_align
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function buf_align
_buf_align:                             ; @buf_align
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	sub	w8, w1, #1
	sxtw	x8, w8
	bic	x8, x0, x8
	add	x8, x8, w2, sxtw
	sxtw	x9, w1
	cmp	x8, x0
	csel	x9, x9, xzr, lo
	add	x0, x8, x9
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_buf_align
.subsections_via_symbols
