	.file	"extr_ngx_eventport_module.c_ngx_eventport_add_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"eventport add event: fd:%d ev:%04Xi"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"port_associate() failed"
	.text
	.p2align 4
	.type	ngx_eventport_add_event, @function
ngx_eventport_add_event:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR NGX_READ_EVENT[rip], rsi
	mov	rax, QWORD PTR POLLIN[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR 24[rdi]
	mov	rbx, rdi
	mov	rdx, QWORD PTR 8[rbp]
	mov	rcx, QWORD PTR 16[rbp]
	jne	.L3
	mov	rax, QWORD PTR POLLOUT[rip]
	mov	rdx, rcx
.L3:
	mov	edx, DWORD PTR [rdx]
	or	rax, r12
	mov	esi, DWORD PTR 20[rbx]
	lea	rcx, .LC0[rip]
	mov	r8d, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_EVENT[rip]
	test	edx, edx
	cmovne	r12, rax
	xor	edx, edx
	mov	r9, r12
	call	ngx_log_debug2@PLT
	mov	r8, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR 0[rbp]
	mov	rcx, r12
	mov	esi, DWORD PTR PORT_SOURCE_FD[rip]
	mov	edi, DWORD PTR ep[rip]
	or	r8, rbx
	call	port_associate@PLT
	cmp	eax, -1
	je	.L9
	mov	DWORD PTR 16[rbx], 1
	mov	rax, QWORD PTR NGX_OK[rip]
	mov	DWORD PTR [rbx], 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR 20[rbx]
	mov	edx, DWORD PTR ngx_errno[rip]
	lea	rcx, .LC1[rip]
	mov	edi, DWORD PTR NGX_LOG_ALERT[rip]
	call	ngx_log_error@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rax, QWORD PTR NGX_ERROR[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_eventport_add_event, .-ngx_eventport_add_event
	.comm	ngx_errno,4,4
	.comm	ep,4,4
	.comm	PORT_SOURCE_FD,4,4
	.comm	POLLOUT,8,8
	.comm	POLLIN,8,8
	.comm	NGX_READ_EVENT,8,8
	.comm	NGX_OK,8,8
	.comm	NGX_LOG_DEBUG_EVENT,4,4
	.comm	NGX_LOG_ALERT,4,4
	.comm	NGX_ERROR,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_ngx_eventport_module.c_ngx_eventport_add_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"eventport add event: fd:%d ev:%04Xi\000"
	.align	2
.LC1:
	.ascii	"port_associate() failed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_eventport_add_event, %function
ngx_eventport_add_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, r5, r6, lr}
	ldr	r2, [r3]
	ldr	r6, [r0, #16]
	cmp	r2, r1
	ldr	r2, [r6, #8]
	ldr	r3, [r6, #4]
	moveq	r3, r2
	mov	r5, r1
	mov	r4, r0
	ldrne	r2, .L13+4
	ldr	r3, [r3]
	ldreq	r1, .L13+8
	ldrne	r2, [r2]
	ldreq	r2, [r1]
	cmp	r3, #0
	orrne	r5, r5, r2
	sub	sp, sp, #8
	str	r5, [sp, #4]
	ldr	r2, [r6]
	ldr	r3, .L13+12
	str	r2, [sp]
	ldr	r0, [r3]
	mov	r2, #0
	ldr	r3, .L13+16
	ldr	r1, [r4, #12]
	bl	ngx_log_debug2
	ldr	r1, [r4, #4]
	ldr	ip, .L13+20
	orr	r1, r4, r1
	ldr	r0, .L13+24
	ldr	r2, [r6]
	str	r1, [sp]
	mov	r3, r5
	ldr	r1, [ip]
	ldr	r0, [r0]
	bl	port_associate
	cmn	r0, #1
	beq	.L12
	mov	r3, #1
	ldr	r2, .L13+28
	str	r3, [r4, #8]
	ldr	r0, [r2]
	str	r3, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L13+32
	ldr	r2, .L13+36
	ldr	r1, [r4, #12]
	ldr	r2, [r2]
	ldr	r0, [r3]
	ldr	r3, .L13+40
	bl	ngx_log_error
	ldr	r3, .L13+44
	ldr	r0, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	NGX_READ_EVENT
	.word	POLLIN
	.word	POLLOUT
	.word	NGX_LOG_DEBUG_EVENT
	.word	.LC0
	.word	PORT_SOURCE_FD
	.word	ep
	.word	NGX_OK
	.word	NGX_LOG_ALERT
	.word	ngx_errno
	.word	.LC1
	.word	NGX_ERROR
	.size	ngx_eventport_add_event, .-ngx_eventport_add_event
	.comm	ngx_errno,4,4
	.comm	ep,4,4
	.comm	PORT_SOURCE_FD,4,4
	.comm	POLLOUT,4,4
	.comm	POLLIN,4,4
	.comm	NGX_READ_EVENT,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_LOG_DEBUG_EVENT,4,4
	.comm	NGX_LOG_ALERT,4,4
	.comm	NGX_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
