	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pad_buffer
_pad_buffer:                            ## @pad_buffer
	.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	%esi, %ebx
	movq	%rdi, %r14
	callq	_ctf_buf_cur
	cltd
	idivl	%ebx
	movl	%ebx, %eax
	subl	%edx, %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movl	%edx, %ebx
	leaq	_pad_buffer.pad(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$8, %ebx
	movl	$8, %edx
	cmovll	%ebx, %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ctf_buf_write
	leal	-8(%rbx), %eax
	cmpl	$8, %ebx
	movl	%eax, %ebx
	ja	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_pad_buffer.pad:                        ## @pad_buffer.pad
	.space	8

	.no_dead_strip	_pad_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pad_buffer
_pad_buffer:                            ; @pad_buffer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	_ctf_buf_cur
	sdiv	w8, w0, w20
	neg	w9, w0
	madd	w8, w8, w20, w9
	add	w8, w20, w8
	sdiv	w9, w8, w20
	msub	w21, w9, w20, w8
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #8
Lloh0:
	adrp	x20, _pad_buffer.pad@PAGE
Lloh1:
	add	x20, x20, _pad_buffer.pad@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, #8
	csel	w2, w21, w22, lt
	mov	x0, x19
	mov	x1, x20
	bl	_ctf_buf_write
	subs	w21, w21, #8
	b.hi	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_pad_buffer.pad:                        ; @pad_buffer.pad
	.space	8

	.no_dead_strip	_pad_buffer
.subsections_via_symbols
