	.file	"extr_dt_buf.c_dt_buf_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dt_buf_create
	.type	dt_buf_create, @function
dt_buf_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rcx, rcx
	cmove	rbp, QWORD PTR _dtrace_bufsize[rip]
	mov	rsi, rbp
	call	dt_zalloc@PLT
	mov	QWORD PTR [rbx], rbp
	mov	QWORD PTR 40[rbx], rax
	mov	QWORD PTR 32[rbx], rax
	test	rax, rax
	je	.L7
	mov	QWORD PTR 24[rbx], 0
.L4:
	mov	QWORD PTR 8[rbx], r12
	mov	QWORD PTR 16[rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r13
	call	dtrace_errno@PLT
	mov	QWORD PTR 24[rbx], rax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	dt_buf_create, .-dt_buf_create
	.comm	_dtrace_bufsize,8,8
	.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_dt_buf.c_dt_buf_create.c"
	.text
	.align	2
	.global	dt_buf_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	dt_buf_create, %function
dt_buf_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r3, #0
	ldreq	r3, .L8
	mov	r4, r1
	ldreq	r5, [r3]
	mov	r6, r0
	mov	r1, r5
	mov	r7, r2
	bl	dt_zalloc
	cmp	r0, #0
	movne	r3, #0
	str	r0, [r4, #20]
	str	r0, [r4, #16]
	str	r5, [r4]
	strne	r3, [r4, #12]
	beq	.L7
.L4:
	mov	r3, #0
	str	r7, [r4, #4]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r6
	bl	dtrace_errno
	str	r0, [r4, #12]
	b	.L4
.L9:
	.align	2
.L8:
	.word	_dtrace_bufsize
	.size	dt_buf_create, .-dt_buf_create
	.comm	_dtrace_bufsize,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
