	.file	"extr_br_sysfs_if.c_br_sysfs_addif.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	br_sysfs_addif
	.type	br_sysfs_addif, @function
br_sysfs_addif:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 4[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 16[rdi]
	mov	edx, DWORD PTR SYSFS_BRIDGE_PORT_LINK[rip]
	mov	rdi, r13
	mov	rsi, QWORD PTR 8[rbp]
	call	sysfs_create_link@PLT
	test	eax, eax
	jne	.L1
	mov	r12, QWORD PTR brport_attrs[rip]
	mov	rsi, QWORD PTR [r12]
	test	rsi, rsi
	jne	.L4
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rsi, QWORD PTR 8[r12]
	add	r12, 8
	test	rsi, rsi
	je	.L3
.L4:
	mov	rdi, r13
	call	sysfs_create_file@PLT
	test	eax, eax
	je	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR IFNAMSIZ[rip]
	mov	esi, DWORD PTR [rax]
	call	strlcpy@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rdi, QWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rsi, r13
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	sysfs_create_link@PLT
	.cfi_endproc
.LFE0:
	.size	br_sysfs_addif, .-br_sysfs_addif
	.comm	brport_attrs,8,8
	.comm	SYSFS_BRIDGE_PORT_LINK,4,4
	.comm	IFNAMSIZ,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_br_sysfs_if.c_br_sysfs_addif.c"
	.text
	.align	2
	.global	br_sysfs_addif
	.syntax unified
	.arm
	.fpu softvfp
	.type	br_sysfs_addif, %function
br_sysfs_addif:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L11
	ldr	r7, [r0, #12]
	add	r5, r0, #4
	mov	r6, r0
	ldr	r1, [r7, #4]
	mov	r0, r5
	ldr	r2, [r3]
	bl	sysfs_create_link
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L11+4
	ldr	r4, [r3]
	ldr	r1, [r4]
	cmp	r1, #0
	beq	.L3
.L4:
	mov	r0, r5
	bl	sysfs_create_file
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r4, #4]!
	cmp	r1, #0
	bne	.L4
.L3:
	ldr	r3, [r6, #8]
	ldr	r2, .L11+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r0, [r6]
	bl	strlcpy
	mov	r1, r5
	ldr	r2, [r6]
	ldr	r0, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	b	sysfs_create_link
.L12:
	.align	2
.L11:
	.word	SYSFS_BRIDGE_PORT_LINK
	.word	brport_attrs
	.word	IFNAMSIZ
	.size	br_sysfs_addif, .-br_sysfs_addif
	.comm	brport_attrs,4,4
	.comm	SYSFS_BRIDGE_PORT_LINK,4,4
	.comm	IFNAMSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
