	.file	"extr_pci.c_iop13xx_atu_function.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	iop13xx_atu_function, @function
iop13xx_atu_function:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	cmp	edi, 128
	je	.L2
	cmp	edi, 129
	je	.L3
	xor	eax, eax
	call	BUG@PLT
.L10:
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR IOP13XX_ESSR0[rip]
	call	__raw_readl@PLT
	test	DWORD PTR IOP13XX_INTERFACE_SEL_PCIX[rip], eax
	je	.L10
	mov	eax, 5
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR IOP13XX_ESSR0[rip]
	call	__raw_readl@PLT
	test	DWORD PTR IOP13XX_INTERFACE_SEL_PCIX[rip], eax
	jne	.L10
	mov	eax, 5
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	iop13xx_atu_function, .-iop13xx_atu_function
	.comm	IOP13XX_INTERFACE_SEL_PCIX,4,4
	.comm	IOP13XX_ESSR0,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_pci.c_iop13xx_atu_function.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iop13xx_atu_function, %function
iop13xx_atu_function:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #128
	push	{r4, lr}
	beq	.L2
	cmp	r0, #129
	beq	.L3
	bl	BUG
.L10:
	mov	r0, #0
	pop	{r4, pc}
.L2:
	ldr	r3, .L13
	ldr	r0, [r3]
	bl	__raw_readl
	ldr	r3, .L13+4
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L10
.L5:
	mov	r0, #5
	pop	{r4, pc}
.L3:
	ldr	r3, .L13
	ldr	r0, [r3]
	bl	__raw_readl
	ldr	r3, .L13+4
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L5
	mov	r0, #0
	pop	{r4, pc}
.L14:
	.align	2
.L13:
	.word	IOP13XX_ESSR0
	.word	IOP13XX_INTERFACE_SEL_PCIX
	.size	iop13xx_atu_function, .-iop13xx_atu_function
	.comm	IOP13XX_INTERFACE_SEL_PCIX,4,4
	.comm	IOP13XX_ESSR0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
