	.file	"extr_s3c2410.c_s3c2410_serial_resetport.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"s3c2410_serial_resetport: port=%p (%08lx), cfg=%p\n"
	.text
	.p2align 4
	.type	s3c2410_serial_resetport, @function
s3c2410_serial_resetport:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rcx, rsi
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	mov	rsi, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	call	dbg@PLT
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR S3C2410_UCON[rip]
	mov	rdi, rbp
	call	wr_regl@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR S3C2410_ULCON[rip]
	mov	rdi, rbp
	call	wr_regl@PLT
	mov	esi, DWORD PTR S3C2410_UFCON[rip]
	mov	edx, DWORD PTR 8[rbx]
	mov	rdi, rbp
	or	edx, DWORD PTR S3C2410_UFCON_RESETBOTH[rip]
	call	wr_regl@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR S3C2410_UFCON[rip]
	mov	rdi, rbp
	call	wr_regl@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	s3c2410_serial_resetport, .-s3c2410_serial_resetport
	.comm	S3C2410_ULCON,4,4
	.comm	S3C2410_UFCON_RESETBOTH,4,4
	.comm	S3C2410_UFCON,4,4
	.comm	S3C2410_UCON,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_s3c2410.c_s3c2410_serial_resetport.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"s3c2410_serial_resetport: port=%p (%08lx), cfg=%p\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c2410_serial_resetport, %function
s3c2410_serial_resetport:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r3, r1
	ldr	r2, [r0]
	mov	r1, r0
	ldr	r0, .L4
	bl	dbg
	ldr	r3, .L4+4
	ldr	r2, [r5]
	ldr	r1, [r3]
	mov	r0, r4
	bl	wr_regl
	ldr	r3, .L4+8
	ldr	r2, [r5, #4]
	ldr	r1, [r3]
	mov	r0, r4
	bl	wr_regl
	ldr	r3, .L4+12
	ldr	r2, [r5, #8]
	ldr	r3, [r3]
	ldr	r6, .L4+16
	orr	r2, r2, r3
	ldr	r1, [r6]
	mov	r0, r4
	bl	wr_regl
	mov	r0, r4
	ldr	r2, [r5, #8]
	ldr	r1, [r6]
	bl	wr_regl
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	S3C2410_UCON
	.word	S3C2410_ULCON
	.word	S3C2410_UFCON_RESETBOTH
	.word	S3C2410_UFCON
	.size	s3c2410_serial_resetport, .-s3c2410_serial_resetport
	.comm	S3C2410_ULCON,4,4
	.comm	S3C2410_UFCON_RESETBOTH,4,4
	.comm	S3C2410_UFCON,4,4
	.comm	S3C2410_UCON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
