	.file	"extr_mpt3sas_ctl.c_host_trace_buffer_enable_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"off\n"
.LC1:
	.string	"release\n"
.LC2:
	.string	"post\n"
	.text
	.p2align 4
	.type	host_trace_buffer_enable_show, @function
host_trace_buffer_enable_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	call	class_to_shost@PLT
	mov	rdi, rax
	call	shost_priv@PLT
	mov	rdx, QWORD PTR MPI2_DIAG_BUF_TYPE_TRACE[rip]
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rcx, QWORD PTR 8[rax]
	mov	ecx, DWORD PTR [rcx+rdx*4]
	test	ecx, ecx
	je	.L3
	mov	rax, QWORD PTR [rax]
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	eax, DWORD PTR [rax+rdx*4]
	test	DWORD PTR MPT3_DIAG_BUFFER_IS_REGISTERED[rip], eax
	je	.L3
	test	DWORD PTR MPT3_DIAG_BUFFER_IS_RELEASED[rip], eax
	je	.L5
	mov	rdi, rbp
	lea	rdx, .LC1[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	snprintf@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rdx, .LC2[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	snprintf@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rdx, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	snprintf@PLT
	.cfi_endproc
.LFE0:
	.size	host_trace_buffer_enable_show, .-host_trace_buffer_enable_show
	.comm	PAGE_SIZE,4,4
	.comm	MPT3_DIAG_BUFFER_IS_RELEASED,4,4
	.comm	MPT3_DIAG_BUFFER_IS_REGISTERED,4,4
	.comm	MPI2_DIAG_BUF_TYPE_TRACE,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_mpt3sas_ctl.c_host_trace_buffer_enable_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"off\012\000"
	.align	2
.LC1:
	.ascii	"release\012\000"
	.align	2
.LC2:
	.ascii	"post\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	host_trace_buffer_enable_show, %function
host_trace_buffer_enable_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r2
	bl	class_to_shost
	bl	shost_priv
	ldr	r3, .L9
	ldr	r1, [r0, #4]
	ldr	r3, [r3]
	ldr	r1, [r1, r3, lsl #2]
	cmp	r1, #0
	beq	.L8
	ldr	r1, [r0]
	ldr	r2, .L9+4
	ldr	r3, [r1, r3, lsl #2]
	ldr	r1, [r2]
	ldr	r2, .L9+8
	tst	r3, r1
	ldr	r1, [r2]
	beq	.L3
	ldr	r2, .L9+12
	mov	r0, r4
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L5
	pop	{r4, lr}
	ldr	r2, .L9+16
	b	snprintf
.L5:
	ldr	r2, .L9+20
	pop	{r4, lr}
	b	snprintf
.L8:
	ldr	r3, .L9+8
	ldr	r1, [r3]
.L3:
	mov	r0, r4
	pop	{r4, lr}
	ldr	r2, .L9+24
	b	snprintf
.L10:
	.align	2
.L9:
	.word	MPI2_DIAG_BUF_TYPE_TRACE
	.word	MPT3_DIAG_BUFFER_IS_REGISTERED
	.word	PAGE_SIZE
	.word	MPT3_DIAG_BUFFER_IS_RELEASED
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	host_trace_buffer_enable_show, .-host_trace_buffer_enable_show
	.comm	PAGE_SIZE,4,4
	.comm	MPT3_DIAG_BUFFER_IS_RELEASED,4,4
	.comm	MPT3_DIAG_BUFFER_IS_REGISTERED,4,4
	.comm	MPI2_DIAG_BUF_TYPE_TRACE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
