	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_dof_reset
_dt_dof_reset:                          ## @dt_dof_reset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %r15d
	xorl	%edi, %edi
	cmpq	%rbx, 88(%rbx)
	sete	%dil
	callq	_assert
	movq	%r14, 80(%rbx)
	movq	$0, 72(%rbx)
	movq	_DOF_SECIDX_NONE@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, 64(%rbx)
	movq	56(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_free
	movq	48(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_free
	leal	(,%r15,4), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_dt_alloc
	movq	%rax, 56(%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_dt_alloc
	movq	%rax, 48(%rbx)
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	movq	%rax, %rcx
	cmpq	$0, 56(%rbx)
	movl	$-1, %eax
	je	LBB0_11
## %bb.2:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.3:
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.4:
	cmpl	$1, %r15d
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movl	%r15d, %ecx
	andl	$-2, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdx
	movq	56(%rbx), %rsi
	movq	%rdx, (%rsi,%rax,8)
	movq	(%r12), %rdx
	movq	48(%rbx), %rsi
	movq	%rdx, (%rsi,%rax,8)
	movq	(%r12), %rdx
	movq	56(%rbx), %rsi
	movq	%rdx, 8(%rsi,%rax,8)
	movq	(%r12), %rdx
	movq	48(%rbx), %rsi
	movq	%rdx, 8(%rsi,%rax,8)
	addq	$2, %rax
	cmpq	%rax, %rcx
	jne	LBB0_7
LBB0_8:
	testb	$1, %r15b
	je	LBB0_10
## %bb.9:
	movq	(%r12), %rcx
	movq	56(%rbx), %rdx
	movq	%rcx, (%rdx,%rax,8)
	movq	(%r12), %rcx
	movq	48(%rbx), %rdx
	movq	%rcx, (%rdx,%rax,8)
LBB0_10:
	leaq	8(%rbx), %r14
	leaq	44(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	leaq	40(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	leaq	36(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	leaq	32(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	leaq	28(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	leaq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	leaq	20(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	leaq	16(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	leaq	12(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dt_buf_reset
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dt_buf_reset
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DOF_SECIDX_NONE,8,3            ## @DOF_SECIDX_NONE
	.no_dead_strip	_dt_dof_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_dof_reset
_dt_dof_reset:                          ; @dt_dof_reset
	.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
	ldr	w22, [x0]
	ldr	x8, [x0, #88]
	cmp	x8, x0
	cset	w0, eq
	bl	_assert
	str	x20, [x19, #80]
Lloh0:
	adrp	x21, _DOF_SECIDX_NONE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DOF_SECIDX_NONE@GOTPAGEOFF]
	ldr	x8, [x21]
	stp	x8, xzr, [x19, #64]
	ldr	x1, [x19, #56]
	mov	x0, x19
	bl	_dt_free
	ldr	x1, [x19, #48]
	mov	x0, x19
	bl	_dt_free
	lsl	w20, w22, #2
	mov	x0, x19
	mov	x1, x20
	bl	_dt_alloc
	str	x0, [x19, #56]
	mov	x0, x19
	mov	x1, x20
	bl	_dt_alloc
	str	x0, [x19, #48]
	cbz	w22, LBB0_6
; %bb.1:
	mov	x8, x0
	ldr	x9, [x19, #56]
	mov	w0, #-1
	cbz	x9, LBB0_7
; %bb.2:
	cbz	x8, LBB0_7
; %bb.3:
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x8, #0
	lsl	x9, x22, #3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21]
	ldr	x11, [x19, #56]
	str	x10, [x11, x8]
	ldr	x10, [x21]
	ldr	x11, [x19, #48]
	str	x10, [x11, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_5
LBB0_6:
	add	x20, x19, #8
	add	x1, x19, #44
	mov	x0, x19
	bl	_dt_buf_reset
	add	x1, x19, #40
	mov	x0, x19
	bl	_dt_buf_reset
	add	x1, x19, #36
	mov	x0, x19
	bl	_dt_buf_reset
	add	x1, x19, #32
	mov	x0, x19
	bl	_dt_buf_reset
	add	x1, x19, #28
	mov	x0, x19
	bl	_dt_buf_reset
	add	x1, x19, #24
	mov	x0, x19
	bl	_dt_buf_reset
	add	x1, x19, #20
	mov	x0, x19
	bl	_dt_buf_reset
	add	x1, x19, #16
	mov	x0, x19
	bl	_dt_buf_reset
	add	x1, x19, #12
	mov	x0, x19
	bl	_dt_buf_reset
	mov	x0, x19
	mov	x1, x20
	bl	_dt_buf_reset
	mov	w0, #0
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DOF_SECIDX_NONE,8,3            ; @DOF_SECIDX_NONE
	.no_dead_strip	_dt_dof_reset
.subsections_via_symbols
