	.file	"extr_blkfront.c_xbd_setup_sysctl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"max_requests"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"maximum outstanding requests (negotiated)"
	.section	.rodata.str1.1
.LC2:
	.string	"max_request_segments"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"maximum number of pages per requests (negotiated)"
	.section	.rodata.str1.1
.LC4:
	.string	"max_request_size"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"maximum size in bytes of a request (negotiated)"
	.section	.rodata.str1.1
.LC6:
	.string	"ring_pages"
	.section	.rodata.str1.8
	.align 8
.LC7:
	.string	"communication channel pages (negotiated)"
	.section	.rodata.str1.1
.LC8:
	.string	"features"
	.section	.rodata.str1.8
	.align 8
.LC9:
	.string	"protocol features (negotiated)"
	.section	.rodata.str1.1
.LC10:
	.string	"A"
	.text
	.p2align 4
	.type	xbd_setup_sysctl, @function
xbd_setup_sysctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR 16[rdi]
	call	device_get_sysctl_ctx@PLT
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR 16[rbx]
	mov	rbp, rax
	call	device_get_sysctl_tree@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L1
	call	SYSCTL_CHILDREN@PLT
	mov	r8d, DWORD PTR CTLFLAG_RD[rip]
	lea	r9, 12[rbx]
	mov	edx, DWORD PTR OID_AUTO[rip]
	mov	r12, rax
	lea	rax, .LC1[rip]
	lea	rcx, .LC0[rip]
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 40
	mov	rsi, r12
	push	-1
	.cfi_def_cfa_offset 48
	call	SYSCTL_ADD_UINT@PLT
	lea	rax, .LC3[rip]
	lea	r9, 8[rbx]
	mov	rsi, r12
	push	rax
	.cfi_def_cfa_offset 56
	mov	edx, DWORD PTR OID_AUTO[rip]
	mov	rdi, rbp
	lea	rcx, .LC2[rip]
	push	0
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR CTLFLAG_RD[rip]
	call	SYSCTL_ADD_UINT@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 32
	lea	r9, 4[rbx]
	mov	rsi, r12
	lea	rax, .LC5[rip]
	mov	edx, DWORD PTR OID_AUTO[rip]
	mov	rdi, rbp
	mov	r8d, DWORD PTR CTLFLAG_RD[rip]
	push	rax
	.cfi_def_cfa_offset 40
	lea	rcx, .LC4[rip]
	push	0
	.cfi_def_cfa_offset 48
	call	SYSCTL_ADD_UINT@PLT
	lea	rax, .LC7[rip]
	mov	r9, rbx
	mov	rsi, r12
	push	rax
	.cfi_def_cfa_offset 56
	mov	edx, DWORD PTR OID_AUTO[rip]
	mov	rdi, rbp
	lea	rcx, .LC6[rip]
	push	0
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR CTLFLAG_RD[rip]
	call	SYSCTL_ADD_UINT@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 32
	mov	r9, rbx
	mov	rsi, r12
	lea	rax, .LC9[rip]
	mov	edx, DWORD PTR OID_AUTO[rip]
	mov	rdi, rbp
	mov	r8d, DWORD PTR CTLTYPE_STRING[rip]
	push	rax
	.cfi_def_cfa_offset 40
	lea	rax, .LC10[rip]
	or	r8d, DWORD PTR CTLFLAG_RD[rip]
	lea	rcx, .LC8[rip]
	push	rax
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR xbd_sysctl_features[rip]
	push	rax
	.cfi_def_cfa_offset 56
	push	0
	.cfi_def_cfa_offset 64
	call	SYSCTL_ADD_PROC@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 32
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xbd_setup_sysctl, .-xbd_setup_sysctl
	.comm	xbd_sysctl_features,4,4
	.comm	OID_AUTO,4,4
	.comm	CTLTYPE_STRING,4,4
	.comm	CTLFLAG_RD,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_blkfront.c_xbd_setup_sysctl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"max_requests\000"
	.align	2
.LC1:
	.ascii	"maximum outstanding requests (negotiated)\000"
	.align	2
