	.file	"extr_pg_ctl.c_set_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"s"
.LC1:
	.string	"smart"
.LC2:
	.string	"f"
.LC3:
	.string	"fast"
.LC4:
	.string	"i"
.LC5:
	.string	"immediate"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC6:
	.string	"%s: unrecognized shutdown mode \"%s\"\n"
	.text
	.p2align 4
	.type	set_mode, @function
set_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, .LC0[rip]
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	strcmp@PLT
	test	rax, rax
	jne	.L2
.L4:
	mov	eax, DWORD PTR SMART_MODE[rip]
	mov	DWORD PTR shutdown_mode[rip], eax
	mov	eax, DWORD PTR SIGTERM[rip]
	mov	DWORD PTR sig[rip], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	je	.L4
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	jne	.L5
.L6:
	mov	eax, DWORD PTR FAST_MODE[rip]
	mov	DWORD PTR shutdown_mode[rip], eax
	mov	eax, DWORD PTR SIGINT[rip]
	mov	DWORD PTR sig[rip], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	je	.L6
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	jne	.L7
.L8:
	mov	eax, DWORD PTR IMMEDIATE_MODE[rip]
	mov	DWORD PTR shutdown_mode[rip], eax
	mov	eax, DWORD PTR SIGQUIT[rip]
	mov	DWORD PTR sig[rip], eax
	jmp	.L1
.L7:
	lea	rsi, .LC5[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	je	.L8
	mov	ebp, DWORD PTR progname[rip]
	lea	rdi, .LC6[rip]
	call	_@PLT
	mov	rdx, r12
	mov	edi, eax
	mov	esi, ebp
	call	write_stderr@PLT
	xor	eax, eax
	call	do_advice@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	exit@PLT
	.cfi_endproc
.LFE0:
	.size	set_mode, .-set_mode
	.comm	sig,4,4
	.comm	shutdown_mode,4,4
	.comm	progname,4,4
	.comm	SMART_MODE,4,4
	.comm	SIGTERM,4,4
	.comm	SIGQUIT,4,4
	.comm	SIGINT,4,4
	.comm	IMMEDIATE_MODE,4,4
	.comm	FAST_MODE,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_pg_ctl.c_set_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"smart\000"
	.align	2
.LC1:
	.ascii	"fast\000"
	.align	2
.LC2:
	.ascii	"immediate\000"
	.align	2
.LC3:
	.ascii	"%s: unrecognized shutdown mode \"%s\"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_mode, %function
set_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldrb	r5, [r0]	@ zero_extendqisi2
	mov	r4, r0
	cmp	r5, #115
	bne	.L12
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
.L3:
	ldr	r2, .L29
	ldr	r3, .L29+4
.L25:
	ldr	r0, [r2]
	ldr	r1, .L29+8
	ldr	r2, [r3]
	ldr	r3, .L29+12
	str	r0, [r1]
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r4
	ldr	r1, .L29+16
	bl	strcmp
	cmp	r0, #0
	beq	.L3
	cmp	r5, #102
	beq	.L27
.L13:
	mov	r0, r4
	ldr	r1, .L29+20
	bl	strcmp
	cmp	r0, #0
	beq	.L7
	cmp	r5, #105
	beq	.L28
.L14:
	mov	r0, r4
	ldr	r1, .L29+24
	bl	strcmp
	cmp	r0, #0
	beq	.L10
	ldr	r0, .L29+28
	bl	_
	ldr	r3, .L29+32
	mov	r2, r4
	ldr	r1, [r3]
	bl	write_stderr
	bl	do_advice
	pop	{r4, r5, r6, lr}
	mov	r0, #1
	b	exit
.L27:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
.L7:
	ldr	r2, .L29+36
	ldr	r3, .L29+40
	b	.L25
.L28:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
.L10:
	ldr	r2, .L29+44
	ldr	r3, .L29+48
	b	.L25
.L30:
	.align	2
.L29:
	.word	SMART_MODE
	.word	SIGTERM
	.word	shutdown_mode
	.word	sig
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	progname
	.word	FAST_MODE
	.word	SIGINT
	.word	IMMEDIATE_MODE
	.word	SIGQUIT
	.size	set_mode, .-set_mode
	.comm	sig,4,4
	.comm	shutdown_mode,4,4
	.comm	progname,4,4
	.comm	SMART_MODE,4,4
	.comm	SIGTERM,4,4
	.comm	SIGQUIT,4,4
	.comm	SIGINT,4,4
	.comm	IMMEDIATE_MODE,4,4
	.comm	FAST_MODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
