	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split3
_split3:                                ## @split3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ifd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	_fstat
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	_chunks@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	-24(%rbp), %ebx
	cmpl	%ebx, %ecx
	jle	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	callq	_errx
	movl	(%r14), %ecx
LBB0_4:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movq	_bytecnt@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_split1                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ifd,4,2                        ## @ifd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stat"

	.comm	_chunks,4,2                     ## @chunks
L_.str.1:                               ## @.str.1
	.asciz	"can't split into more than %d files"

	.comm	_bytecnt,4,2                    ## @bytecnt
	.no_dead_strip	_split3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split3
_split3:                                ; @split3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _ifd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifd@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_fstat
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
Lloh5:
	adrp	x20, _chunks@GOTPAGE
Lloh6:
	ldr	x20, [x20, _chunks@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w19, [sp, #8]
	cmp	w8, w19
	b.le	LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
	ldr	w8, [x20]
LBB0_4:
	sdiv	w8, w19, w8
Lloh9:
	adrp	x9, _bytecnt@GOTPAGE
Lloh10:
	ldr	x9, [x9, _bytecnt@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_split1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ifd,4,2                        ; @ifd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stat"

	.comm	_chunks,4,2                     ; @chunks
l_.str.1:                               ; @.str.1
	.asciz	"can't split into more than %d files"

	.comm	_bytecnt,4,2                    ; @bytecnt
	.no_dead_strip	_split3
.subsections_via_symbols