.LC2:
	.ascii	"max_request_segments\000"
	.align	2
.LC3:
	.ascii	"maximum number of pages per requests (negotiated)\000"
	.align	2
.LC4:
	.ascii	"max_request_size\000"
	.align	2
.LC5:
	.ascii	"maximum size in bytes of a request (negotiated)\000"
	.align	2
.LC6:
	.ascii	"ring_pages\000"
	.align	2
.LC7:
	.ascii	"communication channel pages (negotiated)\000"
	.align	2
.LC8:
	.ascii	"features\000"
	.align	2
.LC9:
	.ascii	"protocol features (negotiated)\000"
	.align	2
.LC10:
	.ascii	"A\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xbd_setup_sysctl, %function
xbd_setup_sysctl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	sub	sp, sp, #28
	ldr	r0, [r0, #16]
	bl	device_get_sysctl_ctx
	subs	r5, r0, #0
	beq	.L1
	ldr	r0, [r4, #16]
	bl	device_get_sysctl_tree
	cmp	r0, #0
	beq	.L1
	bl	SYSCTL_CHILDREN
	mvn	r2, #0
	mov	r6, r0
	mov	r9, #0
	ldr	r8, .L10
	ldr	r7, .L10+4
	ldr	ip, [r8]
	ldr	r0, .L10+8
	add	r3, r4, #12
	str	ip, [sp]
	mov	r1, r6
	str	r2, [sp, #8]
	str	r0, [sp, #12]
	ldr	r2, [r7]
	str	r3, [sp, #4]
	mov	r0, r5
	ldr	r3, .L10+12
	bl	SYSCTL_ADD_UINT
	ldr	r2, [r8]
	ldr	r0, .L10+16
	add	r3, r4, #8
	mov	r1, r6
	str	r2, [sp]
	str	r0, [sp, #12]
	ldr	r2, [r7]
	str	r3, [sp, #4]
	mov	r0, r5
	ldr	r3, .L10+20
	str	r9, [sp, #8]
	bl	SYSCTL_ADD_UINT
	ldr	r2, [r8]
	ldr	r0, .L10+24
	add	r3, r4, #4
	mov	r1, r6
	str	r2, [sp]
	str	r0, [sp, #12]
	ldr	r2, [r7]
	str	r3, [sp, #4]
	mov	r0, r5
	ldr	r3, .L10+28
	str	r9, [sp, #8]
	bl	SYSCTL_ADD_UINT
	ldr	r2, [r8]
	ldr	r3, .L10+32
	mov	r1, r6
	str	r2, [sp]
	str	r3, [sp, #12]
	ldr	r2, [r7]
	ldr	r3, .L10+36
	mov	r0, r5
	stmib	sp, {r4, r9}
	bl	SYSCTL_ADD_UINT
	ldr	r3, .L10+40
	ldr	r1, .L10+44
	ldr	r2, [r8]
	ldr	r3, [r3]
	ldr	r8, [r1]
	ldr	lr, .L10+48
	ldr	ip, .L10+52
	orr	r3, r3, r2
	str	r3, [sp]
	mov	r1, r6
	mov	r0, r5
	ldr	r2, [r7]
	ldr	r3, .L10+56
	str	r9, [sp, #8]
	str	r4, [sp, #4]
	str	r8, [sp, #12]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	bl	SYSCTL_ADD_PROC
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	CTLFLAG_RD
	.word	OID_AUTO
	.word	.LC1
	.word	.LC0
	.word	.LC3
	.word	.LC2
	.word	.LC5
	.word	.LC4
	.word	.LC7
	.word	.LC6
	.word	CTLTYPE_STRING
	.word	xbd_sysctl_features
	.word	.LC9
	.word	.LC10
	.word	.LC8
	.size	xbd_setup_sysctl, .-xbd_setup_sysctl
	.comm	xbd_sysctl_features,4,4
	.comm	OID_AUTO,4,4
	.comm	CTLTYPE_STRING,4,4
	.comm	CTLFLAG_RD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
