	.file	"extr_fixup-sb1250.c_sb1250_bus_dma_mask.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"not disabling DAC for device"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"not disabling DAC for [bus %02x-%02x]"
	.section	.rodata.str1.1
.LC2:
	.string	"disabling DAC for device"
	.text
	.p2align 4
	.type	sb1250_bus_dma_mask, @function
sb1250_bus_dma_mask:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 16[rdi]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR [rsi]
	mov	rbx, rsi
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR 32[rdi]
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR 8[rsi]
	jge	.L9
.L3:
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	mov	edi, 32
	call	DMA_BIT_MASK@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	DWORD PTR 16[rbp], eax
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR PCI_VENDOR_ID_SIBYTE[rip]
	cmp	QWORD PTR [rdi], rax
	jne	.L3
	mov	rax, QWORD PTR PCI_DEVICE_ID_BCM1250_HT[rip]
	cmp	QWORD PTR 8[rdi], rax
	jne	.L3
	mov	rdi, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR 8[rsi], rax
	call	pci_bus_max_busnr@PLT
	mov	DWORD PTR [rbx], 1
	mov	rdx, QWORD PTR 8[rbx]
	mov	rdi, r12
	mov	QWORD PTR 16[rbx], rax
	mov	rcx, rax
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmp	rax, QWORD PTR 16[rsi]
	jg	.L3
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sb1250_bus_dma_mask, .-sb1250_bus_dma_mask
	.comm	PCI_VENDOR_ID_SIBYTE,8,8
	.comm	PCI_DEVICE_ID_BCM1250_HT,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_fixup-sb1250.c_sb1250_bus_dma_mask.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"not disabling DAC for device\000"
	.align	2
.LC1:
	.ascii	"not disabling DAC for [bus %02x-%02x]\000"
	.align	2
.LC2:
	.ascii	"disabling DAC for device\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sb1250_bus_dma_mask, %function
sb1250_bus_dma_mask:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r1
	mov	r5, r0
	add	r6, r0, #8
	beq	.L2
	ldr	r3, [r0, #16]
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	cmp	r3, r2
	bge	.L9
.L3:
	ldr	r1, .L10
	mov	r0, r6
	bl	dev_dbg
	mov	r0, #32
	bl	DMA_BIT_MASK
	str	r0, [r5, #8]
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L10+4
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r3, .L10+8
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r0, [r0, #12]
	ldr	r3, [r0]
	str	r3, [r1, #4]
	bl	pci_bus_max_busnr
	mov	r2, #1
	mov	r3, r0
	str	r2, [r4]
	mov	r0, r6
	ldr	r2, [r4, #4]
	ldr	r1, .L10+12
	str	r3, [r4, #8]
	bl	dev_dbg
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r2, [r1, #8]
	cmp	r3, r2
	bgt	.L3
	mov	r0, r6
	ldr	r1, .L10+16
	bl	dev_dbg
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	PCI_VENDOR_ID_SIBYTE
	.word	PCI_DEVICE_ID_BCM1250_HT
	.word	.LC1
	.word	.LC0
	.size	sb1250_bus_dma_mask, .-sb1250_bus_dma_mask
	.comm	PCI_VENDOR_ID_SIBYTE,4,4
	.comm	PCI_DEVICE_ID_BCM1250_HT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
