	.file	"extr_dtrace.c_dtrace_dof_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dtrace_dof_create, @function
dtrace_dof_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 4
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, 32
	call	roundup@PLT
	lea	rdi, dtrace_lock[rip]
	mov	r8, rax
	mov	eax, DWORD PTR DTRACEOPT_MAX[rip]
	lea	eax, [rax+rax*2]
	lea	ebp, 48[r8+rax*4]
	call	MUTEX_HELD@PLT
	mov	edi, eax
	call	ASSERT@PLT
	mov	esi, DWORD PTR KM_SLEEP[rip]
	mov	edi, ebp
	call	kmem_zalloc@PLT
	mov	ecx, DWORD PTR DOF_MAG_MAG0[rip]
	mov	edi, 32
	mov	rdx, QWORD PTR DOF_ID_MAG0[rip]
	mov	r12, rax
	mov	rax, QWORD PTR 40[rax]
	mov	esi, 4
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_MAG1[rip]
	mov	ecx, DWORD PTR DOF_MAG_MAG1[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_MAG2[rip]
	mov	ecx, DWORD PTR DOF_MAG_MAG2[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_MAG3[rip]
	mov	ecx, DWORD PTR DOF_MAG_MAG3[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_MODEL[rip]
	mov	ecx, DWORD PTR DOF_MODEL_NATIVE[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_ENCODING[rip]
	mov	ecx, DWORD PTR DOF_ENCODE_NATIVE[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_VERSION[rip]
	mov	ecx, DWORD PTR DOF_VERSION[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_DIFVERS[rip]
	mov	ecx, DWORD PTR DIF_VERSION[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_DIFIREG[rip]
	mov	ecx, DWORD PTR DIF_DIR_NREGS[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rdx, QWORD PTR DOF_ID_DIFTREG[rip]
	mov	ecx, DWORD PTR DIF_DTR_NREGS[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	movabs	rax, 137438953520
	mov	QWORD PTR 32[r12], 0
	mov	QWORD PTR [r12], rax
	movabs	rax, 206158430209
	mov	QWORD PTR 8[r12], rax
	mov	eax, DWORD PTR DOF_SECT_OPTDESC[rip]
	mov	DWORD PTR 16[r12], ebp
	mov	DWORD PTR 72[r12], eax
	mov	eax, DWORD PTR DOF_SECF_LOAD[rip]
	mov	DWORD PTR 20[r12], ebp
	lea	rbp, 48[r12]
	mov	DWORD PTR 68[r12], eax
	movabs	rax, 51539607556
	mov	QWORD PTR 24[r12], 0
	mov	QWORD PTR 48[r12], rax
	call	roundup@PLT
	mov	edi, DWORD PTR DTRACEOPT_MAX[rip]
	add	rax, rbp
	mov	rdx, rax
	sub	rdx, r12
	mov	QWORD PTR 56[r12], rdx
	lea	edx, [rdi+rdi*2]
	sal	edx, 2
	mov	DWORD PTR 64[r12], edx
	test	edi, edi
	jle	.L1
	mov	r8d, DWORD PTR DOF_SECIDX_NONE[rip]
	mov	rcx, QWORD PTR [rbx]
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR [rax], edx
	add	edx, 1
	add	rax, 12
	add	rcx, 4
	mov	DWORD PTR -4[rax], r8d
	mov	esi, DWORD PTR -4[rcx]
	mov	DWORD PTR -8[rax], esi
	cmp	edi, edx
	jne	.L3
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dtrace_dof_create, .-dtrace_dof_create
	.comm	dtrace_lock,4,4
	.comm	KM_SLEEP,4,4
	.comm	DTRACEOPT_MAX,4,4
	.comm	DOF_VERSION,4,4
	.comm	DOF_SECT_OPTDESC,4,4
	.comm	DOF_SECIDX_NONE,4,4
	.comm	DOF_SECF_LOAD,4,4
	.comm	DOF_MODEL_NATIVE,4,4
	.comm	DOF_MAG_MAG3,4,4
	.comm	DOF_MAG_MAG2,4,4
	.comm	DOF_MAG_MAG1,4,4
	.comm	DOF_MAG_MAG0,4,4
	.comm	DOF_ID_VERSION,8,8
	.comm	DOF_ID_MODEL,8,8
	.comm	DOF_ID_MAG3,8,8
	.comm	DOF_ID_MAG2,8,8
	.comm	DOF_ID_MAG1,8,8
	.comm	DOF_ID_MAG0,8,8
	.comm	DOF_ID_ENCODING,8,8
	.comm	DOF_ID_DIFVERS,8,8
	.comm	DOF_ID_DIFTREG,8,8
	.comm	DOF_ID_DIFIREG,8,8
	.comm	DOF_ENCODE_NATIVE,4,4
	.comm	DIF_VERSION,4,4
	.comm	DIF_DTR_NREGS,4,4
	.comm	DIF_DIR_NREGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dtrace.c_dtrace_dof_create.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dtrace_dof_create, %function
dtrace_dof_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #4
	mov	r6, r0
	mov	r0, #24
	bl	roundup
	mov	r2, r0
	ldr	r8, .L7
	ldr	r0, .L7+4
	ldr	r3, [r8]
	ldr	r9, .L7+8
	add	r3, r3, r3, lsl #1
	add	r3, r2, r3, lsl #2
	add	r7, r3, #36
	bl	MUTEX_HELD
	bl	ASSERT
	ldr	r3, .L7+12
	mov	r0, r7
	ldr	r1, [r3]
	bl	kmem_zalloc
	mov	r5, r0
	ldr	r1, .L7+16
	ldr	r0, .L7+20
	ldr	r2, [r5, #32]
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	ip, .L7+24
	str	r0, [r2, r1, lsl #2]
	ldr	r10, [r9]
	ldr	r9, [ip]
	mov	r4, #0
	str	r10, [r2, r9, lsl #2]
	mov	r3, #36
	ldr	r10, .L7+28
	ldr	r9, .L7+32
	ldr	r10, [r10]
	ldr	r9, [r9]
	mov	lr, #1
	str	r10, [r2, r9, lsl #2]
	mov	r1, #4
	mov	r0, #24
	mov	ip, #12
	ldr	r10, .L7+36
	ldr	r9, .L7+40
	ldr	r10, [r10]
	ldr	r9, [r9]
	str	r10, [r2, r9, lsl #2]
	ldr	r10, .L7+44
	ldr	r9, .L7+48
	ldr	r10, [r10]
	ldr	r9, [r9]
	str	r10, [r2, r9, lsl #2]
	ldr	r10, .L7+52
	ldr	r9, .L7+56
	ldr	r10, [r10]
	ldr	r9, [r9]
	str	r10, [r2, r9, lsl #2]
	ldr	r10, .L7+60
	ldr	r9, .L7+64
	ldr	r10, [r10]
	ldr	r9, [r9]
	str	r10, [r2, r9, lsl #2]
	ldr	r10, .L7+68
	ldr	r9, .L7+72
	ldr	r10, [r10]
	ldr	r9, [r9]
	str	r10, [r2, r9, lsl #2]
	ldr	r10, .L7+76
	ldr	r9, .L7+80
	ldr	r10, [r10]
	ldr	r9, [r9]
	str	r10, [r2, r9, lsl #2]
	ldr	r10, .L7+84
	ldr	r9, .L7+88
	ldr	r10, [r10]
	ldr	r9, [r9]
	str	r10, [r2, r9, lsl #2]
	ldr	r2, .L7+92
	str	r4, [r5, #28]
	str	r3, [r5]
	str	r7, [r5, #16]
	str	r7, [r5, #20]
	ldr	r7, .L7+96
	ldr	r2, [r2]
	str	r3, [r5, #12]
	ldr	r3, [r7]
	str	lr, [r5, #8]
	str	r2, [r5, #56]
	str	r1, [r5, #36]
	str	r3, [r5, #52]
	str	r4, [r5, #24]
	str	r0, [r5, #4]
	str	ip, [r5, #40]
	bl	roundup
	ldr	lr, [r8]
	add	r7, r5, #36
	add	r3, r7, r0
	add	r2, lr, lr, lsl #1
	sub	r1, r3, r5
	lsl	r2, r2, #2
	cmp	lr, r4
	str	r1, [r5, #44]
	str	r2, [r5, #48]
	ble	.L1
	mov	r2, r4
	ldr	r0, .L7+100
	ldr	r1, [r6]
	ldr	r0, [r0]
	sub	r1, r1, #4
.L3:
	str	r2, [r3]
	str	r0, [r3, #8]
	ldr	ip, [r1, #4]!
	add	r2, r2, #1
	cmp	lr, r2
	str	ip, [r3, #4]
	add	r3, r3, #12
	bne	.L3
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	DTRACEOPT_MAX
	.word	dtrace_lock
	.word	DOF_MAG_MAG1
	.word	KM_SLEEP
	.word	DOF_ID_MAG0
	.word	DOF_MAG_MAG0
	.word	DOF_ID_MAG1
	.word	DOF_MAG_MAG2
	.word	DOF_ID_MAG2
	.word	DOF_MAG_MAG3
	.word	DOF_ID_MAG3
	.word	DOF_MODEL_NATIVE
	.word	DOF_ID_MODEL
	.word	DOF_ENCODE_NATIVE
	.word	DOF_ID_ENCODING
	.word	DOF_VERSION
	.word	DOF_ID_VERSION
	.word	DIF_VERSION
	.word	DOF_ID_DIFVERS
	.word	DIF_DIR_NREGS
	.word	DOF_ID_DIFIREG
	.word	DIF_DTR_NREGS
	.word	DOF_ID_DIFTREG
	.word	DOF_SECT_OPTDESC
	.word	DOF_SECF_LOAD
	.word	DOF_SECIDX_NONE
	.size	dtrace_dof_create, .-dtrace_dof_create
	.comm	dtrace_lock,4,4
	.comm	KM_SLEEP,4,4
	.comm	DTRACEOPT_MAX,4,4
	.comm	DOF_VERSION,4,4
	.comm	DOF_SECT_OPTDESC,4,4
	.comm	DOF_SECIDX_NONE,4,4
	.comm	DOF_SECF_LOAD,4,4
	.comm	DOF_MODEL_NATIVE,4,4
	.comm	DOF_MAG_MAG3,4,4
	.comm	DOF_MAG_MAG2,4,4
	.comm	DOF_MAG_MAG1,4,4
	.comm	DOF_MAG_MAG0,4,4
	.comm	DOF_ID_VERSION,4,4
	.comm	DOF_ID_MODEL,4,4
	.comm	DOF_ID_MAG3,4,4
	.comm	DOF_ID_MAG2,4,4
	.comm	DOF_ID_MAG1,4,4
	.comm	DOF_ID_MAG0,4,4
	.comm	DOF_ID_ENCODING,4,4
	.comm	DOF_ID_DIFVERS,4,4
	.comm	DOF_ID_DIFTREG,4,4
	.comm	DOF_ID_DIFIREG,4,4
	.comm	DOF_ENCODE_NATIVE,4,4
	.comm	DIF_VERSION,4,4
	.comm	DIF_DTR_NREGS,4,4
	.comm	DIF_DIR_NREGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
