	.file	"extr_nf_conntrack_ftp.c_get_port.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"get_port: return %d\n"
.LC1:
	.string	"get_port: invalid char.\n"
	.text
	.p2align 4
	.type	get_port, @function
get_port:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movsx	r9, esi
	xor	r12d, r12d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	cmp	rdx, r9
	jbe	.L1
	sub	esi, r9d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	lea	r10d, -48[rax]
	cmp	r10b, 9
	ja	.L4
	lea	r10d, [r12+r12*4]
	add	r9, 1
	lea	r12d, -48[rax+r10*2]
	cmp	rdx, r9
	jbe	.L12
.L5:
	movsx	eax, BYTE PTR [rdi+r9]
	lea	ebx, [rsi+r9]
	cmp	al, cl
	jne	.L3
	test	r12d, r12d
	jne	.L14
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_debug@PLT
.L12:
	xor	r12d, r12d
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	mov	edi, r12d
	mov	QWORD PTR 8[rsp], r8
	call	htons@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	lea	r12d, 1[rbx]
	mov	DWORD PTR [r8], eax
	xor	eax, eax
	call	pr_debug@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	get_port, .-get_port
	.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_nf_conntrack_ftp.c_get_port.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"get_port: return %d\012\000"
	.align	2
.LC1:
	.ascii	"get_port: invalid char.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_port, %function
get_port:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, r1
	push	{r4, r5, r6, lr}
	bls	.L6
	mov	r4, r1
	sub	r1, r1, #1
	mov	r5, #0
	add	r1, r0, r1
	b	.L5
.L3:
	cmp	lr, #9
	add	r4, r4, #1
	bhi	.L4
	cmp	r2, r4
	sub	r5, r0, #48
	bls	.L6
.L5:
	ldrb	r0, [r1, #1]!	@ zero_extendqisi2
	add	ip, r5, r5, lsl #2
	cmp	r0, r3
	sub	lr, r0, #48
	add	r0, r0, ip, lsl #1
	bne	.L3
	cmp	r5, #0
	bne	.L13
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L6:
	mov	r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L4:
	mov	r5, #0
	ldr	r0, .L14
	bl	pr_debug
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r5
	bl	htons
	ldr	r3, [sp, #16]
	mov	r1, r5
	str	r0, [r3]
	ldr	r0, .L14+4
	add	r5, r4, #1
	bl	pr_debug
	b	.L1
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	.LC0
	.size	get_port, .-get_port
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
