	.file	"extr_typegen.c_write_contexthandle_tfs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0x%x, 0x0,\t/* %s */\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"NdrFcShort(0x2),\t /* Offset= 2 (%u) */\n"
	.section	.rodata.str1.1
.LC2:
	.string	"/* %2u */\n"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"0x%02x,\t/* FC_BIND_CONTEXT */\n"
	.section	.rodata.str1.1
.LC4:
	.string	"0x%x,\t/* Context flags: "
.LC5:
	.string	"can't be null, "
.LC6:
	.string	"serialize, "
.LC7:
	.string	"no serialize, "
.LC8:
	.string	"strict, "
.LC9:
	.string	"out, "
.LC10:
	.string	"return, "
.LC11:
	.string	"in, "
.LC12:
	.string	"via ptr, "
.LC13:
	.string	"*/\n"
.LC14:
	.string	"0x%x,\t/* rundown routine */\n"
.LC15:
	.string	"0, /* FIXME: param num */\n"
	.text
	.p2align 4
	.type	write_contexthandle_tfs, @function
write_contexthandle_tfs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR current_iface[rip]
	mov	r14d, DWORD PTR [r8]
	mov	DWORD PTR 12[rsp], ecx
	call	get_contexthandle_flags@PLT
	mov	edx, r14d
	mov	rsi, rbp
	mov	rdi, r12
	mov	ebx, eax
	call	print_start_tfs_comment@PLT
	test	bl, bl
	js	.L32
.L2:
	mov	ecx, DWORD PTR FC_BIND_CONTEXT[rip]
	mov	esi, 2
	mov	rdi, r12
	xor	eax, eax
	lea	rdx, .LC3[rip]
	mov	r15d, ebx
	call	print_file@PLT
	and	r15d, 33
	movzx	ecx, bl
	mov	rdi, r12
	lea	rdx, .LC4[rip]
	mov	esi, 2
	xor	eax, eax
	call	print_file@PLT
	cmp	r15b, 33
	je	.L4
	test	BYTE PTR NDR_CONTEXT_HANDLE_CANNOT_BE_NULL[rip], bl
	jne	.L33
.L4:
	test	BYTE PTR NDR_CONTEXT_HANDLE_SERIALIZE[rip], bl
	jne	.L34
.L5:
	test	BYTE PTR NDR_CONTEXT_HANDLE_NOSERIALIZE[rip], bl
	jne	.L35
.L6:
	test	BYTE PTR NDR_STRICT_CONTEXT_HANDLE[rip], bl
	jne	.L36
.L7:
	cmp	r15b, 32
	je	.L37
.L8:
	cmp	r15b, 33
	je	.L38
.L9:
	test	bl, 64
	jne	.L39
.L10:
	test	bl, bl
	js	.L40
.L11:
	lea	rdx, .LC13[rip]
	xor	esi, esi
	mov	rdi, r12
	xor	eax, eax
	call	print_file@PLT
	mov	rdi, rbp
	call	get_context_handle_offset@PLT
	mov	rdi, r12
	mov	esi, 2
	lea	rdx, .LC14[rip]
	mov	ecx, eax
	xor	eax, eax
	call	print_file@PLT
	mov	rdi, r12
	mov	esi, 2
	xor	eax, eax
	lea	rdx, .LC15[rip]
	call	print_file@PLT
	add	DWORD PTR 0[r13], 4
	mov	rdx, r12
	mov	esi, r14d
	mov	rdi, rbp
	call	update_tfsoff@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	xor	esi, esi
	xor	eax, eax
	lea	rdx, .LC5[rip]
	mov	rdi, r12
	call	print_file@PLT
	test	BYTE PTR NDR_CONTEXT_HANDLE_SERIALIZE[rip], bl
	je	.L5
.L34:
	xor	esi, esi
	xor	eax, eax
	lea	rdx, .LC6[rip]
	mov	rdi, r12
	call	print_file@PLT
	test	BYTE PTR NDR_CONTEXT_HANDLE_NOSERIALIZE[rip], bl
	je	.L6
.L35:
	xor	esi, esi
	xor	eax, eax
	lea	rdx, .LC7[rip]
	mov	rdi, r12
	call	print_file@PLT
	test	BYTE PTR NDR_STRICT_CONTEXT_HANDLE[rip], bl
	je	.L7
.L36:
	xor	esi, esi
	xor	eax, eax
	lea	rdx, .LC8[rip]
	mov	rdi, r12
	call	print_file@PLT
	cmp	r15b, 32
	jne	.L8
