	.file	"extr_stub_main.c_match_busid_store.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"add "
.LC1:
	.string	"add busid %s\n"
.LC2:
	.string	"del "
.LC3:
	.string	"del busid %s\n"
	.text
	.p2align 4
	.type	match_busid_store, @function
match_busid_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	push	rbx
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 24
	movsx	r12, DWORD PTR BUSID_SIZE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rdi, rsp
	lea	rax, 15[r12]
	mov	rdx, r12
	mov	rcx, rax
	and	rax, -4096
	sub	rdi, rax
	and	rcx, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L3
.L19:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L19
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L20
	cmp	rbx, 4
	ja	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rax, QWORD PTR EINVAL[rip]
	neg	rax
.L1:
	mov	rbx, QWORD PTR -40[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L21
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rsi, 4[r13]
	mov	rdi, rsp
	call	strlcpy@PLT
	cdqe
	cmp	r12, rax
	jbe	.L17
	mov	edx, 4
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	strncmp@PLT
	test	eax, eax
	jne	.L8
	mov	rdi, rsp
	call	add_match_busid@PLT
	test	rax, rax
	jns	.L9
	mov	rax, QWORD PTR ENOMEM[rip]
	neg	rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	or	QWORD PTR -8[rsp+rcx], 0
	cmp	rbx, 4
	jbe	.L17
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, 4
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	call	strncmp@PLT
	mov	r8d, eax
	mov	rax, QWORD PTR EINVAL[rip]
	neg	rax
	test	r8d, r8d
	jne	.L1
	mov	rdi, rsp
	call	del_match_busid@PLT
	test	rax, rax
	jns	.L11
	mov	rax, QWORD PTR ENODEV[rip]
	neg	rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, rsp
	lea	rdi, .LC1[rip]
	call	pr_debug@PLT
	mov	rax, rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rsi, rsp
	lea	rdi, .LC3[rip]
	call	pr_debug@PLT
	mov	rax, rbx
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	match_busid_store, .-match_busid_store
	.comm	ENOMEM,8,8
	.comm	ENODEV,8,8
	.comm	EINVAL,8,8
	.comm	BUSID_SIZE,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_stub_main.c_match_busid_store.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"add \000"
	.align	2
.LC1:
	.ascii	"add busid %s\012\000"
	.align	2
.LC2:
	.ascii	"del \000"
	.align	2
.LC3:
	.ascii	"del busid %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	match_busid_store, %function
match_busid_store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	ldr	r3, .L14
	mov	r4, r2
	ldr	r6, [r3]
	cmp	r2, #4
	add	r3, r6, #7
	ldr	r2, .L14+4
	bic	r3, r3, #7
	ldr	r2, [r2]
	str	r2, [fp, #-24]
	mov	r2,#0
	sub	sp, sp, r3
	bhi	.L2
.L7:
	ldr	r3, .L14+8
	ldr	r4, [r3]
	rsb	r0, r4, #0
.L1:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L2:
	mov	r5, r1
	mov	r2, r6
	mov	r0, sp
	add	r1, r1, #4
	bl	strlcpy
	cmp	r6, r0
	bls	.L7
	mov	r2, #4
	mov	r0, r5
	ldr	r1, .L14+12
	bl	strncmp
	cmp	r0, #0
	beq	.L13
	mov	r0, r5
	mov	r2, #4
	ldr	r1, .L14+16
	bl	strncmp
	cmp	r0, #0
	bne	.L7
	mov	r0, sp
	bl	del_match_busid
	cmp	r0, #0
	bge	.L8
	ldr	r3, .L14+20
	ldr	r4, [r3]
	rsb	r0, r4, #0
	b	.L1
.L13:
	mov	r0, sp
	bl	add_match_busid
	cmp	r0, #0
	bge	.L6
	ldr	r3, .L14+24
	ldr	r4, [r3]
	rsb	r0, r4, #0
	b	.L1
.L8:
	mov	r1, sp
	ldr	r0, .L14+28
	bl	pr_debug
	mov	r0, r4
	b	.L1
.L6:
	mov	r1, sp
	ldr	r0, .L14+32
	bl	pr_debug
	mov	r0, r4
	b	.L1
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	BUSID_SIZE
	.word	.LC4
	.word	EINVAL
	.word	.LC0
	.word	.LC2
	.word	ENODEV
	.word	ENOMEM
	.word	.LC3
	.word	.LC1
	.size	match_busid_store, .-match_busid_store
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	BUSID_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
