	.file	"extr_ngx_rtsig_module.c_ngx_rtsig_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sigprocmask() failed"
	.text
	.p2align 4
	.type	ngx_rtsig_init, @function
ngx_rtsig_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR ngx_rtsig_module[rip]
	mov	edi, DWORD PTR 4[rdi]
	call	ngx_event_get_conf@PLT
	lea	rdi, set[rip]
	mov	rbx, rax
	call	sigemptyset@PLT
	mov	esi, DWORD PTR 8[rbx]
	lea	rdi, set[rip]
	call	sigaddset@PLT
	mov	eax, DWORD PTR 8[rbx]
	lea	rdi, set[rip]
	lea	esi, 1[rax]
	call	sigaddset@PLT
	mov	esi, DWORD PTR SIGIO[rip]
	lea	rdi, set[rip]
	call	sigaddset@PLT
	mov	esi, DWORD PTR SIGALRM[rip]
	lea	rdi, set[rip]
	call	sigaddset@PLT
	mov	edi, DWORD PTR SIG_BLOCK[rip]
	xor	edx, edx
	lea	rsi, set[rip]
	call	sigprocmask@PLT
	cmp	eax, -1
	je	.L11
	mov	rdi, QWORD PTR overflow_list[rip]
	test	rdi, rdi
	je	.L4
	call	ngx_free@PLT
.L4:
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR 0[rbp]
	sal	edi, 2
	call	ngx_alloc@PLT
	mov	QWORD PTR overflow_list[rip], rax
	test	rax, rax
	je	.L12
	mov	eax, DWORD PTR ngx_os_io[rip]
	mov	DWORD PTR ngx_io[rip], eax
	mov	eax, DWORD PTR ngx_rtsig_module_ctx[rip]
	mov	DWORD PTR ngx_event_actions[rip], eax
	mov	eax, DWORD PTR NGX_USE_RTSIG_EVENT[rip]
	or	eax, DWORD PTR NGX_USE_GREEDY_EVENT[rip]
	or	eax, DWORD PTR NGX_USE_FD_EVENT[rip]
	mov	DWORD PTR ngx_event_flags[rip], eax
	mov	eax, DWORD PTR NGX_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR NGX_ERROR[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR ngx_errno[rip]
	lea	rcx, .LC0[rip]
	mov	edi, DWORD PTR NGX_LOG_EMERG[rip]
	call	ngx_log_error@PLT
	mov	eax, DWORD PTR NGX_ERROR[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_rtsig_init, .-ngx_rtsig_init
	.comm	set,4,4
	.comm	overflow_list,8,8
	.comm	ngx_rtsig_module_ctx,4,4
	.comm	ngx_rtsig_module,4,4
	.comm	ngx_os_io,4,4
	.comm	ngx_io,4,4
	.comm	ngx_event_flags,4,4
	.comm	ngx_event_actions,4,4
	.comm	ngx_errno,4,4
	.comm	SIG_BLOCK,4,4
	.comm	SIGIO,4,4
	.comm	SIGALRM,4,4
	.comm	NGX_USE_RTSIG_EVENT,4,4
	.comm	NGX_USE_GREEDY_EVENT,4,4
	.comm	NGX_USE_FD_EVENT,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_LOG_EMERG,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
	.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_rtsig_module.c_ngx_rtsig_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sigprocmask() failed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_rtsig_init, %function
ngx_rtsig_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, r5, r6, lr}
	ldr	r1, [r3]
	mov	r5, r0
	ldr	r0, [r0, #4]
	bl	ngx_event_get_conf
	mov	r4, r0
	ldr	r0, .L13+4
	bl	sigemptyset
	ldr	r1, [r4, #4]
	ldr	r0, .L13+4
	bl	sigaddset
	ldr	r1, [r4, #4]
	ldr	r0, .L13+4
	add	r1, r1, #1
	bl	sigaddset
	ldr	r3, .L13+8
	ldr	r0, .L13+4
	ldr	r1, [r3]
	bl	sigaddset
	ldr	r3, .L13+12
	ldr	r0, .L13+4
	ldr	r1, [r3]
	bl	sigaddset
	ldr	r3, .L13+16
	mov	r2, #0
	ldr	r0, [r3]
	ldr	r1, .L13+4
	bl	sigprocmask
	cmn	r0, #1
	beq	.L11
	ldr	r6, .L13+20
	ldr	r0, [r6]
	cmp	r0, #0
	beq	.L4
	bl	ngx_free
.L4:
	ldr	r0, [r4]
	ldr	r1, [r5]
	lsl	r0, r0, #2
	bl	ngx_alloc
	cmp	r0, #0
	str	r0, [r6]
	beq	.L12
	ldr	r2, .L13+24
	ldr	r3, .L13+28
	ldr	r1, .L13+32
	ldr	lr, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, lr
	ldr	ip, .L13+36
	ldr	lr, .L13+40
	ldr	r2, .L13+44
	orr	r3, r3, r1
	ldr	ip, [ip]
	ldr	r2, [r2]
	ldr	r1, .L13+48
	str	r3, [lr]
	ldr	r0, .L13+52
	ldr	r3, .L13+56
	ldr	r0, [r0]
	str	ip, [r1]
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L13+60
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, .L13+64
	ldr	r2, .L13+68
	ldr	r1, [r5]
	ldr	r2, [r2]
	ldr	r0, [r3]
	ldr	r3, .L13+72
	bl	ngx_log_error
	ldr	r3, .L13+60
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	ngx_rtsig_module
	.word	set
	.word	SIGIO
	.word	SIGALRM
	.word	SIG_BLOCK
	.word	overflow_list
	.word	NGX_USE_GREEDY_EVENT
	.word	NGX_USE_RTSIG_EVENT
	.word	NGX_USE_FD_EVENT
	.word	ngx_os_io
	.word	ngx_event_flags
	.word	ngx_rtsig_module_ctx
	.word	ngx_io
	.word	NGX_OK
	.word	ngx_event_actions
	.word	NGX_ERROR
	.word	NGX_LOG_EMERG
	.word	ngx_errno
	.word	.LC0
	.size	ngx_rtsig_init, .-ngx_rtsig_init
	.comm	set,4,4
	.comm	overflow_list,4,4
	.comm	ngx_rtsig_module_ctx,4,4
	.comm	ngx_rtsig_module,4,4
	.comm	ngx_os_io,4,4
	.comm	ngx_io,4,4
	.comm	ngx_event_flags,4,4
	.comm	ngx_event_actions,4,4
	.comm	ngx_errno,4,4
	.comm	SIG_BLOCK,4,4
	.comm	SIGIO,4,4
	.comm	SIGALRM,4,4
	.comm	NGX_USE_RTSIG_EVENT,4,4
	.comm	NGX_USE_GREEDY_EVENT,4,4
	.comm	NGX_USE_FD_EVENT,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_LOG_EMERG,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
