	.file	"extr_dasd.c_dasd_state_known_to_basic.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"debug area created"
.LC1:
	.string	"%s"
	.text
	.p2align 4
	.type	dasd_state_known_to_basic, @function
dasd_state_known_to_basic:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 32[rdi]
	test	rbp, rbp
	je	.L3
	mov	rdi, rbp
	call	dasd_gendisk_alloc@PLT
	test	eax, eax
	je	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR dasd_debugfs_root_entry[rip]
	mov	edi, DWORD PTR [rax]
	call	dasd_debugfs_setup@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[rbp], rax
	mov	rsi, rax
	call	dasd_profile_init@PLT
	mov	rax, QWORD PTR DASD_PROFILE_ON[rip]
	cmp	QWORD PTR dasd_global_profile_level[rip], rax
	jne	.L3
	mov	rdi, QWORD PTR 32[rbx]
	call	dasd_profile_on@PLT
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	mov	ebp, DWORD PTR dasd_debugfs_root_entry[rip]
	call	dev_name@PLT
	mov	esi, ebp
	mov	edi, eax
	call	dasd_debugfs_setup@PLT
	lea	rdi, 24[rbx]
	mov	QWORD PTR 16[rbx], rax
	mov	rsi, rax
	call	dasd_profile_init@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	dev_name@PLT
	mov	ecx, 64
	mov	edx, 1
	mov	esi, 4
	mov	edi, eax
	call	debug_register@PLT
	lea	rsi, debug_sprintf_view[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	edi, eax
	call	debug_register_view@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR DBF_WARNING[rip]
	call	debug_set_level@PLT
	mov	edi, DWORD PTR DBF_EMERG[rip]
	mov	rsi, rbx
	lea	rcx, .LC0[rip]
	lea	rdx, .LC1[rip]
	call	DBF_DEV_EVENT@PLT
	mov	eax, DWORD PTR DASD_STATE_BASIC[rip]
	mov	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dasd_state_known_to_basic, .-dasd_state_known_to_basic
	.comm	debug_sprintf_view,4,4
	.comm	dasd_global_profile_level,8,8
	.comm	dasd_debugfs_root_entry,4,4
	.comm	DBF_WARNING,4,4
	.comm	DBF_EMERG,4,4
	.comm	DASD_STATE_BASIC,4,4
	.comm	DASD_PROFILE_ON,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_dasd.c_dasd_state_known_to_basic.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"debug area created\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dasd_state_known_to_basic, %function
dasd_state_known_to_basic:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0, #20]
	mov	r4, r0
	cmp	r5, #0
	ldreq	r6, .L9
	beq	.L3
	mov	r0, r5
	bl	dasd_gendisk_alloc
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, [r5, #8]
	ldr	r6, .L9
	ldr	r0, [r3]
	ldr	r1, [r6]
	bl	dasd_debugfs_setup
	mov	r1, r0
	mov	r0, r5
	str	r1, [r5, #4]
	bl	dasd_profile_init
	ldr	r2, .L9+4
	ldr	r3, .L9+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L8
.L3:
	ldr	r0, [r4, #8]
	bl	dev_name
	ldr	r1, [r6]
	bl	dasd_debugfs_setup
	mov	r1, r0
	add	r0, r4, #16
	str	r1, [r4, #12]
	bl	dasd_profile_init
	ldr	r0, [r4, #8]
	bl	dev_name
	mov	r2, #1
	mov	r3, #32
	mov	r1, #4
	bl	debug_register
	ldr	r1, .L9+12
	str	r0, [r4, #4]
	bl	debug_register_view
	ldr	r3, .L9+16
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	bl	debug_set_level
	ldr	r2, .L9+20
	mov	r1, r4
	ldr	r3, .L9+24
	ldr	r0, [r2]
	ldr	r2, .L9+28
	bl	DBF_DEV_EVENT
	ldr	r3, .L9+32
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r0, [r4, #20]
	bl	dasd_profile_on
	b	.L3
.L10:
	.align	2
.L9:
	.word	dasd_debugfs_root_entry
	.word	dasd_global_profile_level
	.word	DASD_PROFILE_ON
	.word	debug_sprintf_view
	.word	DBF_WARNING
	.word	DBF_EMERG
	.word	.LC0
	.word	.LC1
	.word	DASD_STATE_BASIC
	.size	dasd_state_known_to_basic, .-dasd_state_known_to_basic
	.comm	debug_sprintf_view,4,4
	.comm	dasd_global_profile_level,4,4
	.comm	dasd_debugfs_root_entry,4,4
	.comm	DBF_WARNING,4,4
	.comm	DBF_EMERG,4,4
	.comm	DASD_STATE_BASIC,4,4
	.comm	DASD_PROFILE_ON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