.L37:
	xor	esi, esi
	xor	eax, eax
	lea	rdx, .LC9[rip]
	mov	rdi, r12
	call	print_file@PLT
	test	bl, 64
	je	.L10
.L39:
	xor	esi, esi
	xor	eax, eax
	lea	rdx, .LC11[rip]
	mov	rdi, r12
	call	print_file@PLT
	test	bl, bl
	jns	.L11
.L40:
	lea	rdx, .LC12[rip]
	xor	esi, esi
	mov	rdi, r12
	xor	eax, eax
	call	print_file@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	mov	edx, DWORD PTR 12[rsp]
	mov	rsi, r15
	mov	rdi, rbp
	call	get_pointer_fc@PLT
	test	eax, eax
	mov	r15d, eax
	cmove	r15d, DWORD PTR FC_RP[rip]
	add	DWORD PTR 0[r13], 4
	mov	edi, r15d
	call	string_of_type@PLT
	mov	ecx, r15d
	mov	rdi, r12
	mov	esi, 2
	mov	r8d, eax
	lea	rdx, .LC0[rip]
	xor	eax, eax
	call	print_file@PLT
	mov	ecx, DWORD PTR 0[r13]
	mov	rdi, r12
	xor	eax, eax
	lea	rdx, .LC1[rip]
	mov	esi, 2
	call	print_file@PLT
	mov	ecx, DWORD PTR 0[r13]
	xor	esi, esi
	mov	rdi, r12
	lea	rdx, .LC2[rip]
	xor	eax, eax
	call	print_file@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L38:
	lea	rdx, .LC10[rip]
	xor	esi, esi
	mov	rdi, r12
	xor	eax, eax
	call	print_file@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	write_contexthandle_tfs, .-write_contexthandle_tfs
	.comm	current_iface,4,4
	.comm	NDR_STRICT_CONTEXT_HANDLE,1,1
	.comm	NDR_CONTEXT_HANDLE_SERIALIZE,1,1
	.comm	NDR_CONTEXT_HANDLE_NOSERIALIZE,1,1
	.comm	NDR_CONTEXT_HANDLE_CANNOT_BE_NULL,1,1
	.comm	FC_RP,4,4
	.comm	FC_BIND_CONTEXT,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_typegen.c_write_contexthandle_tfs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x%x, 0x0,\011/* %s */\012\000"
	.align	2
.LC1:
	.ascii	"NdrFcShort(0x2),\011 /* Offset= 2 (%u) */\012\000"
	.align	2
.LC2:
	.ascii	"/* %2u */\012\000"
	.align	2
.LC3:
	.ascii	"0x%02x,\011/* FC_BIND_CONTEXT */\012\000"
	.align	2
.LC4:
	.ascii	"0x%x,\011/* Context flags: \000"
	.align	2
.LC5:
	.ascii	"can't be null, \000"
	.align	2
.LC6:
	.ascii	"serialize, \000"
	.align	2
.LC7:
	.ascii	"no serialize, \000"
	.align	2
.LC8:
	.ascii	"strict, \000"
	.align	2
.LC9:
	.ascii	"out, \000"
	.align	2
.LC10:
	.ascii	"return, \000"
	.align	2
.LC11:
	.ascii	"in, \000"
	.align	2
.LC12:
	.ascii	"via ptr, \000"
	.align	2
.LC13:
	.ascii	"*/\012\000"
	.align	2
.LC14:
	.ascii	"0x%x,\011/* rundown routine */\012\000"
	.align	2
.LC15:
	.ascii	"0, /* FIXME: param num */\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_contexthandle_tfs, %function
