	.file	"extr_ip27-irq.c_hub_domain_alloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hub_domain_alloc, @function
hub_domain_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edx, 1
	ja	.L9
	mov	eax, DWORD PTR EINVAL[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	neg	eax
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	test	rcx, rcx
	je	.L1
	mov	r13d, esi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	r12, rdi
	mov	edi, 4
	call	kzalloc@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	rbp, rbp
	je	.L1
	xor	eax, eax
	call	alloc_level@PLT
	mov	edi, eax
	mov	r14d, eax
	shr	edi, 31
	call	unlikely@PLT
	test	rax, rax
	jne	.L13
	push	0
	.cfi_def_cfa_offset 56
	mov	r9d, DWORD PTR handle_level_irq[rip]
	mov	r8, rbp
	mov	edx, r14d
	push	0
	.cfi_def_cfa_offset 64
	lea	rcx, hub_irq_type[rip]
	mov	esi, r13d
	mov	rdi, r12
	call	irq_domain_set_info@PLT
	mov	edi, DWORD PTR [rbx]
	call	NASID_TO_COMPACT_NODEID@PLT
	mov	edi, eax
	call	hub_data@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	r12, rax
	call	setup_hub_mask@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, r14d
	call	REMOTE_HUB_CLR_INTR@PLT
	mov	edi, r13d
	call	irq_to_desc@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rsi, r12
	mov	edi, DWORD PTR [rax]
	mov	DWORD PTR 4[rax], edx
	call	cpumask_copy@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rdx
	.cfi_def_cfa_offset 48
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	.cfi_offset 6, -40
	.cfi_offset 12, -32
	.cfi_offset 13, -24
	.cfi_offset 14, -16
	mov	rdi, rbp
	call	kfree@PLT
	mov	eax, DWORD PTR EAGAIN[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hub_domain_alloc, .-hub_domain_alloc
	.comm	hub_irq_type,4,4
	.comm	handle_level_irq,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	EAGAIN,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_ip27-irq.c_hub_domain_alloc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hub_domain_alloc, %function
hub_domain_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	ip, r3
	lsr	ip, ip, #5
	cmp	r2, #1
	orrhi	ip, ip, #1
	push	{r4, r5, r6, r7, r8, r9, lr}
	cmp	ip, #0
	sub	sp, sp, #20
	beq	.L2
	ldr	r3, .L10
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r5, r3
	ldr	r3, .L10+4
	mov	r7, r0
	mov	r6, r1
	mov	r0, #4
	ldr	r1, [r3]
	bl	kzalloc
	subs	r9, r0, #0
	beq	.L8
	bl	alloc_level
	mov	r8, r0
	lsr	r0, r0, #31
	bl	unlikely
	subs	r4, r0, #0
	bne	.L9
	ldr	r3, .L10+8
	str	r4, [sp, #12]
	ldr	r3, [r3]
	mov	r2, r8
	mov	r1, r6
	str	r3, [sp, #4]
	mov	r0, r7
	ldr	r3, .L10+12
	str	r4, [sp, #8]
	str	r9, [sp]
	bl	irq_domain_set_info
	ldr	r0, [r5]
	bl	NASID_TO_COMPACT_NODEID
	bl	hub_data
	mov	r7, r0
	mov	r0, r9
	mov	r1, r7
	bl	setup_hub_mask
	mov	r1, r8
	ldr	r0, [r5]
	bl	REMOTE_HUB_CLR_INTR
	mov	r0, r6
	bl	irq_to_desc
	ldr	r3, [r5]
	mov	r1, r7
	str	r3, [r0, #4]
	ldr	r0, [r0]
	bl	cpumask_copy
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	ldr	r3, .L10+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	mov	r0, r9
	bl	kfree
	ldr	r3, .L10+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	EINVAL
	.word	GFP_KERNEL
	.word	handle_level_irq
	.word	hub_irq_type
	.word	ENOMEM
	.word	EAGAIN
	.size	hub_domain_alloc, .-hub_domain_alloc
	.comm	hub_irq_type,4,4
	.comm	handle_level_irq,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
