	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atahpa_set_confirm
_atahpa_set_confirm:                    ## @atahpa_set_confirm
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%ecx, %ecx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rcx, %rax
	movl	12(%rdi), %ecx
	movl	8(%rdi), %r8d
	movl	(%rdi), %esi
	movl	4(%rdi), %r9d
	movl	%esi, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%edx, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_ata_print_ident
	leaq	L_.str.3(%rip), %r14
	movq	_stdin@GOTPCREL(%rip), %r13
	leaq	-112(%rbp), %rbx
	leaq	L_.str.4(%rip), %r15
	leaq	L_.str.5(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$50, %esi
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$3, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_1
LBB0_3:
	movl	$1, %eax
	jmp	LBB0_4
LBB0_7:
	xorl	%eax, %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.9:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nYou are about to configure HPA to limit the user accessible\nsectors to %ju %s on the device:\n%s%d,%s%d: "

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

L_.str.2:                               ## @.str.2
	.asciz	"temporarily"

L_.str.3:                               ## @.str.3
	.asciz	"\nAre you SURE you want to configure HPA? (yes/no) "

	.comm	_stdin,4,2                      ## @stdin
L_.str.4:                               ## @.str.4
	.asciz	"yes"

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

L_str:                                  ## @str
	.asciz	"Please answer \"yes\" or \"no\""

	.no_dead_strip	_atahpa_set_confirm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atahpa_set_confirm
_atahpa_set_confirm:                    ; @atahpa_set_confirm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w3, #0
	csel	x8, x9, x8, eq
	ldp	w10, w9, [x0, #8]
	ldp	w12, w11, [x0]
	stp	x11, x12, [sp, #32]
	stp	x9, x10, [sp, #16]
	stp	x2, x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, x19
	bl	_ata_print_ident
Lloh9:
	adrp	x19, l_.str.3@PAGE
Lloh10:
	add	x19, x19, l_.str.3@PAGEOFF
Lloh11:
	adrp	x23, _stdin@GOTPAGE
Lloh12:
	ldr	x23, [x23, _stdin@GOTPAGEOFF]
Lloh13:
	adrp	x20, l_.str.4@PAGE
Lloh14:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh15:
	adrp	x21, l_.str.5@PAGE
Lloh16:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh17:
	adrp	x22, l_str@PAGE
Lloh18:
	add	x22, x22, l_str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_printf
	ldr	w2, [x23]
	add	x0, sp, #54
	mov	w1, #50
	bl	_fgets
	cbz	x0, LBB0_1
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #54
	mov	x1, x20
	mov	w2, #3
	bl	_strncasecmp
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #54
	mov	x1, x21
	mov	w2, #2
	bl	_strncasecmp
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_puts
	b	LBB0_1
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nYou are about to configure HPA to limit the user accessible\nsectors to %ju %s on the device:\n%s%d,%s%d: "

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

l_.str.2:                               ; @.str.2
	.asciz	"temporarily"

l_.str.3:                               ; @.str.3
	.asciz	"\nAre you SURE you want to configure HPA? (yes/no) "

	.comm	_stdin,4,2                      ; @stdin
l_.str.4:                               ; @.str.4
	.asciz	"yes"

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

l_str:                                  ; @str
	.asciz	"Please answer \"yes\" or \"no\""

	.no_dead_strip	_atahpa_set_confirm
.subsections_via_symbols
