	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_mode
_set_mode:                              ## @set_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movq	_SIGTERM@GOTPCREL(%rip), %r14
	movq	_SMART_MODE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	_SIGINT@GOTPCREL(%rip), %r14
	movq	_FAST_MODE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	_SIGQUIT@GOTPCREL(%rip), %r14
	movq	_IMMEDIATE_MODE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	movl	(%r15), %eax
	movq	_shutdown_mode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r14), %eax
	movq	_sig@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	_progname@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_write_stderr
	xorl	%eax, %eax
	callq	_do_advice
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s"

L_.str.1:                               ## @.str.1
	.asciz	"smart"

	.comm	_SMART_MODE,4,2                 ## @SMART_MODE
	.comm	_shutdown_mode,4,2              ## @shutdown_mode
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_sig,4,2                        ## @sig
L_.str.2:                               ## @.str.2
	.asciz	"f"

L_.str.3:                               ## @.str.3
	.asciz	"fast"

	.comm	_FAST_MODE,4,2                  ## @FAST_MODE
	.comm	_SIGINT,4,2                     ## @SIGINT
L_.str.4:                               ## @.str.4
	.asciz	"i"

L_.str.5:                               ## @.str.5
	.asciz	"immediate"

	.comm	_IMMEDIATE_MODE,4,2             ## @IMMEDIATE_MODE
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
L_.str.6:                               ## @.str.6
	.asciz	"%s: unrecognized shutdown mode \"%s\"\n"

	.comm	_progname,4,2                   ## @progname
	.no_dead_strip	_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_mode
_set_mode:                              ; @set_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_10
LBB0_6:
Lloh12:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh14:
	adrp	x9, _IMMEDIATE_MODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IMMEDIATE_MODE@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh18:
	adrp	x9, _SMART_MODE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SMART_MODE@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh20:
	adrp	x8, _SIGINT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh22:
	adrp	x9, _FAST_MODE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FAST_MODE@GOTPAGEOFF]
LBB0_9:
Lloh24:
	adrp	x10, _shutdown_mode@GOTPAGE
Lloh25:
	ldr	x10, [x10, _shutdown_mode@GOTPAGEOFF]
	ldr	w9, [x9]
Lloh26:
	str	w9, [x10]
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _sig@GOTPAGE
Lloh28:
	ldr	x9, [x9, _sig@GOTPAGEOFF]
Lloh29:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
Lloh32:
	adrp	x8, _progname@GOTPAGE
Lloh33:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_write_stderr
	bl	_do_advice
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s"

l_.str.1:                               ; @.str.1
	.asciz	"smart"

	.comm	_SMART_MODE,4,2                 ; @SMART_MODE
	.comm	_shutdown_mode,4,2              ; @shutdown_mode
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_sig,4,2                        ; @sig
l_.str.2:                               ; @.str.2
	.asciz	"f"

l_.str.3:                               ; @.str.3
	.asciz	"fast"

	.comm	_FAST_MODE,4,2                  ; @FAST_MODE
	.comm	_SIGINT,4,2                     ; @SIGINT
l_.str.4:                               ; @.str.4
	.asciz	"i"

l_.str.5:                               ; @.str.5
	.asciz	"immediate"

	.comm	_IMMEDIATE_MODE,4,2             ; @IMMEDIATE_MODE
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
l_.str.6:                               ; @.str.6
	.asciz	"%s: unrecognized shutdown mode \"%s\"\n"

	.comm	_progname,4,2                   ; @progname
	.no_dead_strip	_set_mode
.subsections_via_symbols
