	.file	"extr_hn_rndis.c_hn_rndis_halt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no xact for RNDIS halt\n"
.LC1:
	.string	"RNDIS halt done\n"
	.text
	.p2align 4
	.type	hn_rndis_halt, @function
hn_rndis_halt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 12
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 4[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	vmbus_xact_get@PLT
	test	rax, rax
	je	.L8
	mov	rdi, rax
	mov	rbp, rax
	call	vmbus_xact_req_data@PLT
	mov	rdi, rbx
	mov	r12, rax
	mov	eax, DWORD PTR REMOTE_NDIS_HALT_MSG[rip]
	mov	DWORD PTR [r12], 12
	mov	DWORD PTR 8[r12], eax
	call	hn_rndis_rid@PLT
	mov	esi, DWORD PTR hn_nvs_sent_xact[rip]
	mov	rdx, rbp
	mov	DWORD PTR 4[r12], eax
	lea	r12, 12[rsp]
	mov	rdi, r12
	call	hn_nvs_sendctx_init@PLT
	mov	rcx, r12
	lea	r8, 16[rsp]
	mov	rsi, rbp
	mov	edx, 12
	mov	rdi, rbx
	xor	r12d, r12d
	call	hn_rndis_xact_exec1@PLT
	mov	rdi, rbp
	call	vmbus_xact_put@PLT
	cmp	QWORD PTR bootverbose[rip], 0
	jne	.L9
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	if_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	if_printf@PLT
	mov	r12d, DWORD PTR ENXIO[rip]
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hn_rndis_halt, .-hn_rndis_halt
	.comm	hn_nvs_sent_xact,4,4
	.comm	bootverbose,8,8
	.comm	REMOTE_NDIS_HALT_MSG,4,4
	.comm	ENXIO,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_hn_rndis.c_hn_rndis_halt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no xact for RNDIS halt\012\000"
	.align	2
.LC1:
	.ascii	"RNDIS halt done\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hn_rndis_halt, %function
hn_rndis_halt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L13
	sub	sp, sp, #28
	mov	r6, r0
	mov	r1, #12
	ldr	r0, [r0, #4]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	vmbus_xact_get
	subs	r4, r0, #0
	beq	.L10
	bl	vmbus_xact_req_data
	mov	r7, #12
	mov	r5, r0
	ldr	r3, .L13+4
	mov	r0, r6
	ldr	r3, [r3]
	str	r7, [r5]
	str	r3, [r5, #8]
	bl	hn_rndis_rid
	ldr	r3, .L13+8
	mov	r2, r4
	ldr	r1, [r3]
	str	r0, [r5, #4]
	add	r0, sp, r7
	bl	hn_nvs_sendctx_init
	add	r1, sp, #16
	add	r3, sp, r7
	mov	r2, r7
	str	r1, [sp]
	mov	r0, r6
	mov	r1, r4
	bl	hn_rndis_xact_exec1
	mov	r0, r4
	bl	vmbus_xact_put
	ldr	r3, .L13+12
	ldr	r0, [r3]
	cmp	r0, #0
	bne	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r0, [r6]
	ldr	r1, .L13+16
	bl	if_printf
	mov	r0, #0
	b	.L1
.L10:
	ldr	r0, [r6]
	ldr	r1, .L13+20
	bl	if_printf
	ldr	r3, .L13+24
	ldr	r0, [r3]
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	REMOTE_NDIS_HALT_MSG
	.word	hn_nvs_sent_xact
	.word	bootverbose
	.word	.LC1
	.word	.LC0
	.word	ENXIO
	.size	hn_rndis_halt, .-hn_rndis_halt
	.comm	hn_nvs_sent_xact,4,4
	.comm	bootverbose,4,4
	.comm	REMOTE_NDIS_HALT_MSG,4,4
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
