	.file	"extr_camcontrol.c_atasecurity_notify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"master"
.LC1:
	.string	"user"
.LC2:
	.string	"maximum"
.LC3:
	.string	"high"
.LC4:
	.string	"Issuing %s"
.LC5:
	.string	" password='%s', user='%s'"
.LC6:
	.string	", mode='%s'"
	.text
	.p2align 4
	.type	atasecurity_notify, @function
atasecurity_notify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	esi, 8
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r12, 8[rsp]
	mov	rdi, r12
	call	bzero@PLT
	mov	rdi, r12
	mov	QWORD PTR 8[rsp], rbp
	call	ata_op_string@PLT
	lea	rdi, .LC4[rip]
	mov	rsi, rax
	xor	eax, eax
	call	printf@PLT
	test	rbx, rbx
	je	.L2
	mov	esi, DWORD PTR 4[rbx]
	lea	r12, 19[rsp]
	mov	edx, 4
	mov	BYTE PTR 23[rsp], 0
	mov	rdi, r12
	call	strncpy@PLT
	mov	eax, DWORD PTR [rbx]
	mov	rsi, r12
	test	DWORD PTR ATA_SECURITY_PASSWORD_MASTER[rip], eax
	lea	rdx, .LC0[rip]
	lea	rax, .LC1[rip]
	cmove	rdx, rax
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	printf@PLT
	cmp	QWORD PTR ATA_SECURITY_SET_PASSWORD[rip], rbp
	je	.L14
.L2:
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 32
	.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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	eax, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	test	DWORD PTR ATA_SECURITY_LEVEL_MAXIMUM[rip], eax
	lea	rax, .LC3[rip]
	cmove	rsi, rax
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L2
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	atasecurity_notify, .-atasecurity_notify
	.comm	ATA_SECURITY_SET_PASSWORD,8,8
	.comm	ATA_SECURITY_PASSWORD_MASTER,4,4
	.comm	ATA_SECURITY_LEVEL_MAXIMUM,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_camcontrol.c_atasecurity_notify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"master\000"
	.align	2
.LC1:
	.ascii	"user\000"
	.align	2
.LC2:
	.ascii	"maximum\000"
	.align	2
.LC3:
	.ascii	"high\000"
	.align	2
.LC4:
	.ascii	"Issuing %s\000"
	.align	2
.LC5:
	.ascii	" password='%s', user='%s'\000"
	.align	2
.LC6:
	.ascii	", mode='%s'\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atasecurity_notify, %function
atasecurity_notify:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r0
	sub	sp, sp, #20
	ldr	r3, .L16
	mov	r4, r1
	mov	r0, sp
	mov	r1, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	bzero
	mov	r0, sp
	str	r5, [sp]
	bl	ata_op_string
	mov	r1, r0
	ldr	r0, .L16+4
	bl	printf
	cmp	r4, #0
	beq	.L2
	mov	r3, #0
	mov	r2, #4
	ldr	r1, [r4, #4]
	add	r0, sp, #4
	strb	r3, [sp, #8]
	bl	strncpy
	ldr	r3, .L16+8
	ldr	r0, [r4]
	ldr	r1, [r3]
	ldr	r3, .L16+12
	tst	r0, r1
	ldr	r2, .L16+16
	ldr	r0, .L16+20
	moveq	r2, r3
	add	r1, sp, #4
	bl	printf
	ldr	r3, .L16+24
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L14
.L2:
	mov	r0, #10
	bl	putchar
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L14:
	ldr	r3, .L16+28
	ldr	r0, [r4]
	ldr	r2, [r3]
	ldr	r3, .L16+32
	tst	r0, r2
	ldr	r1, .L16+36
	ldr	r0, .L16+40
	moveq	r1, r3
	bl	printf
	b	.L2
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC7
	.word	.LC4
	.word	ATA_SECURITY_PASSWORD_MASTER
	.word	.LC1
	.word	.LC0
	.word	.LC5
	.word	ATA_SECURITY_SET_PASSWORD
	.word	ATA_SECURITY_LEVEL_MAXIMUM
	.word	.LC3
	.word	.LC2
	.word	.LC6
	.size	atasecurity_notify, .-atasecurity_notify
	.comm	ATA_SECURITY_SET_PASSWORD,4,4
	.comm	ATA_SECURITY_PASSWORD_MASTER,4,4
	.comm	ATA_SECURITY_LEVEL_MAXIMUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
