	.file	"extr_scsi_all.c_scsi_attrib_prefix_sbuf.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	" "
.LC2:
	.string	"RO"
.LC3:
	.string	"RW"
.LC4:
	.string	"%s"
.LC5:
	.string	"%s(0x%.4x)"
.LC6:
	.string	"%s[%d]"
.LC7:
	.string	"%s(%s)"
.LC8:
	.string	": "
	.text
	.p2align 4
	.globl	scsi_attrib_prefix_sbuf
	.type	scsi_attrib_prefix_sbuf, @function
scsi_attrib_prefix_sbuf:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	ecx, 11
	ja	.L35
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 8[rdx]
	call	scsi_2btoul@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	r14d, eax
	call	scsi_2btoul@PLT
	mov	r15d, eax
	mov	eax, DWORD PTR SCSI_ATTR_OUTPUT_FIELD_MASK[rip]
	and	eax, ebx
	cmp	eax, DWORD PTR SCSI_ATTR_OUTPUT_FIELD_NONE[rip]
	je	.L1
	test	DWORD PTR SCSI_ATTR_OUTPUT_FIELD_DESC[rip], ebx
	je	.L8
	test	r12, r12
	je	.L8
	mov	rdx, r12
	lea	rsi, .LC4[rip]
	mov	rdi, r13
	xor	eax, eax
	call	sbuf_printf@PLT
	lea	rdx, .LC1[rip]
	test	DWORD PTR SCSI_ATTR_OUTPUT_FIELD_NUM[rip], ebx
	jne	.L6
	test	DWORD PTR SCSI_ATTR_OUTPUT_FIELD_SIZE[rip], ebx
	je	.L36
	lea	rdx, .LC1[rip]
.L15:
	mov	ecx, r15d
	lea	rsi, .LC6[rip]
	mov	rdi, r13
	xor	eax, eax
	call	sbuf_printf@PLT
.L33:
	xor	eax, eax
.L11:
	test	DWORD PTR SCSI_ATTR_OUTPUT_FIELD_RW[rip], ebx
	je	.L12
	mov	edx, DWORD PTR 0[rbp]
	lea	rcx, .LC2[rip]
	test	DWORD PTR SMA_READ_ONLY[rip], edx
	mov	rdi, r13
	lea	rdx, .LC3[rip]
	lea	rsi, .LC7[rip]
	cmove	rcx, rdx
	test	eax, eax
	lea	rdx, .LC1[rip]
	lea	rax, .LC0[rip]
	cmove	rdx, rax
	xor	eax, eax
	call	sbuf_printf@PLT
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	lea	rsi, .LC8[rip]
	xor	eax, eax
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	sbuf_printf@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	test	DWORD PTR SCSI_ATTR_OUTPUT_FIELD_NUM[rip], ebx
	je	.L32
	lea	rdx, .LC0[rip]
.L6:
	mov	ecx, r14d
	lea	rsi, .LC5[rip]
	mov	rdi, r13
	xor	eax, eax
	call	sbuf_printf@PLT
.L32:
	test	DWORD PTR SCSI_ATTR_OUTPUT_FIELD_SIZE[rip], ebx
	je	.L33
	lea	rdx, .LC0[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L36:
	.cfi_restore_state
	mov	eax, 1
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	scsi_attrib_prefix_sbuf, .-scsi_attrib_prefix_sbuf
	.comm	SMA_READ_ONLY,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_SIZE,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_RW,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_NUM,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_NONE,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_MASK,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_DESC,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_scsi_all.c_scsi_attrib_prefix_sbuf.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	" \000"
	.align	2
.LC2:
	.ascii	"RO\000"
	.align	2
.LC3:
	.ascii	"RW\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"%s(0x%.4x)\000"
	.align	2
.LC6:
	.ascii	"%s[%d]\000"
	.align	2
.LC7:
	.ascii	"%s(%s)\000"
	.align	2
.LC8:
	.ascii	": \000"
	.text
	.align	2
	.global	scsi_attrib_prefix_sbuf
	.syntax unified
	.arm
	.fpu softvfp
	.type	scsi_attrib_prefix_sbuf, %function
scsi_attrib_prefix_sbuf:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r3, #11
	ldr	r9, [sp, #32]
	popls	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r6, r0
	ldr	r0, [r2, #8]
	mov	r4, r1
	mov	r5, r2
	bl	scsi_2btoul
	mov	r8, r0
	ldr	r0, [r5, #4]
	bl	scsi_2btoul
	ldr	r2, .L39
	ldr	r3, .L39+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	and	r1, r1, r4
	cmp	r1, r3
	mov	r7, r0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r3, .L39+8
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L8
	cmp	r9, #0
	beq	.L8
	mov	r2, r9
	mov	r0, r6
	ldr	r1, .L39+12
	bl	sbuf_printf
	ldr	r3, .L39+16
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L9
	ldr	r2, .L39+20
.L6:
	mov	r3, r8
	mov	r0, r6
	ldr	r1, .L39+24
	bl	sbuf_printf
.L36:
	ldr	r3, .L39+28
	ldr	r3, [r3]
	tst	r4, r3
	ldrne	r2, .L39+32
	bne	.L16
.L33:
	ldr	r3, .L39+36
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L12
	ldr	r2, .L39+32
.L13:
	ldr	r3, .L39+40
	ldr	ip, [r5]
	ldr	r0, [r3]
	ldr	r1, .L39+44
	tst	ip, r0
	ldr	r3, .L39+48
	mov	r0, r6
	movne	r3, r1
	ldr	r1, .L39+52
	bl	sbuf_printf
.L12:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, .L39+56
	b	sbuf_printf
.L8:
	ldr	r3, .L39+16
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L36
	ldr	r2, .L39+32
	b	.L6
.L9:
	ldr	r3, .L39+28
	ldr	r3, [r3]
	tst	r4, r3
	ldrne	r2, .L39+20
	beq	.L38
.L16:
	mov	r3, r7
	mov	r0, r6
	ldr	r1, .L39+60
	bl	sbuf_printf
	b	.L33
.L38:
	ldr	r3, .L39+36
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L12
	ldr	r2, .L39+20
	b	.L13
.L40:
	.align	2
.L39:
	.word	SCSI_ATTR_OUTPUT_FIELD_MASK
	.word	SCSI_ATTR_OUTPUT_FIELD_NONE
	.word	SCSI_ATTR_OUTPUT_FIELD_DESC
	.word	.LC4
	.word	SCSI_ATTR_OUTPUT_FIELD_NUM
	.word	.LC1
	.word	.LC5
	.word	SCSI_ATTR_OUTPUT_FIELD_SIZE
	.word	.LC0
	.word	SCSI_ATTR_OUTPUT_FIELD_RW
	.word	SMA_READ_ONLY
	.word	.LC2
	.word	.LC3
	.word	.LC7
	.word	.LC8
	.word	.LC6
	.size	scsi_attrib_prefix_sbuf, .-scsi_attrib_prefix_sbuf
	.comm	SMA_READ_ONLY,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_SIZE,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_RW,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_NUM,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_NONE,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_MASK,4,4
	.comm	SCSI_ATTR_OUTPUT_FIELD_DESC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
