	.file	"extr_ip_set_bitmap_port.c_bitmap_port_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"memsize: %zu\n"
	.text
	.p2align 4
	.type	bitmap_port_create, @function
bitmap_port_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	mov	rsi, QWORD PTR IPSET_ATTR_PORT[rip]
	mov	rdi, rbx
	call	ip_set_attr_netorder@PLT
	test	eax, eax
	jne	.L2
.L4:
	mov	edi, 1
.L3:
	call	unlikely@PLT
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR IPSET_ERR_PROTOCOL[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rax, QWORD PTR IPSET_ATTR_PORT[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	ip_set_get_h16@PLT
	mov	r12, rax
	mov	rax, QWORD PTR IPSET_ATTR_PORT_TO[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	ip_set_get_h16@PLT
	mov	r13, rax
	cmp	r12, rax
	jle	.L7
	mov	rax, r12
	mov	r12, r13
	mov	r13, rax
.L7:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 16
	call	kzalloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR IPSET_ATTR_TIMEOUT[rip]
	mov	rsi, r13
	sub	rsi, r12
	cmp	QWORD PTR [rbx+rax*8], 0
	je	.L9
	lea	rax, 8[0+rsi*8]
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, r14
	mov	QWORD PTR [r14], rax
	mov	rdi, rbp
	call	init_map_port@PLT
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR IPSET_ATTR_TIMEOUT[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	ip_set_timeout_uget@PLT
	mov	rdi, rbp
	mov	DWORD PTR 8[r14], eax
	lea	rax, bitmap_tport[rip]
	mov	QWORD PTR 0[rbp], rax
	call	bitmap_port_gc_init@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR IPSET_ATTR_PORT_TO[rip]
	mov	rdi, rbx
	call	ip_set_attr_netorder@PLT
	test	eax, eax
	je	.L4
	mov	rsi, QWORD PTR IPSET_ATTR_TIMEOUT[rip]
	mov	rdi, rbx
	call	ip_set_optattr_netorder@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r14
	call	kfree@PLT
.L16:
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	edi, edi
	call	bitmap_bytes@PLT
	lea	rdi, .LC0[rip]
	mov	QWORD PTR [r14], rax
	mov	rsi, rax
	call	pr_debug@PLT
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, rbp
	call	init_map_port@PLT
	test	eax, eax
	je	.L17
	lea	rax, bitmap_port[rip]
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bitmap_port_create, .-bitmap_port_create
	.comm	bitmap_tport,4,4
	.comm	bitmap_port,4,4
	.comm	IPSET_ERR_PROTOCOL,4,4
	.comm	IPSET_ATTR_TIMEOUT,8,8
	.comm	IPSET_ATTR_PORT_TO,8,8
	.comm	IPSET_ATTR_PORT,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_ip_set_bitmap_port.c_bitmap_port_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"memsize: %zu\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bitmap_port_create, %function
bitmap_port_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, .L19
	mov	r5, r1
	mov	r7, r0
	mov	r0, r1
	ldr	r1, [r6]
	bl	ip_set_attr_netorder
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r0, #1
.L3:
	bl	unlikely
	subs	r4, r0, #0
	beq	.L5
	ldr	r3, .L19+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	ldr	r3, [r6]
	ldr	r0, [r5, r3, lsl #2]
	bl	ip_set_get_h16
	ldr	r3, .L19+8
	mov	r6, r0
	ldr	r3, [r3]
	ldr	r0, [r5, r3, lsl #2]
	bl	ip_set_get_h16
	mov	r3, r0
	ldr	r2, .L19+12
	cmp	r6, r0
	ldr	r1, [r2]
	mov	r0, #8
	movle	r9, r6
	movgt	r9, r3
	movle	r6, r3
	bl	kzalloc
	subs	r8, r0, #0
	beq	.L16
	ldr	r10, .L19+16
	sub	r1, r6, r9
	ldr	r3, [r10]
	ldr	r3, [r5, r3, lsl #2]
	cmp	r3, #0
	beq	.L9
	add	r1, r1, #1
	lsl	r1, r1, #2
	str	r1, [r8]
	mov	r3, r6
	mov	r2, r9
	mov	r1, r8
	mov	r0, r7
	bl	init_map_port
	cmp	r0, #0
	beq	.L17
	ldr	r3, [r10]
	ldr	r0, [r5, r3, lsl #2]
	bl	ip_set_timeout_uget
	ldr	r3, .L19+20
	str	r0, [r8, #4]
	mov	r0, r7
	str	r3, [r7]
	bl	bitmap_port_gc_init
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L19+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	ip_set_attr_netorder
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L19+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	ip_set_optattr_netorder
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L3
.L17:
	mov	r0, r8
	bl	kfree
.L16:
	ldr	r3, .L19+24
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	mov	r0, r4
	bl	bitmap_bytes
	mov	r1, r0
	ldr	r0, .L19+28
	str	r1, [r8]
	bl	pr_debug
	mov	r3, r6
	mov	r2, r9
	mov	r1, r8
	mov	r0, r7
	bl	init_map_port
	cmp	r0, #0
	beq	.L17
	ldr	r3, .L19+32
	str	r3, [r7]
	b	.L1
.L20:
	.align	2
.L19:
	.word	IPSET_ATTR_PORT
	.word	IPSET_ERR_PROTOCOL
	.word	IPSET_ATTR_PORT_TO
	.word	GFP_KERNEL
	.word	IPSET_ATTR_TIMEOUT
	.word	bitmap_tport
	.word	ENOMEM
	.word	.LC0
	.word	bitmap_port
	.size	bitmap_port_create, .-bitmap_port_create
	.comm	bitmap_tport,4,4
	.comm	bitmap_port,4,4
	.comm	IPSET_ERR_PROTOCOL,4,4
	.comm	IPSET_ATTR_TIMEOUT,4,4
	.comm	IPSET_ATTR_PORT_TO,4,4
	.comm	IPSET_ATTR_PORT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
