	.file	"extr_gdth.c_gdth_log_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"gdth_log_event()\n"
.LC1:
	.string	"Adapter %d: %s\n"
.LC2:
	.string	"\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"GDT HA %u, Unknown async. event service %d event no. %d\n"
	.align 8
.LC4:
	.string	"GDT HA %u, Unknown async. event service %d event no. %d"
	.text
	.p2align 4
	.type	gdth_log_event, @function
gdth_log_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	lea	rdi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	TRACE2@PLT
	cmp	QWORD PTR [rbx], 0
	jne	.L2
	mov	rcx, QWORD PTR 8[rbx]
	mov	r8d, DWORD PTR 16[rbx]
	test	rbp, rbp
	je	.L20
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	edx, r8d
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rsi, .LC1[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	sprintf@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r9, QWORD PTR 24[rbx]
	cmp	r9, QWORD PTR CACHESERVICE[rip]
	mov	r8, QWORD PTR 32[rbx]
	je	.L21
.L4:
	mov	r10d, DWORD PTR 16[rbx]
	test	rbp, rbp
	je	.L22
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	rcx, r9
	mov	edx, r10d
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rsi, .LC4[rip]
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	sprintf@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, rcx
	mov	esi, r8d
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rdi, .LC1[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	printk@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rcx, r8
	mov	rdx, r9
	mov	esi, r10d
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rdi, .LC3[rip]
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	printk@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rsi, QWORD PTR async_cache_tab[rip]
	mov	rdi, r8
	call	INDEX_OK@PLT
	test	rax, rax
	jne	.L5
	mov	r8, QWORD PTR 32[rbx]
	mov	r9, QWORD PTR 24[rbx]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR 32[rbx]
	call	TRACE2@PLT
	mov	rdx, QWORD PTR 32[rbx]
	mov	rax, QWORD PTR async_cache_tab[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	movsx	r8, BYTE PTR [rdi]
	cmp	r8b, 1
	jle	.L14
	movsx	edx, r8b
	lea	rax, 1[rdi]
	xor	ecx, ecx
	sub	edx, 2
	shr	edx
	lea	rsi, 3[rdi+rdx*2]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	cmp	dl, 1
	je	.L11
.L12:
	add	rax, 2
	cmp	rsi, rax
	je	.L14
.L13:
	movzx	edx, BYTE PTR 1[rax]
	cmp	dl, 2
	je	.L11
	cmp	dl, 4
	jne	.L23
.L11:
	movsx	r10, BYTE PTR [rax]
	mov	r9, QWORD PTR 40[rbx]
	movsx	rdx, ecx
	add	ecx, 1
	mov	r9d, DWORD PTR [r9+r10*4]
	mov	DWORD PTR 0[0+rdx*4], r9d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	add	r8, rdi
	test	rbp, rbp
	je	.L24
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	edx, edx
	mov	rsi, r8
	pop	rbx
	.cfi_def_cfa_offset 16
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	sprintf@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	xor	edx, edx
	mov	rdi, r8
	xor	eax, eax
	mov	rsi, rdx
	call	printk@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, .LC2[rip]
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	printk@PLT
	.cfi_endproc
.LFE0:
	.size	gdth_log_event, .-gdth_log_event
	.comm	async_cache_tab,8,8
	.comm	CACHESERVICE,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_gdth.c_gdth_log_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gdth_log_event()\012\000"
	.align	2
.LC1:
	.ascii	"Adapter %d: %s\012\000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.align	2
.LC3:
	.ascii	"GDT HA %u, Unknown async. event service %d event no"
	.ascii	". %d\012\000"
	.align	2
.LC4:
	.ascii	"GDT HA %u, Unknown async. event service %d event no"
	.ascii	". %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gdth_log_event, %function
gdth_log_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	sub	sp, sp, #12
	ldr	r0, .L25
	mov	r5, r1
	bl	TRACE2
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L2
	cmp	r5, #0
	ldr	r1, [r4, #8]
	ldr	r3, [r4, #4]
	beq	.L20
	mov	r2, r1
	mov	r0, r5
	ldr	r1, .L25+4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	sprintf
.L2:
	ldr	r3, .L25+8
	ldr	r2, [r4, #12]
	ldr	r1, [r3]
	ldr	r3, [r4, #16]
	cmp	r2, r1
	beq	.L21
.L4:
	cmp	r5, #0
	ldr	r1, [r4, #8]
	beq	.L22
	str	r3, [sp]
	mov	r0, r5
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L25+12
	bl	sprintf
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L20:
	mov	r2, r3
	ldr	r0, .L25+4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	printk
.L22:
	ldr	r0, .L25+16
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	printk
.L21:
	ldr	r6, .L25+20
	mov	r0, r3
	ldr	r1, [r6]
	bl	INDEX_OK
	cmp	r0, #0
	ldreq	r2, [r4, #12]
	ldreq	r3, [r4, #16]
	beq	.L4
.L5:
	ldr	r0, [r4, #16]
	bl	TRACE2
	ldr	r3, [r6]
	ldr	r2, [r4, #16]
	ldr	r1, [r3, r2, lsl #2]
	ldrb	r7, [r1]	@ zero_extendqisi2
	cmp	r7, #1
	bls	.L14
	sub	ip, r7, #2
	bic	ip, ip, #1
	add	r2, r1, #2
	mov	r3, r1
	mov	r0, #0
	add	ip, ip, r2
	b	.L13
.L23:
	cmp	r2, #1
	beq	.L11
.L12:
	add	r3, r3, #2
	cmp	ip, r3
	beq	.L14
.L13:
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	cmp	r2, #2
	beq	.L11
	cmp	r2, #4
	bne	.L23
.L11:
	mov	r2, #0
	ldrb	r6, [r3, #1]	@ zero_extendqisi2
	ldr	lr, [r4, #20]
	ldr	lr, [lr, r6, lsl #2]
	str	lr, [r2, r0, lsl #2]
	add	r0, r0, #1
	b	.L12
.L14:
	cmp	r5, #0
	add	r1, r1, r7
	beq	.L24
	mov	r0, r5
	mov	r2, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	sprintf
.L24:
	mov	r0, r1
	mov	r1, #0
	bl	printk
	ldr	r0, .L25+24
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	printk
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	.LC1
	.word	CACHESERVICE
	.word	.LC4
	.word	.LC3
	.word	async_cache_tab
	.word	.LC2
	.size	gdth_log_event, .-gdth_log_event
	.comm	async_cache_tab,4,4
	.comm	CACHESERVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