write_contexthandle_tfs:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #12
	ldr	r0, .L41
	ldr	r7, [sp, #48]
	ldr	r0, [r0]
	mov	r6, r2
	mov	fp, r3
	mov	r10, r1
	ldr	r9, [r7]
	bl	get_contexthandle_flags
	lsl	r8, r0, #24
	mov	r5, r0
	mov	r2, r9
	mov	r1, r6
	mov	r0, r4
	asr	r8, r8, #24
	bl	print_start_tfs_comment
	cmp	r8, #0
	blt	.L32
.L2:
	ldr	r3, .L41+4
	mov	r1, #2
	ldr	r2, .L41+8
	ldr	r3, [r3]
	mov	r0, r4
	bl	print_file
	and	r10, r5, #33
	mov	r3, r5
	mov	r1, #2
	mov	r0, r4
	ldr	r2, .L41+12
	bl	print_file
	cmp	r10, #33
	beq	.L4
	ldr	r3, .L41+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	bne	.L33
.L4:
	ldr	r3, .L41+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	bne	.L34
.L5:
	ldr	r3, .L41+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	bne	.L35
.L6:
	ldr	r3, .L41+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	bne	.L36
.L7:
	cmp	r10, #32
	beq	.L37
.L8:
	cmp	r10, #33
	beq	.L38
.L9:
	tst	r5, #64
	bne	.L39
.L10:
	cmp	r8, #0
	blt	.L40
.L11:
	mov	r1, #0
	ldr	r2, .L41+32
	mov	r0, r4
	bl	print_file
	mov	r0, r6
	bl	get_context_handle_offset
	mov	r1, #2
	mov	r3, r0
	ldr	r2, .L41+36
	mov	r0, r4
	bl	print_file
	mov	r1, #2
	mov	r0, r4
	ldr	r2, .L41+40
	bl	print_file
	ldr	r3, [r7]
	mov	r2, r4
	add	r3, r3, #4
	mov	r0, r6
	mov	r1, r9
	str	r3, [r7]
	bl	update_tfsoff
	mov	r0, r9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L33:
	mov	r1, #0
	mov	r0, r4
	ldr	r2, .L41+44
	bl	print_file
	ldr	r3, .L41+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	beq	.L5
.L34:
	mov	r1, #0
	mov	r0, r4
	ldr	r2, .L41+48
	bl	print_file
	ldr	r3, .L41+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	beq	.L6
.L35:
	mov	r1, #0
	mov	r0, r4
	ldr	r2, .L41+52
	bl	print_file
	ldr	r3, .L41+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	beq	.L7
.L36:
	mov	r1, #0
	mov	r0, r4
	ldr	r2, .L41+56
	bl	print_file
	cmp	r10, #32
	bne	.L8
.L37:
	mov	r1, #0
	mov	r0, r4
	ldr	r2, .L41+60
	bl	print_file
	tst	r5, #64
	beq	.L10
.L39:
	mov	r1, #0
	mov	r0, r4
	ldr	r2, .L41+64
	bl	print_file
	cmp	r8, #0
	bge	.L11
.L40:
	mov	r1, #0
	mov	r0, r4
	ldr	r2, .L41+68
	bl	print_file
	b	.L11
.L32:
	mov	r2, fp
	mov	r1, r10
	mov	r0, r6
	bl	get_pointer_fc
	subs	r10, r0, #0
	ldreq	r3, .L41+72
	ldreq	r10, [r3]
	ldr	r3, [r7]
	mov	r0, r10
	add	r3, r3, #4
	str	r3, [r7]
	bl	string_of_type
	mov	r3, r10
	str	r0, [sp]
	mov	r1, #2
	mov	r0, r4
	ldr	r2, .L41+76
	bl	print_file
	ldr	r3, [r7]
	mov	r1, #2
	mov	r0, r4
	ldr	r2, .L41+80
	bl	print_file
	mov	r1, #0
	mov	r0, r4
	ldr	r3, [r7]
	ldr	r2, .L41+84
	bl	print_file
	b	.L2
.L38:
	mov	r1, #0
	mov	r0, r4
	ldr	r2, .L41+88
	bl	print_file
	b	.L9
.L42:
	.align	2
.L41:
	.word	current_iface
	.word	FC_BIND_CONTEXT
	.word	.LC3
	.word	.LC4
	.word	NDR_CONTEXT_HANDLE_CANNOT_BE_NULL
	.word	NDR_CONTEXT_HANDLE_SERIALIZE
	.word	NDR_CONTEXT_HANDLE_NOSERIALIZE
	.word	NDR_STRICT_CONTEXT_HANDLE
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC11
	.word	.LC12
	.word	FC_RP
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC10
	.size	write_contexthandle_tfs, .-write_contexthandle_tfs
	.comm	current_iface,4,4
	.comm	NDR_STRICT_CONTEXT_HANDLE,1,1
	.comm	NDR_CONTEXT_HANDLE_SERIALIZE,1,1
	.comm	NDR_CONTEXT_HANDLE_NOSERIALIZE,1,1
	.comm	NDR_CONTEXT_HANDLE_CANNOT_BE_NULL,1,1
	.comm	FC_RP,4,4
	.comm	FC_BIND_CONTEXT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
