	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_log_destroy                ## -- Begin function isc_log_destroy
	.p2align	4, 0x90
_isc_log_destroy:                       ## @isc_log_destroy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rdi
	callq	_VALID_CONTEXT
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_REQUIRE
	movq	(%r14), %r12
	movq	16(%r12), %r15
	movq	80(%r12), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, -48(%rbp)
	movq	$0, 80(%r12)
	leaq	-48(%rbp), %rdi
	callq	_isc_logconfig_destroy
LBB0_5:
	leaq	72(%r12), %rdi
	callq	_DESTROYLOCK
	movl	68(%r12), %edi
	callq	_ISC_LIST_HEAD
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	movq	_link@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	68(%r12), %edi
	movl	(%r13), %edx
	movq	%rbx, %rsi
	callq	_ISC_LIST_UNLINK
	movl	64(%rbx), %edi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	89(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_isc_mem_put
	movl	68(%r12), %edi
	callq	_ISC_LIST_HEAD
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
LBB0_8:
	movq	(%r12), %rax
	movb	$0, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r12)
	movups	%xmm0, 24(%r12)
	movups	%xmm0, 8(%r12)
	movq	$0, 56(%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$88, %edx
	callq	_isc_mem_put
	movq	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_link,4,2                       ## @link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_log_destroy                ; -- Begin function isc_log_destroy
	.p2align	2
_isc_log_destroy:                       ; @isc_log_destroy
	.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, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x19]
	bl	_VALID_CONTEXT
	cmp	x0, #0
	cset	w0, ne
LBB0_2:
	bl	_REQUIRE
	ldr	x20, [x19]
	ldr	x21, [x20, #16]
	ldr	x8, [x20, #80]
	cbz	x8, LBB0_4
; %bb.3:
	str	x8, [sp, #8]
	str	xzr, [x20, #80]
	add	x0, sp, #8
	bl	_isc_logconfig_destroy
LBB0_4:
	add	x0, x20, #72
	bl	_DESTROYLOCK
	ldr	w0, [x20, #68]
	bl	_ISC_LIST_HEAD
	cbz	x0, LBB0_7
; %bb.5:
	mov	x22, x0
Lloh0:
	adrp	x23, _link@GOTPAGE
Lloh1:
	ldr	x23, [x23, _link@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #68]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_ISC_LIST_UNLINK
	ldr	w0, [x22, #64]
	bl	_strlen
	add	w2, w0, #89
	mov	x0, x21
	mov	x1, x22
	bl	_isc_mem_put
	ldr	w0, [x20, #68]
	bl	_ISC_LIST_HEAD
	mov	x22, x0
	cbnz	x0, LBB0_6
LBB0_7:
	ldr	x8, [x20]
	strb	wzr, [x8]
	str	xzr, [x20, #56]
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #40]
	stur	q0, [x20, #24]
	stur	q0, [x20, #8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #88
	bl	_isc_mem_put
	str	xzr, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_link,4,2                       ; @link
.subsections_via_symbols
