	.file	"extr_sm_make_chunk.c_sctp_process_hn_param.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sctp_process_hn_param, @function
sctp_process_hn_param:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR [rsi]
	mov	rbx, rcx
	call	ntohs@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	ebp, eax
	test	rdi, rdi
	je	.L2
	call	sctp_chunk_free@PLT
.L2:
	mov	rdi, r13
	mov	edx, ebp
	mov	rsi, r14
	call	sctp_make_op_error_space@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L3
	mov	esi, DWORD PTR SCTP_ERROR_DNS_FAILED[rip]
	mov	edx, ebp
	call	sctp_init_cause@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	edx, r12d
	mov	esi, ebp
	call	sctp_addto_chunk@PLT
.L3:
	pop	rbx
	.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
	.cfi_endproc
.LFE0:
	.size	sctp_process_hn_param, .-sctp_process_hn_param
	.comm	SCTP_ERROR_DNS_FAILED,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_sm_make_chunk.c_sctp_process_hn_param.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_process_hn_param, %function
sctp_process_hn_param:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	ldr	r0, [r1]
	mov	r4, r3
	mov	r6, r1
	mov	r8, r2
	bl	ntohs
	mov	r5, r0
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L2
	bl	sctp_chunk_free
.L2:
	mov	r1, r8
	mov	r0, r7
	mov	r2, r5
	bl	sctp_make_op_error_space
	cmp	r0, #0
	str	r0, [r4]
	beq	.L3
	ldr	r3, .L12
	mov	r2, r5
	ldr	r1, [r3]
	bl	sctp_init_cause
	mov	r2, r6
	mov	r1, r5
	ldr	r0, [r4]
	bl	sctp_addto_chunk
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	SCTP_ERROR_DNS_FAILED
	.size	sctp_process_hn_param, .-sctp_process_hn_param
	.comm	SCTP_ERROR_DNS_FAILED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
