	.file	"extr_halbtc8821a2ant.c_ex_btc8821a2ant_pre_load_firmware.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ex_btc8821a2ant_pre_load_firmware
	.type	ex_btc8821a2ant_pre_load_firmware, @function
ex_btc8821a2ant_pre_load_firmware:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	cmp	rax, QWORD PTR BTC_INTF_USB[rip]
	je	.L8
	xor	edx, edx
	cmp	DWORD PTR 16[rdi], 1
	sete	dl
	add	edx, 4
	cmp	rax, QWORD PTR BTC_INTF_PCI[rip]
	je	.L9
	cmp	rax, QWORD PTR BTC_INTF_SDIO[rip]
	je	.L10
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 8[rdi]
	mov	esi, 900
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR 8[rdi]
	mov	edx, 5
	mov	esi, 65032
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 8[rdi]
	mov	esi, 96
	jmp	rax
	.cfi_endproc
.LFE0:
	.size	ex_btc8821a2ant_pre_load_firmware, .-ex_btc8821a2ant_pre_load_firmware
	.comm	BTC_INTF_USB,8,8
	.comm	BTC_INTF_SDIO,8,8
	.comm	BTC_INTF_PCI,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_halbtc8821a2ant.c_ex_btc8821a2ant_pre_load_firmware.c"
	.text
	.align	2
	.global	ex_btc8821a2ant_pre_load_firmware
	.syntax unified
	.arm
	.fpu softvfp
	.type	ex_btc8821a2ant_pre_load_firmware, %function
ex_btc8821a2ant_pre_load_firmware:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L10
	ldr	r1, [r0]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L8
	ldr	ip, .L10+4
	ldr	r2, [r0, #8]
	ldr	ip, [ip]
	cmp	r2, #1
	movne	r2, #4
	moveq	r2, #5
	cmp	r1, ip
	beq	.L9
	ldr	ip, .L10+8
	ldr	ip, [ip]
	cmp	r1, ip
	bxne	lr
	mov	r1, #96
	ldr	r3, [r0, #4]
	bx	r3
.L9:
	mov	r1, #900
	ldr	r3, [r0, #4]
	bx	r3
.L8:
	mov	r2, #5
	ldr	r3, [r0, #4]
	ldr	r1, .L10+12
	bx	r3
.L11:
	.align	2
.L10:
	.word	BTC_INTF_USB
	.word	BTC_INTF_PCI
	.word	BTC_INTF_SDIO
	.word	65032
	.size	ex_btc8821a2ant_pre_load_firmware, .-ex_btc8821a2ant_pre_load_firmware
	.comm	BTC_INTF_USB,4,4
	.comm	BTC_INTF_SDIO,4,4
	.comm	BTC_INTF_PCI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
