	.file	"extr_oma_dm_client.c_oma_dm_sub_rem.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"OMA-DM subscription remediation"
	.align 8
.LC1:
	.string	"Update wpa_supplicant credential based on updated PPS MO and request reconnection"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"INTERWORKING_SELECT auto"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"Failed to request wpa_supplicant to reconnect"
	.text
	.p2align 4
	.globl	oma_dm_sub_rem
	.type	oma_dm_sub_rem, @function
oma_dm_sub_rem:
.LFB0:
	.cfi_startproc
	endbr64
	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, r9
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	edi, DWORD PTR MSG_INFO[rip]
	mov	rax, QWORD PTR 136[rsp]
	mov	QWORD PTR 8[rsp], rdx
	mov	QWORD PTR 16[rsp], rcx
	mov	r14, QWORD PTR 128[rsp]
	mov	QWORD PTR 24[rsp], r8
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 48[rsp], 0
	call	wpa_printf@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	write_summary@PLT
	mov	edx, 1
	mov	rsi, r12
	mov	rdi, rbp
	call	build_oma_dm_1_sub_rem@PLT
	test	rax, rax
	je	.L1
	mov	rdx, rax
	lea	rax, 48[rsp]
	mov	ebx, 1
	mov	QWORD PTR 40[rsp], rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, QWORD PTR 48[rsp]
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 136
	mov	r9, r14
	mov	r8, r13
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 144
	mov	rdi, rbp
	test	rsi, rsi
	cmove	rsi, r12
	xor	ecx, ecx
	call	oma_dm_send_recv@PLT
	pop	rcx
	.cfi_def_cfa_offset 136
	pop	rsi
	.cfi_def_cfa_offset 128
	mov	r15, rax
	test	rax, rax
	je	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	add	ebx, 1
	mov	rdx, rax
	mov	rsi, r12
	push	QWORD PTR 16[rsp]
	.cfi_def_cfa_offset 144
	mov	r9, QWORD PTR 48[rsp]
	mov	ecx, ebx
	mov	rdi, rbp
	mov	r8, QWORD PTR 56[rsp]
	call	oma_dm_process@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	rsi, r15
	mov	QWORD PTR 16[rsp], rax
	call	xml_node_free@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	mov	rdx, QWORD PTR [rsp]
	test	rdx, rdx
	jne	.L4
	mov	rdi, QWORD PTR 48[rsp]
	call	os_free@PLT
	mov	edi, DWORD PTR MSG_INFO[rip]
	lea	rsi, .LC1[rip]
	call	wpa_printf@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	write_summary@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	cmd_set_pps@PLT
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	call	wpa_command@PLT
	test	rax, rax
	js	.L17
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 72
	.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
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_INFO[rip]
	lea	rsi, .LC3[rip]
	call	wpa_printf@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	write_summary@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	oma_dm_sub_rem, .-oma_dm_sub_rem
	.comm	MSG_INFO,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_oma_dm_client.c_oma_dm_sub_rem.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"OMA-DM subscription remediation\000"
	.align	2
.LC1:
	.ascii	"Update wpa_supplicant credential based on updated P"
	.ascii	"PS MO and request reconnection\000"
	.align	2
.LC2:
	.ascii	"INTERWORKING_SELECT auto\000"
	.align	2
.LC3:
	.ascii	"Failed to request wpa_supplicant to reconnect\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	oma_dm_sub_rem
	.syntax unified
	.arm
	.fpu softvfp
	.type	oma_dm_sub_rem, %function
oma_dm_sub_rem:
	@ args = 16, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, #0
	mov	r4, r0
	mov	r6, r1
	sub	sp, sp, #44
	str	r3, [sp, #20]
	ldr	r3, .L19
	ldr	r0, .L19+4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r3, [sp, #80]
	ldr	r1, .L19+8
	str	r3, [sp, #24]
	ldr	r3, [sp, #92]
	ldr	r0, [r0]
	mov	r7, r2
	str	ip, [sp, #32]
	str	r3, [sp, #28]
	ldr	r10, [sp, #84]
	ldr	fp, [sp, #88]
	bl	wpa_printf
	ldr	r1, .L19+8
	mov	r0, r4
	bl	write_summary
	mov	r1, r6
	mov	r0, r4
	mov	r2, #1
	bl	build_oma_dm_1_sub_rem
	subs	r8, r0, #0
	beq	.L1
	mov	r9, r8
	mov	r5, #1
	mov	r8, fp
	mov	fp, r10
.L4:
	ldr	r3, [sp, #24]
	ldr	r1, [sp, #32]
	str	r3, [sp, #12]
	ldr	r3, [sp, #20]
	cmp	r1, #0
	moveq	r1, r6
	str	r3, [sp, #8]
	mov	r2, r9
	mov	r3, #0
	mov	r0, r4
	str	r8, [sp, #4]
	str	fp, [sp]
	bl	oma_dm_send_recv
	subs	r10, r0, #0
	beq	.L1
	ldr	r3, [sp, #28]
	add	r5, r5, #1
	str	r3, [sp, #4]
	add	r3, sp, #32
	mov	r2, r10
	mov	r1, r6
	str	r3, [sp]
	mov	r0, r4
	mov	r3, r5
	str	r7, [sp, #8]
	bl	oma_dm_process
	mov	r9, r0
	mov	r1, r10
	ldr	r0, [r4, #4]
	bl	xml_node_free
	cmp	r9, #0
	bne	.L4
	ldr	r0, [sp, #32]
	bl	os_free
	ldr	r3, .L19+4
	ldr	r1, .L19+12
	ldr	r0, [r3]
	bl	wpa_printf
	ldr	r1, .L19+12
	mov	r0, r4
	bl	write_summary
	mov	r1, r7
	mov	r0, r4
	bl	cmd_set_pps
	ldr	r1, .L19+16
	ldr	r0, [r4]
	bl	wpa_command
	cmp	r0, #0
	blt	.L17
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r3, .L19+4
	ldr	r1, .L19+20
	ldr	r0, [r3]
	bl	wpa_printf
	mov	r0, r4
	ldr	r1, .L19+20
	bl	write_summary
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC4
	.word	MSG_INFO
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	oma_dm_sub_rem, .-oma_dm_sub_rem
	.comm	MSG_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
