	.file	"extr_s3c2410_udc.c_s3c2410_udc_command.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	s3c2410_udc_command, @function
s3c2410_udc_command:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR udc_info[rip]
	test	rax, rax
	je	.L12
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdx, QWORD PTR 8[rax]
	mov	ebp, edi
	test	rdx, rdx
	je	.L4
	pop	rbp
	.cfi_remember_state
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	rdx
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rax]
	call	gpio_is_valid@PLT
	test	rax, rax
	je	.L1
	cmp	ebp, 128
	je	.L7
	xor	esi, esi
	cmp	ebp, 129
	jne	.L1
.L6:
	mov	rax, QWORD PTR udc_info[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	mov	edi, DWORD PTR 4[rax]
	xor	esi, DWORD PTR [rax]
	jmp	gpio_set_value@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_def_cfa_offset 8
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	s3c2410_udc_command, .-s3c2410_udc_command
	.comm	udc_info,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_s3c2410_udc.c_s3c2410_udc_command.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c2410_udc_command, %function
s3c2410_udc_command:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L13
	ldr	r3, [r6]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	ldr	r5, [r3, #8]
	cmp	r5, #0
	beq	.L4
	mov	r3, r5
	pop	{r4, r5, r6, lr}
	bx	r3
.L4:
	mov	r4, r0
	ldr	r0, [r3, #4]
	bl	gpio_is_valid
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	cmp	r4, #128
	beq	.L7
	cmp	r4, #129
	popne	{r4, r5, r6, pc}
.L6:
	ldr	r3, [r6]
	ldr	r1, [r3]
	ldr	r0, [r3, #4]
	eor	r1, r1, r5
	pop	{r4, r5, r6, lr}
	b	gpio_set_value
.L7:
	mov	r5, #1
	b	.L6
.L14:
	.align	2
.L13:
	.word	udc_info
	.size	s3c2410_udc_command, .-s3c2410_udc_command
	.comm	udc_info,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
