	.file	"extr_ngx_http_upstream_random_module.c_ngx_http_upstream_update_random.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_http_upstream_update_random, @function
ngx_http_upstream_update_random:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	mov	esi, DWORD PTR ngx_http_upstream_random_module[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdi, rbp
	call	ngx_http_conf_upstream_srv_conf@PLT
	mov	rbp, QWORD PTR 0[rbp]
	mov	rbx, rax
	movsx	r8, DWORD PTR 0[rbp]
	sal	r8, 4
	test	r12, r12
	je	.L2
	mov	rsi, r8
	mov	rdi, r12
	call	ngx_palloc@PLT
	test	rax, rax
	je	.L14
.L4:
	mov	rdx, QWORD PTR 8[rbp]
	test	rdx, rdx
	je	.L6
	mov	rcx, rax
	xor	esi, esi
	.p2align 4,,10
	.p2align 3
.L7:
	mov	QWORD PTR 8[rcx], rdx
	add	rcx, 16
	mov	QWORD PTR -16[rcx], rsi
	add	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR 8[rdx]
	test	rdx, rdx
	jne	.L7
.L6:
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR NGX_OK[rip]
	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
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR ngx_cycle[rip]
	mov	rdi, r8
	mov	esi, DWORD PTR [rax]
	call	ngx_alloc@PLT
	test	rax, rax
	jne	.L4
.L14:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR NGX_ERROR[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_http_upstream_update_random, .-ngx_http_upstream_update_random
	.comm	ngx_http_upstream_random_module,4,4
	.comm	ngx_cycle,8,8
	.comm	NGX_OK,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_http_upstream_random_module.c_ngx_http_upstream_update_random.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_upstream_update_random, %function
ngx_http_upstream_update_random:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r3, .L15
	mov	r5, r0
	mov	r0, r1
	ldr	r1, [r3]
	bl	ngx_http_conf_upstream_srv_conf
	ldr	r6, [r4]
	cmp	r5, #0
	ldr	r1, [r6]
	mov	r4, r0
	lsl	r1, r1, #3
	beq	.L2
	mov	r0, r5
	bl	ngx_palloc
	cmp	r0, #0
	beq	.L14
.L4:
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L6
	mov	r1, r0
	mov	r2, #0
.L7:
	str	r3, [r1, #4]
	str	r2, [r1], #8
	ldr	ip, [r3]
	ldr	r3, [r3, #4]
	add	r2, r2, ip
	cmp	r3, #0
	bne	.L7
.L6:
	ldr	r3, .L15+4
	str	r0, [r4]
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L15+8
	mov	r0, r1
	ldr	r3, [r3]
	ldr	r1, [r3]
	bl	ngx_alloc
	cmp	r0, #0
	bne	.L4
.L14:
	ldr	r3, .L15+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	ngx_http_upstream_random_module
	.word	NGX_OK
	.word	ngx_cycle
	.word	NGX_ERROR
	.size	ngx_http_upstream_update_random, .-ngx_http_upstream_update_random
	.comm	ngx_http_upstream_random_module,4,4
	.comm	ngx_cycle,4,4
	.comm	NGX_OK,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
