	.file	"extr_sati_mode_sense.c_sati_mode_sense_build_std_block_descriptor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sati_mode_sense_build_std_block_descriptor
	.type	sati_mode_sense_build_std_block_descriptor, @function
sati_mode_sense_build_std_block_descriptor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, ecx
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rcx, 20[rsp]
	lea	rdx, 12[rsp]
	mov	DWORD PTR 12[rsp], 0
	lea	rsi, 16[rsp]
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR 20[rsp], 0
	call	sati_ata_identify_device_get_sector_info@PLT
	movzx	ecx, BYTE PTR 15[rsp]
	mov	edx, ebx
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	movzx	ecx, BYTE PTR 14[rsp]
	lea	edx, 1[rbx]
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	movzx	ecx, BYTE PTR 13[rsp]
	lea	edx, 2[rbx]
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	movzx	ecx, BYTE PTR 12[rsp]
	lea	edx, 3[rbx]
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	lea	edx, 4[rbx]
	xor	ecx, ecx
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	movzx	ecx, BYTE PTR 22[rsp]
	lea	edx, 5[rbx]
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	movzx	ecx, BYTE PTR 21[rsp]
	lea	edx, 6[rbx]
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	movzx	ecx, BYTE PTR 20[rsp]
	lea	edx, 7[rbx]
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	eax, DWORD PTR SCSI_MODE_SENSE_STD_BLOCK_DESCRIPTOR_LENGTH[rip]
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sati_mode_sense_build_std_block_descriptor, .-sati_mode_sense_build_std_block_descriptor
	.comm	SCSI_MODE_SENSE_STD_BLOCK_DESCRIPTOR_LENGTH,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_sati_mode_sense.c_sati_mode_sense_build_std_block_descriptor.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sati_mode_sense_build_std_block_descriptor
	.syntax unified
	.arm
	.fpu softvfp
	.type	sati_mode_sense_build_std_block_descriptor, %function
sati_mode_sense_build_std_block_descriptor:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r6, r3
	mov	r7, #0
	sub	sp, sp, #20
	ldr	ip, .L6
	mov	r0, r2
	add	r3, sp, #8
	mov	r2, sp
	add	r1, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r7, [sp]
	str	r7, [sp, #4]
	str	r7, [sp, #8]
	bl	sati_ata_identify_device_get_sector_info
	mov	r2, r6
	mov	r1, r5
	ldrb	r3, [sp, #3]	@ zero_extendqisi2
	mov	r0, r4
	bl	sati_set_data_byte
	mov	r1, r5
	ldrb	r3, [sp, #2]	@ zero_extendqisi2
	add	r2, r6, #1
	mov	r0, r4
	bl	sati_set_data_byte
	mov	r1, r5
	ldrb	r3, [sp, #1]	@ zero_extendqisi2
	add	r2, r6, #2
	mov	r0, r4
	bl	sati_set_data_byte
	mov	r1, r5
	ldrb	r3, [sp]	@ zero_extendqisi2
	add	r2, r6, #3
	mov	r0, r4
	bl	sati_set_data_byte
	mov	r3, r7
	mov	r1, r5
	add	r2, r6, #4
	mov	r0, r4
	bl	sati_set_data_byte
	mov	r1, r5
	ldrb	r3, [sp, #10]	@ zero_extendqisi2
	add	r2, r6, #5
	mov	r0, r4
	bl	sati_set_data_byte
	mov	r1, r5
	ldrb	r3, [sp, #9]	@ zero_extendqisi2
	add	r2, r6, #6
	mov	r0, r4
	bl	sati_set_data_byte
	ldrb	r3, [sp, #8]	@ zero_extendqisi2
	add	r2, r6, #7
	mov	r1, r5
	mov	r0, r4
	bl	sati_set_data_byte
	ldr	r3, .L6+4
	ldr	r0, [r3]
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	SCSI_MODE_SENSE_STD_BLOCK_DESCRIPTOR_LENGTH
	.size	sati_mode_sense_build_std_block_descriptor, .-sati_mode_sense_build_std_block_descriptor
	.comm	SCSI_MODE_SENSE_STD_BLOCK_DESCRIPTOR_LENGTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
