	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pump_io
_pump_io:                               ## @pump_io
	.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
	movl	%esi, %r15d
	testl	%esi, %esi
	jle	LBB0_2
## %bb.1:
	leaq	(,%r15,8), %rsi
	movq	%r14, %rdi
	callq	___bzero
LBB0_2:
	movl	%ebx, %esi
	callq	_ALLOC_ARRAY
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_pump_io_round
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	callq	_free
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.5:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rax,8), %rcx
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rax
	cmpq	%rax, %r15
	jne	LBB0_6
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movl	$-1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	_pump_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pump_io
_pump_io:                               ; @pump_io
	.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
	mov	w21, w1
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	lsl	x1, x21, #3
	mov	x0, x19
	bl	_bzero
LBB0_2:
	mov	x1, x20
	bl	_ALLOC_ARRAY
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_pump_io_round
	cbnz	x0, LBB0_3
; %bb.4:
	bl	_free
	cmp	w20, #1
	b.lt	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	cbnz	x8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x19, #8
	subs	x21, x21, #1
	b.ne	LBB0_5
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x9, _errno@GOTPAGE
Lloh1:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh2:
	str	x8, [x9]
	mov	w0, #-1
LBB0_9:
	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 AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	_pump_io
.subsections_via_symbols
