	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_taskpool_create            ## -- Begin function isc_taskpool_create
	.p2align	4, 0x90
_isc_taskpool_create:                   ## @isc_taskpool_create
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	$0, -48(%rbp)
	xorl	%edi, %edi
	testl	%edx, %edx
	setne	%dil
	callq	_INSIST
	leaq	-48(%rbp), %r8
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	callq	_alloc_pool
	movq	%rax, %rbx
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_8
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r12d
	shlq	$2, %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rdx
	addq	%r14, %rdx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_isc_task_create
	movq	%rax, %rbx
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_isc_task_setname
	addq	$4, %r14
	cmpq	%r14, %r12
	jne	LBB0_3
## %bb.6:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_7:
	movq	-48(%rbp), %rax
	movq	%rax, (%r14)
	jmp	LBB0_8
LBB0_4:
	leaq	-48(%rbp), %rdi
	callq	_isc_taskpool_destroy
LBB0_8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"taskpool"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_taskpool_create            ; -- Begin function isc_taskpool_create
	.p2align	2
_isc_taskpool_create:                   ; @isc_taskpool_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	str	xzr, [sp, #8]
	cmp	w2, #0
	cset	w0, ne
	bl	_INSIST
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	bl	_alloc_pool
	mov	x22, x0
Lloh0:
	adrp	x24, _ISC_R_SUCCESS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ISC_R_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
	cbz	w23, LBB0_6
; %bb.2:
	mov	x25, #0
	mov	w8, w23
	lsl	x26, x8, #2
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	add	x2, x8, x25
	mov	x0, x21
	mov	x1, x20
	bl	_isc_task_create
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	ldr	w0, [x8, x25]
	mov	x1, x23
	mov	x2, #0
	bl	_isc_task_setname
	add	x25, x25, #4
	cmp	x26, x25
	b.ne	LBB0_3
; %bb.5:
	ldr	x22, [x24]
LBB0_6:
	ldr	x8, [sp, #8]
	str	x8, [x19]
	b	LBB0_8
LBB0_7:
	mov	x22, x0
	add	x0, sp, #8
	bl	_isc_taskpool_destroy
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"taskpool"

.subsections_via_symbols
