	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_log_create                 ## -- Begin function isc_log_create
	.p2align	4, 0x90
_isc_log_create:                        ## @isc_log_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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_REQUIRE
	xorl	%edi, %edi
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%r14)
	sete	%dil
LBB0_2:
	callq	_REQUIRE
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	sete	%dil
	jmp	LBB0_5
LBB0_3:
	movl	$1, %edi
LBB0_5:
	callq	_REQUIRE
	movq	%r12, %rdi
	movl	$72, %esi
	callq	_isc_mem_get
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%r12, 64(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
	movl	16(%rbx), %edi
	callq	_ISC_LIST_INIT
	leaq	12(%rbx), %rdi
	callq	_isc_mutex_init
	movq	%rax, %r13
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_7
## %bb.8:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_LCTX_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_isc_categories@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isc_log_registercategories
	movq	_isc_modules@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isc_log_registermodules
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_isc_logconfig_create
	movq	%rax, %r12
	jmp	LBB0_10
LBB0_9:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_ISC_R_NOMEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_10:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %r14
	movq	(%r14), %r13
	cmpq	%r13, %r12
	jne	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rdi
	callq	_sync_channellist
	movq	%rax, %r12
	movq	(%r14), %r13
LBB0_12:
	movq	-48(%rbp), %rax
	cmpq	%r13, %r12
	jne	LBB0_15
## %bb.13:
	movq	%rax, (%rbx)
	movq	-64(%rbp), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%r15, %r15
	je	LBB0_20
## %bb.14:
	movq	-48(%rbp), %rax
	movq	%rax, (%r15)
	jmp	LBB0_20
LBB0_15:
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	-48(%rbp), %rdi
	callq	_isc_logconfig_destroy
LBB0_17:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.18:
	leaq	-64(%rbp), %rdi
	callq	_isc_log_destroy
LBB0_19:
	movq	%r12, %r13
	jmp	LBB0_20
LBB0_7:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$72, %edx
	callq	_isc_mem_put
LBB0_20:
	movq	%r13, %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
	.comm	_LCTX_MAGIC,4,2                 ## @LCTX_MAGIC
	.comm	_isc_categories,4,2             ## @isc_categories
	.comm	_isc_modules,4,2                ## @isc_modules
	.comm	_ISC_R_NOMEMORY,8,3             ## @ISC_R_NOMEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_log_create                 ; -- Begin function isc_log_create
	.p2align	2
_isc_log_create:                        ; @isc_log_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	str	xzr, [sp]
	cmp	x0, #0
	cset	w0, ne
	bl	_REQUIRE
	cbz	x20, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, eq
	bl	_REQUIRE
	cbz	x19, LBB0_4
LBB0_2:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	bl	_REQUIRE
	cbnz	x19, LBB0_2
LBB0_4:
	mov	w0, #1
LBB0_5:
	bl	_REQUIRE
	mov	x0, x22
	mov	w1, #72
	bl	_isc_mem_get
	mov	x21, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x24, _ISC_R_SUCCESS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ISC_R_SUCCESS@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.6:
	movi.2d	v0, #0000000000000000
	stur	q0, [x21, #24]
	stur	q0, [x21, #40]
	stp	xzr, x22, [x21, #56]
	ldr	w0, [x21, #16]
	bl	_ISC_LIST_INIT
	add	x0, x21, #12
	bl	_isc_mutex_init
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.7:
Lloh2:
	adrp	x8, _LCTX_MAGIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LCTX_MAGIC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x21, #8]
Lloh5:
	adrp	x8, _isc_categories@GOTPAGE
Lloh6:
	ldr	x8, [x8, _isc_categories@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_isc_log_registercategories
Lloh8:
	adrp	x8, _isc_modules@GOTPAGE
Lloh9:
	ldr	x8, [x8, _isc_modules@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_isc_log_registermodules
	mov	x1, sp
	mov	x0, x21
	bl	_isc_logconfig_create
	mov	x22, x0
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _ISC_R_NOMEMORY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISC_R_NOMEMORY@GOTPAGEOFF]
Lloh13:
	ldr	x22, [x8]
LBB0_9:
	ldr	x23, [x24]
	cmp	x22, x23
	b.ne	LBB0_11
; %bb.10:
	ldr	x0, [sp]
	bl	_sync_channellist
	mov	x22, x0
	ldr	x23, [x24]
LBB0_11:
	ldr	x8, [sp]
	cmp	x22, x23
	b.ne	LBB0_14
; %bb.12:
	str	x8, [x21]
	ldr	x8, [sp, #8]
	str	x8, [x20]
	cbz	x19, LBB0_20
; %bb.13:
	ldr	x8, [sp]
	str	x8, [x19]
	b	LBB0_20
LBB0_14:
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, sp
	bl	_isc_logconfig_destroy
LBB0_16:
	cbz	x21, LBB0_18
; %bb.17:
	add	x0, sp, #8
	bl	_isc_log_destroy
LBB0_18:
	mov	x23, x22
	b	LBB0_20
LBB0_19:
	mov	x23, x0
	mov	x0, x22
	mov	x1, x21
	mov	w2, #72
	bl	_isc_mem_put
LBB0_20:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.comm	_LCTX_MAGIC,4,2                 ; @LCTX_MAGIC
	.comm	_isc_categories,4,2             ; @isc_categories
	.comm	_isc_modules,4,2                ; @isc_modules
	.comm	_ISC_R_NOMEMORY,8,3             ; @ISC_R_NOMEMORY
.subsections_via_symbols
