	.file	"extr_ops-emma2rh.c_check_args.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	check_args, @function
check_args:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	cmp	QWORD PTR 8[rdi], 0
	je	.L2
	mov	eax, DWORD PTR [rdi]
	mov	DWORD PTR [rdx], eax
	test	eax, eax
	je	.L9
	cmp	eax, 63
	jle	.L6
.L7:
	mov	eax, DWORD PTR PCIBIOS_DEVICE_NOT_FOUND[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, esi
	call	PCI_SLOT@PLT
	cmp	eax, 15
	jg	.L7
	xor	eax, eax
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	DWORD PTR [rdx], 0
.L9:
	mov	edi, esi
	call	PCI_SLOT@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR PCIBIOS_DEVICE_NOT_FOUND[rip]
	cmp	r8d, 9
	jg	.L1
	xor	eax, eax
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	check_args, .-check_args
	.comm	PCIBIOS_DEVICE_NOT_FOUND,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_ops-emma2rh.c_check_args.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_args, %function
check_args:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0, #4]
	mov	r3, r0
	cmp	ip, #0
	mov	r0, r1
	push	{r4, lr}
	beq	.L2
	ldr	r3, [r3]
	cmp	r3, #0
	str	r3, [r2]
	beq	.L9
	cmp	r3, #63
	ble	.L6
.L7:
	ldr	r3, .L12
	ldr	r0, [r3]
	pop	{r4, pc}
.L6:
	bl	PCI_SLOT
	cmp	r0, #15
	bgt	.L7
	mov	r0, #0
	pop	{r4, pc}
.L2:
	str	ip, [r2]
.L9:
	bl	PCI_SLOT
	cmp	r0, #9
	bgt	.L7
	mov	r0, #0
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	PCIBIOS_DEVICE_NOT_FOUND
	.size	check_args, .-check_args
	.comm	PCIBIOS_DEVICE_NOT_FOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
