	.file	"extr_coresight-stm.c_port_enable_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%#lx\n"
	.text
	.p2align 4
	.type	port_enable_show, @function
port_enable_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdi]
	call	dev_get_drvdata@PLT
	lea	rdi, 24[rax]
	mov	rbx, rax
	call	local_read@PLT
	test	eax, eax
	jne	.L2
	mov	r12, QWORD PTR [rbx]
.L3:
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rcx, r12
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	lea	rdx, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	scnprintf@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	r13, 8[rbx]
	mov	rdi, r13
	call	spin_lock@PLT
	mov	rdi, QWORD PTR STMSPER[rip]
	add	rdi, QWORD PTR 16[rbx]
	call	readl_relaxed@PLT
	mov	rdi, r13
	mov	r12, rax
	call	spin_unlock@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	port_enable_show, .-port_enable_show
	.comm	STMSPER,8,8
	.comm	PAGE_SIZE,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_coresight-stm.c_port_enable_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%#lx\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	port_enable_show, %function
port_enable_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r0, [r0]
	mov	r5, r2
	bl	dev_get_drvdata
	mov	r4, r0
	add	r0, r0, #12
	bl	local_read
	cmp	r0, #0
	bne	.L2
	ldr	r4, [r4]
.L3:
	ldr	r2, .L6
	mov	r3, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r2]
	ldr	r2, .L6+4
	b	scnprintf
.L2:
	add	r6, r4, #4
	mov	r0, r6
	bl	spin_lock
	ldr	r3, .L6+8
	ldr	r0, [r4, #8]
	ldr	r3, [r3]
	add	r0, r0, r3
	bl	readl_relaxed
	mov	r4, r0
	mov	r0, r6
	bl	spin_unlock
	b	.L3
.L7:
	.align	2
.L6:
	.word	PAGE_SIZE
	.word	.LC0
	.word	STMSPER
	.size	port_enable_show, .-port_enable_show
	.comm	STMSPER,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
