	.file	"extr_ngx_http_dav_module.c_ngx_http_dav_mkcol_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"MKCOL with body is unsupported"
	.align 8
.LC1:
	.string	"MKCOL can create a collection only"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"http mkcol path: \"%s\""
	.text
	.p2align 4
	.type	ngx_http_dav_mkcol_handler, @function
ngx_http_dav_mkcol_handler:
.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, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 24[rdi], 0
	jg	.L12
	movsx	rax, DWORD PTR 16[rdi]
	mov	rdx, QWORD PTR 8[rdi]
	cmp	BYTE PTR -1[rdx+rax], 47
	je	.L4
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR NGX_LOG_ERR[rip]
	lea	rcx, .LC1[rip]
	xor	edx, edx
	mov	esi, DWORD PTR [rax]
	call	ngx_log_error@PLT
	mov	eax, DWORD PTR NGX_HTTP_CONFLICT[rip]
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.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
.L4:
	.cfi_restore_state
	mov	rbx, rsi
	lea	rdx, 16[rsp]
	lea	rsi, 12[rsp]
	xor	ecx, ecx
	call	ngx_http_map_uri_to_path@PLT
	test	rax, rax
	je	.L10
	mov	BYTE PTR -1[rax], 0
	mov	rax, QWORD PTR 0[rbp]
	xor	edx, edx
	lea	rcx, .LC2[rip]
	sub	DWORD PTR 16[rbp], 1
	mov	r8d, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR [rax]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_HTTP[rip]
	call	ngx_log_debug1@PLT
	mov	edi, DWORD PTR [rbx]
	call	ngx_dir_access@PLT
	mov	edi, DWORD PTR 12[rsp]
	mov	esi, eax
	call	ngx_create_dir@PLT
	cmp	rax, QWORD PTR NGX_FILE_ERROR[rip]
	je	.L6
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rbp
	call	ngx_http_dav_location@PLT
	mov	r8, rax
	cmp	r8, QWORD PTR NGX_OK[rip]
	mov	eax, DWORD PTR NGX_HTTP_CREATED[rip]
	je	.L1
.L10:
	mov	eax, DWORD PTR NGX_HTTP_INTERNAL_SERVER_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR NGX_LOG_ERR[rip]
	lea	rcx, .LC0[rip]
	xor	edx, edx
	mov	esi, DWORD PTR [rax]
	call	ngx_log_error@PLT
	mov	eax, DWORD PTR NGX_HTTP_UNSUPPORTED_MEDIA_TYPE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 0[rbp]
	mov	r8d, DWORD PTR 12[rsp]
	mov	ecx, DWORD PTR ngx_create_dir_n[rip]
	mov	edx, DWORD PTR NGX_HTTP_CONFLICT[rip]
	mov	esi, DWORD PTR ngx_errno[rip]
	mov	edi, DWORD PTR [rax]
	call	ngx_http_dav_error@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_http_dav_mkcol_handler, .-ngx_http_dav_mkcol_handler
	.comm	ngx_errno,4,4
	.comm	ngx_create_dir_n,4,4
	.comm	NGX_OK,8,8
	.comm	NGX_LOG_ERR,4,4
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.comm	NGX_HTTP_UNSUPPORTED_MEDIA_TYPE,4,4
	.comm	NGX_HTTP_INTERNAL_SERVER_ERROR,4,4
	.comm	NGX_HTTP_CREATED,4,4
	.comm	NGX_HTTP_CONFLICT,4,4
	.comm	NGX_FILE_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_http_dav_module.c_ngx_http_dav_mkcol_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"MKCOL with body is unsupported\000"
	.align	2
.LC1:
	.ascii	"MKCOL can create a collection only\000"
	.align	2
.LC2:
	.ascii	"http mkcol path: \"%s\"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_dav_mkcol_handler, %function
ngx_http_dav_mkcol_handler:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0, #12]
	sub	sp, sp, #28
	cmp	r3, #0
	ldr	r3, .L14
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bgt	.L12
	ldmib	r0, {r2, r3}
	add	r3, r3, r2
	ldrb	r3, [r3, #-1]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L4
	ldr	r2, [r0]
	ldr	r3, .L14+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, #0
	ldr	r3, .L14+8
	bl	ngx_log_error
	ldr	r3, .L14+12
	ldr	r0, [r3]
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L4:
	mov	r5, r1
	mov	r3, #0
	add	r2, sp, #12
	add	r1, sp, #16
	bl	ngx_http_map_uri_to_path
	cmp	r0, #0
	beq	.L10
	mov	r2, #0
	strb	r2, [r0, #-1]
	ldr	r3, [r4, #8]
	ldr	ip, [sp, #16]
	ldr	r1, [r4]
	sub	r3, r3, #1
	ldr	r0, .L14+16
	ldr	r1, [r1]
	str	r3, [r4, #8]
	str	ip, [sp]
	ldr	r3, .L14+20
	ldr	r0, [r0]
	bl	ngx_log_debug1
	ldr	r0, [r5]
	ldr	r5, [sp, #16]
	bl	ngx_dir_access
	mov	r1, r0
	mov	r0, r5
	bl	ngx_create_dir
	ldr	r3, .L14+24
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L6
	mov	r0, r4
	ldr	r1, [sp, #16]
	bl	ngx_http_dav_location
	ldr	r3, .L14+28
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L10
	ldr	r3, .L14+32
	ldr	r0, [r3]
	b	.L1
.L12:
	ldr	r2, [r0]
	ldr	r3, .L14+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, #0
	ldr	r3, .L14+36
	bl	ngx_log_error
	ldr	r3, .L14+40
	ldr	r0, [r3]
	b	.L1
.L10:
	ldr	r3, .L14+44
	ldr	r0, [r3]
	b	.L1
.L6:
	ldr	r2, [r4]
	ldr	ip, [sp, #16]
	ldr	r0, [r2]
	ldr	r3, .L14+48
	ldr	r2, .L14+12
	ldr	r1, .L14+52
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	ip, [sp]
	bl	ngx_http_dav_error
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	NGX_LOG_ERR
	.word	.LC1
	.word	NGX_HTTP_CONFLICT
	.word	NGX_LOG_DEBUG_HTTP
	.word	.LC2
	.word	NGX_FILE_ERROR
	.word	NGX_OK
	.word	NGX_HTTP_CREATED
	.word	.LC0
	.word	NGX_HTTP_UNSUPPORTED_MEDIA_TYPE
	.word	NGX_HTTP_INTERNAL_SERVER_ERROR
	.word	ngx_create_dir_n
	.word	ngx_errno
	.size	ngx_http_dav_mkcol_handler, .-ngx_http_dav_mkcol_handler
	.comm	ngx_errno,4,4
	.comm	ngx_create_dir_n,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_LOG_ERR,4,4
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.comm	NGX_HTTP_UNSUPPORTED_MEDIA_TYPE,4,4
	.comm	NGX_HTTP_INTERNAL_SERVER_ERROR,4,4
	.comm	NGX_HTTP_CREATED,4,4
	.comm	NGX_HTTP_CONFLICT,4,4
	.comm	NGX_FILE_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
