	.file	"extr_hcp_if.c_hipz_h_define_aqp1.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"AQP1 already exists. ret=%lli"
	.text
	.p2align 4
	.globl	hipz_h_define_aqp1
	.type	hipz_h_define_aqp1, @function
hipz_h_define_aqp1:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r10d, esi
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbx
	.cfi_offset 3, -48
	mov	rbx, r9
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PLPAR_HCALL9_BUFSIZE[rip]
	mov	rdx, rsp
	lea	rax, 15[0+rax*8]
	mov	rsi, rax
	and	rax, -4096
	sub	rdx, rax
	and	rsi, -16
	mov	rax, rdx
	cmp	rsp, rax
	je	.L3
.L12:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L12
.L3:
	and	esi, 4095
	sub	rsp, rsi
	test	rsi, rsi
	jne	.L13
.L4:
	lea	rsi, 7[rsp]
	sub	rsp, 8
	mov	edx, edi
	xor	r9d, r9d
	push	0
	mov	edi, DWORD PTR H_DEFINE_AQP1[rip]
	mov	r14, rsi
	mov	r8, rcx
	push	0
	and	rsi, -8
	mov	ecx, r10d
	shr	r14, 3
	push	0
	push	0
	push	0
	call	ehca_plpar_hcall9@PLT
	add	rsp, 48
	mov	r13, rax
	mov	rax, QWORD PTR 0[0+r14*8]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 8[0+r14*8]
	mov	QWORD PTR [rbx], rax
	cmp	QWORD PTR H_ALIAS_EXIST[rip], r13
	jne	.L1
	mov	rsi, r13
	lea	rdi, .LC0[rip]
	call	ehca_gen_err@PLT
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	lea	rsp, -32[rbp]
	mov	rax, r13
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rsi], 0
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hipz_h_define_aqp1, .-hipz_h_define_aqp1
	.comm	PLPAR_HCALL9_BUFSIZE,4,4
	.comm	H_DEFINE_AQP1,4,4
	.comm	H_ALIAS_EXIST,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_hcp_if.c_hipz_h_define_aqp1.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"AQP1 already exists. ret=%lli\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hipz_h_define_aqp1
	.syntax unified
	.arm
	.fpu softvfp
	.type	hipz_h_define_aqp1, %function
hipz_h_define_aqp1:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #40
	mov	ip, #0
	mov	r4, r3
	ldr	r3, .L8
	ldr	lr, .L8+4
	ldr	r3, [r3]
	mov	r2, r0
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	str	r4, [sp]
	str	ip, [sp, #24]
	str	ip, [sp, #20]
	str	ip, [sp, #16]
	str	ip, [sp, #12]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	add	r5, sp, #32
	ldr	ip, .L8+8
	mov	r3, r1
	ldr	r0, [lr]
	mov	r1, r5
	ldr	r7, [fp, #4]
	ldr	r6, [fp, #8]
	ldr	ip, [ip]
	str	ip, [fp, #-24]
	mov	ip,#0
	bl	ehca_plpar_hcall9
	ldm	r5, {r1, r2}
	ldr	r3, .L8+12
	str	r1, [r7]
	str	r2, [r6]
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r3, r0
	beq	.L6
.L1:
	ldr	r3, .L8+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r4
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L6:
	mov	r1, r0
	ldr	r0, .L8+16
	bl	ehca_gen_err
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	PLPAR_HCALL9_BUFSIZE
	.word	H_DEFINE_AQP1
	.word	.LC1
	.word	H_ALIAS_EXIST
	.word	.LC0
	.size	hipz_h_define_aqp1, .-hipz_h_define_aqp1
	.comm	PLPAR_HCALL9_BUFSIZE,4,4
	.comm	H_DEFINE_AQP1,4,4
	.comm	H_ALIAS_EXIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
