	.file	"extr_hypfs_diag.c_hypfs_diag_create_files.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"systems"
.LC1:
	.string	"hyp"
.LC2:
	.string	"LPAR Hypervisor"
.LC3:
	.string	"type"
	.text
	.p2align 4
	.globl	hypfs_diag_create_files
	.type	hypfs_diag_create_files, @function
hypfs_diag_create_files:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	diag204_store@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	lea	rdx, .LC0[rip]
	mov	rsi, r15
	mov	rdi, r13
	call	hypfs_mkdir@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	mov	rdi, r14
	test	rax, rax
	jne	.L18
	mov	edi, DWORD PTR diag204_info_type[rip]
	xor	ebx, ebx
	call	info_blk_hdr__size@PLT
	movsx	r12, eax
	add	r12, rbp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, r12
	mov	rdi, r13
	mov	rsi, r14
	call	hypfs_create_lpar_files@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L20
	add	ebx, 1
.L4:
	mov	edi, DWORD PTR diag204_info_type[rip]
	mov	rsi, rbp
	call	info_blk_hdr__npar@PLT
	cmp	eax, ebx
	jg	.L6
	mov	edi, DWORD PTR diag204_info_type[rip]
	mov	rsi, rbp
	call	info_blk_hdr__flags@PLT
	test	DWORD PTR LPAR_PHYS_FLG[rip], eax
	je	.L7
	mov	rdi, r13
	mov	rdx, r12
	mov	rsi, r15
	call	hypfs_create_phys_files@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
.L7:
	mov	rdi, r13
	lea	rdx, .LC1[rip]
	mov	rsi, r15
	call	hypfs_mkdir@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	mov	rsi, rbp
	mov	rdi, r13
	lea	rcx, .LC2[rip]
	lea	rdx, .LC3[rip]
	call	hypfs_create_str@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, rbp
.L18:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rdi, r12
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	hypfs_diag_create_files, .-hypfs_diag_create_files
	.comm	diag204_info_type,4,4
	.comm	LPAR_PHYS_FLG,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_hypfs_diag.c_hypfs_diag_create_files.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"systems\000"
	.align	2
.LC1:
	.ascii	"hyp\000"
	.align	2
.LC2:
	.ascii	"LPAR Hypervisor\000"
	.align	2
.LC3:
	.ascii	"type\000"
	.text
	.align	2
	.global	hypfs_diag_create_files
	.syntax unified
	.arm
	.fpu softvfp
	.type	hypfs_diag_create_files, %function
hypfs_diag_create_files:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r10, r1
	mov	r7, r0
	bl	diag204_store
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L19
	mov	r1, r10
	ldr	r2, .L21
	mov	r0, r7
	bl	hypfs_mkdir
	mov	r8, r0
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L20
	ldr	r9, .L21+4
	ldr	r0, [r9]
	bl	info_blk_hdr__size
	add	r4, r6, r0
	b	.L4
.L6:
	mov	r2, r4
	mov	r1, r8
	mov	r0, r7
	bl	hypfs_create_lpar_files
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L17
	add	r5, r5, #1
.L4:
	mov	r1, r6
	ldr	r0, [r9]
	bl	info_blk_hdr__npar
	cmp	r0, r5
	bgt	.L6
	mov	r1, r6
	ldr	r0, [r9]
	bl	info_blk_hdr__flags
	ldr	r3, .L21+8
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L7
	mov	r2, r4
	mov	r1, r10
	mov	r0, r7
	bl	hypfs_create_phys_files
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L17
.L7:
	mov	r1, r10
	ldr	r2, .L21+12
	mov	r0, r7
	bl	hypfs_mkdir
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L17
	mov	r1, r4
	ldr	r3, .L21+16
	ldr	r2, .L21+20
	mov	r0, r7
	bl	hypfs_create_str
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PTR_ERR
.L20:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PTR_ERR
.L19:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PTR_ERR
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	diag204_info_type
	.word	LPAR_PHYS_FLG
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	hypfs_diag_create_files, .-hypfs_diag_create_files
	.comm	diag204_info_type,4,4
	.comm	LPAR_PHYS_FLG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
