	.file	"extr_devtmpfs.c_devtmpfs_create_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	devtmpfs_create_node
	.type	devtmpfs_create_node, @function
devtmpfs_create_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR thread[rip]
	mov	QWORD PTR 8[rsp], 0
	test	eax, eax
	jne	.L13
.L1:
	mov	rsi, QWORD PTR 72[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L14
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR GLOBAL_ROOT_UID[rip]
	lea	rbp, 16[rsp]
	lea	rcx, 52[rsp]
	mov	rbx, rdi
	lea	rdx, 56[rsp]
	lea	r8, 8[rsp]
	mov	rsi, rbp
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR 56[rsp], eax
	mov	eax, DWORD PTR GLOBAL_ROOT_GID[rip]
	mov	DWORD PTR 52[rsp], eax
	call	device_get_devnode@PLT
	mov	DWORD PTR 48[rsp], eax
	test	eax, eax
	je	.L15
	mov	eax, DWORD PTR 16[rsp]
	test	eax, eax
	jne	.L4
	mov	DWORD PTR 16[rsp], 384
.L4:
	mov	rdi, rbx
	call	is_blockdev@PLT
	test	rax, rax
	mov	eax, DWORD PTR 16[rsp]
	jne	.L16
	or	eax, DWORD PTR S_IFCHR[rip]
.L6:
	lea	r12, 24[rsp]
	mov	DWORD PTR 16[rsp], eax
	mov	rdi, r12
	mov	QWORD PTR 40[rsp], rbx
	call	init_completion@PLT
	lea	rdi, req_lock[rip]
	call	spin_lock@PLT
	mov	rax, QWORD PTR requests[rip]
	lea	rdi, req_lock[rip]
	mov	QWORD PTR requests[rip], rbp
	mov	QWORD PTR 32[rsp], rax
	call	spin_unlock@PLT
	mov	edi, DWORD PTR thread[rip]
	call	wake_up_process@PLT
	mov	rdi, r12
	call	wait_for_completion@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	kfree@PLT
	mov	eax, DWORD PTR 20[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	or	eax, DWORD PTR S_IFBLK[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	devtmpfs_create_node, .-devtmpfs_create_node
	.comm	thread,4,4
	.comm	requests,8,8
	.comm	req_lock,4,4
	.comm	S_IFCHR,4,4
	.comm	S_IFBLK,4,4
	.comm	GLOBAL_ROOT_UID,4,4
	.comm	GLOBAL_ROOT_GID,4,4
	.comm	ENOMEM,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_devtmpfs.c_devtmpfs_create_node.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	devtmpfs_create_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	devtmpfs_create_node, %function
devtmpfs_create_node:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, lr}
	ldr	r3, .L16
	ldr	r5, .L16+4
	sub	sp, sp, #52
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r3, [r5]
	str	r2, [sp, #8]
	cmp	r3, r2
	bne	.L13
.L1:
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [sp, #44]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L14
	mov	r0, r3
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	ldr	r1, .L16+8
	ldr	r3, .L16+12
	ldr	lr, [r1]
	ldr	ip, [r3]
	add	r3, sp, #8
	str	r3, [sp]
	str	r2, [sp, #12]
	add	r1, sp, #12
	add	r3, sp, #36
	add	r2, sp, #40
	mov	r4, r0
	str	lr, [sp, #40]
	str	ip, [sp, #36]
	bl	device_get_devnode
	cmp	r0, #0
	str	r0, [sp, #32]
	beq	.L15
	ldr	r3, [sp, #12]
	mov	r0, r4
	cmp	r3, #0
	moveq	r3, #384
	streq	r3, [sp, #12]
	bl	is_blockdev
	cmp	r0, #0
	ldrne	r2, .L16+16
	ldreq	r2, .L16+20
	ldr	r3, [sp, #12]
	ldr	r2, [r2]
	add	r0, sp, #20
	orr	r3, r3, r2
	str	r3, [sp, #12]
	str	r4, [sp, #28]
	bl	init_completion
	ldr	r0, .L16+24
	bl	spin_lock
	ldr	r3, .L16+28
	add	r1, sp, #12
	ldr	r2, [r3]
	ldr	r0, .L16+24
	str	r1, [r3]
	str	r2, [sp, #24]
	bl	spin_unlock
	ldr	r0, [r5]
	bl	wake_up_process
	add	r0, sp, #20
	bl	wait_for_completion
	ldr	r0, [sp, #8]
	bl	kfree
	ldr	r3, [sp, #16]
	b	.L1
.L15:
	ldr	r3, .L16+32
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	thread
	.word	GLOBAL_ROOT_UID
	.word	GLOBAL_ROOT_GID
	.word	S_IFBLK
	.word	S_IFCHR
	.word	req_lock
	.word	requests
	.word	ENOMEM
	.size	devtmpfs_create_node, .-devtmpfs_create_node
	.comm	thread,4,4
	.comm	requests,4,4
	.comm	req_lock,4,4
	.comm	S_IFCHR,4,4
	.comm	S_IFBLK,4,4
	.comm	GLOBAL_ROOT_UID,4,4
	.comm	GLOBAL_ROOT_GID,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
