	.file	"extr_pppoed.c_LoadModules.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"netgraph"
.LC1:
	.string	"ng_socket"
.LC2:
	.string	"ng_ether"
.LC3:
	.string	"ng_pppoe"
.LC4:
	.string	"kldload: %s: %s\n"
	.text
	.p2align 4
	.type	LoadModules, @function
LoadModules:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rax, .LC1[rip]
	mov	rbx, rsp
	lea	rbp, 32[rsp]
	mov	QWORD PTR 8[rsp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR 24[rsp], rax
	call	modfind@PLT
	cmp	eax, -1
	je	.L9
.L2:
	add	rbx, 8
	cmp	rbx, rbp
	je	.L6
	mov	r12, QWORD PTR [rbx]
	mov	rdi, r12
	call	modfind@PLT
	cmp	eax, -1
	jne	.L2
.L9:
	mov	rdi, r12
	call	kldload@PLT
	cmp	eax, -1
	jne	.L2
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, r12
	lea	rsi, .LC4[rip]
	mov	rcx, rax
	call	fprintf@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, 1
.L1:
	mov	rdx, QWORD PTR 40[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	LoadModules, .-LoadModules
	.comm	stderr,4,4
	.comm	errno,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_pppoed.c_LoadModules.c"
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"netgraph\000"
	.align	2
.LC1:
	.ascii	"ng_socket\000"
	.align	2
.LC2:
	.ascii	"ng_ether\000"
	.align	2
.LC3:
	.ascii	"ng_pppoe\000"
	.text
	.section	.rodata.str1.4
	.align	2
.LC6:
	.ascii	"kldload: %s: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LoadModules, %function
LoadModules:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #24
	add	ip, sp, #4
	mov	r4, ip
	ldr	r3, .L11
	add	r6, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r3, .L11+4
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L4:
	ldr	r5, [r4], #4
	mov	r0, r5
	bl	modfind
	cmn	r0, #1
	beq	.L9
.L2:
	cmp	r4, r6
	bne	.L4
	mov	r0, #1
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r5
	bl	kldload
	cmn	r0, #1
	bne	.L2
	ldr	r3, .L11+8
	ldr	r2, .L11+12
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	strerror
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L11+16
	mov	r0, r4
	bl	fprintf
	mov	r0, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC7
	.word	.LANCHOR0
	.word	errno
	.word	stderr
	.word	.LC6
	.size	LoadModules, .-LoadModules
	.comm	stderr,4,4
	.comm	errno,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC5:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
