	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function padBufferToInt
_padBufferToInt:                        ## @padBufferToInt
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_INTALIGN
	movl	%eax, %r14d
	movl	(%rbx), %r15d
	movl	%eax, %esi
	subl	%r15d, %esi
	movq	%rbx, %rdi
	callq	_reserveFromBuffer
	subl	%r15d, %r14d
	jle	LBB0_9
## %bb.1:
	movslq	%eax, %r8
	movl	%r14d, %esi
	leaq	-1(%rsi), %rdx
	movl	%esi, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_9
LBB0_3:
	andl	$-4, %esi
	negq	%rsi
	xorl	%edx, %edx
	movq	%r8, %rdi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	movb	$0, (%rcx,%rdi)
	movq	8(%rbx), %rcx
	movb	$0, 1(%rcx,%rdi)
	movq	8(%rbx), %rcx
	movb	$0, 2(%rcx,%rdi)
	movq	8(%rbx), %rcx
	movb	$0, 3(%rcx,%rdi)
	addq	$4, %rdi
	addq	$-4, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_4
## %bb.5:
	negq	%rdx
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:
	addq	%r8, %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	movb	$0, (%rcx,%rdx)
	incq	%rdx
	decq	%rax
	jne	LBB0_8
LBB0_9:
	movswl	%r14w, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_padBufferToInt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function padBufferToInt
_padBufferToInt:                        ; @padBufferToInt
	.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
	ldr	w0, [x0]
	bl	_INTALIGN
	ldr	w8, [x19]
	sub	w20, w0, w8
	mov	x0, x19
	mov	x1, x20
	bl	_reserveFromBuffer
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	sxtw	x8, w0
	mov	x9, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #8]
	strb	wzr, [x10, x8]
	add	x8, x8, #1
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_3:
	sxth	w0, w20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_padBufferToInt
.subsections_via_symbols
