	.file	"extr_nbio_v7_4.c_nbio_v7_4_enable_doorbell_selfring_aperture.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nbio_v7_4_enable_doorbell_selfring_aperture, @function
nbio_v7_4_enable_doorbell_selfring_aperture:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	esi, esi
	jne	.L9
.L2:
	mov	edx, DWORD PTR mmDOORBELL_SELFRING_GPA_APER_CNTL[rip]
	mov	edi, DWORD PTR NBIO[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	ecx, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	xor	esi, esi
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	WREG32_SOC15@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, DWORD PTR DOORBELL_SELFRING_GPA_APER_EN[rip]
	mov	esi, DWORD PTR DOORBELL_SELFRING_GPA_APER_CNTL[rip]
	mov	rbx, rdi
	mov	ecx, 1
	xor	edi, edi
	call	REG_SET_FIELD@PLT
	mov	edx, DWORD PTR DOORBELL_SELFRING_GPA_APER_MODE[rip]
	mov	esi, DWORD PTR DOORBELL_SELFRING_GPA_APER_CNTL[rip]
	xor	edi, edi
	mov	ecx, 1
	mov	r12d, eax
	call	REG_SET_FIELD@PLT
	mov	edx, DWORD PTR DOORBELL_SELFRING_GPA_APER_SIZE[rip]
	xor	ecx, ecx
	xor	edi, edi
	mov	esi, DWORD PTR DOORBELL_SELFRING_GPA_APER_CNTL[rip]
	or	r12d, eax
	call	REG_SET_FIELD@PLT
	mov	edi, DWORD PTR [rbx]
	or	r12d, eax
	call	lower_32_bits@PLT
	mov	edx, DWORD PTR mmDOORBELL_SELFRING_GPA_APER_BASE_LOW[rip]
	mov	edi, DWORD PTR NBIO[rip]
	xor	esi, esi
	mov	ecx, eax
	call	WREG32_SOC15@PLT
	mov	edi, DWORD PTR [rbx]
	call	upper_32_bits@PLT
	mov	edx, DWORD PTR mmDOORBELL_SELFRING_GPA_APER_BASE_HIGH[rip]
	mov	edi, DWORD PTR NBIO[rip]
	xor	esi, esi
	mov	ecx, eax
	call	WREG32_SOC15@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	nbio_v7_4_enable_doorbell_selfring_aperture, .-nbio_v7_4_enable_doorbell_selfring_aperture
	.comm	mmDOORBELL_SELFRING_GPA_APER_CNTL,4,4
	.comm	mmDOORBELL_SELFRING_GPA_APER_BASE_LOW,4,4
	.comm	mmDOORBELL_SELFRING_GPA_APER_BASE_HIGH,4,4
	.comm	NBIO,4,4
	.comm	DOORBELL_SELFRING_GPA_APER_SIZE,4,4
	.comm	DOORBELL_SELFRING_GPA_APER_MODE,4,4
	.comm	DOORBELL_SELFRING_GPA_APER_EN,4,4
	.comm	DOORBELL_SELFRING_GPA_APER_CNTL,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_nbio_v7_4.c_nbio_v7_4_enable_doorbell_selfring_aperture.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nbio_v7_4_enable_doorbell_selfring_aperture, %function
nbio_v7_4_enable_doorbell_selfring_aperture:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r1, #0
	bne	.L5
	ldr	r5, .L8
.L2:
	ldr	r2, .L8+4
	mov	r3, r4
	ldr	r0, [r5]
	mov	r1, #0
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r2, [r2]
	b	WREG32_SOC15
.L5:
	ldr	r5, .L8+8
	ldr	r3, .L8+12
	mov	r6, r0
	ldr	r2, [r3]
	ldr	r1, [r5]
	mov	r3, #1
	mov	r0, #0
	bl	REG_SET_FIELD
	ldr	r3, .L8+16
	ldr	r1, [r5]
	ldr	r2, [r3]
	mov	r4, r0
	mov	r3, #1
	mov	r0, #0
	bl	REG_SET_FIELD
	mov	r3, #0
	mov	ip, r0
	ldr	r2, .L8+20
	ldr	r1, [r5]
	ldr	r2, [r2]
	mov	r0, r3
	orr	r4, r4, ip
	bl	REG_SET_FIELD
	mov	r1, r0
	ldr	r5, .L8
	ldr	r3, .L8+24
	ldr	r0, [r6]
	ldr	r7, [r5]
	ldr	r8, [r3]
	orr	r4, r4, r1
	bl	lower_32_bits
	mov	r2, r8
	mov	r3, r0
	mov	r1, #0
	mov	r0, r7
	bl	WREG32_SOC15
	ldr	r3, .L8+28
	ldr	r0, [r6]
	ldr	r7, [r5]
	ldr	r6, [r3]
	bl	upper_32_bits
	mov	r2, r6
	mov	r3, r0
	mov	r1, #0
	mov	r0, r7
	bl	WREG32_SOC15
	b	.L2
.L9:
	.align	2
.L8:
	.word	NBIO
	.word	mmDOORBELL_SELFRING_GPA_APER_CNTL
	.word	DOORBELL_SELFRING_GPA_APER_CNTL
	.word	DOORBELL_SELFRING_GPA_APER_EN
	.word	DOORBELL_SELFRING_GPA_APER_MODE
	.word	DOORBELL_SELFRING_GPA_APER_SIZE
	.word	mmDOORBELL_SELFRING_GPA_APER_BASE_LOW
	.word	mmDOORBELL_SELFRING_GPA_APER_BASE_HIGH
	.size	nbio_v7_4_enable_doorbell_selfring_aperture, .-nbio_v7_4_enable_doorbell_selfring_aperture
	.comm	mmDOORBELL_SELFRING_GPA_APER_CNTL,4,4
	.comm	mmDOORBELL_SELFRING_GPA_APER_BASE_LOW,4,4
	.comm	mmDOORBELL_SELFRING_GPA_APER_BASE_HIGH,4,4
	.comm	NBIO,4,4
	.comm	DOORBELL_SELFRING_GPA_APER_SIZE,4,4
	.comm	DOORBELL_SELFRING_GPA_APER_MODE,4,4
	.comm	DOORBELL_SELFRING_GPA_APER_EN,4,4
	.comm	DOORBELL_SELFRING_GPA_APER_CNTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
