	.file	"extr_dasd_diag.c_dasd_diag_setup_blk_queue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dasd_diag_setup_blk_queue, @function
dasd_diag_setup_blk_queue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, DWORD PTR DIAG_MAX_BLOCKS[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, QWORD PTR 8[rdi]
	mov	ecx, DWORD PTR 4[rdi]
	mov	r13d, DWORD PTR [rdi]
	mov	edi, DWORD PTR QUEUE_FLAG_NONROT[rip]
	mov	rsi, rbp
	sal	r12d, cl
	call	blk_queue_flag_set@PLT
	mov	DWORD PTR 0[rbp], r12d
	mov	esi, r13d
	mov	rdi, rbp
	call	blk_queue_logical_block_size@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	blk_queue_max_hw_sectors@PLT
	mov	esi, DWORD PTR USHRT_MAX[rip]
	mov	rdi, rbp
	call	blk_queue_max_segments@PLT
	mov	rsi, QWORD PTR PAGE_SIZE[rip]
	mov	rdi, rbp
	call	blk_queue_max_segment_size@PLT
	mov	rax, QWORD PTR PAGE_SIZE[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	lea	rsi, -1[rax]
	jmp	blk_queue_segment_boundary@PLT
	.cfi_endproc
.LFE0:
	.size	dasd_diag_setup_blk_queue, .-dasd_diag_setup_blk_queue
	.comm	USHRT_MAX,4,4
	.comm	QUEUE_FLAG_NONROT,4,4
	.comm	PAGE_SIZE,8,8
	.comm	DIAG_MAX_BLOCKS,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_dasd_diag.c_dasd_diag_setup_blk_queue.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dasd_diag_setup_blk_queue, %function
dasd_diag_setup_blk_queue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, lr}
	ldmib	r0, {r2, r4}
	ldr	r5, [r3]
	ldr	r3, .L4+4
	ldr	r6, [r0]
	lsl	r5, r5, r2
	ldr	r0, [r3]
	mov	r1, r4
	bl	blk_queue_flag_set
	mov	r1, r6
	str	r5, [r4]
	mov	r0, r4
	bl	blk_queue_logical_block_size
	mov	r1, r5
	mov	r0, r4
	bl	blk_queue_max_hw_sectors
	ldr	r3, .L4+8
	ldr	r5, .L4+12
	ldr	r1, [r3]
	mov	r0, r4
	bl	blk_queue_max_segments
	ldr	r1, [r5]
	mov	r0, r4
	bl	blk_queue_max_segment_size
	ldr	r1, [r5]
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	sub	r1, r1, #1
	b	blk_queue_segment_boundary
.L5:
	.align	2
.L4:
	.word	DIAG_MAX_BLOCKS
	.word	QUEUE_FLAG_NONROT
	.word	USHRT_MAX
	.word	PAGE_SIZE
	.size	dasd_diag_setup_blk_queue, .-dasd_diag_setup_blk_queue
	.comm	USHRT_MAX,4,4
	.comm	QUEUE_FLAG_NONROT,4,4
	.comm	PAGE_SIZE,4,4
	.comm	DIAG_MAX_BLOCKS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
