	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ata_getpwd
_ata_getpwd:                            ## @ata_getpwd
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_optarg@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	%r12d, %eax
	jle	LBB0_2
## %bb.1:
	movsbl	%r14b, %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_2:
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	cmpb	$45, (%rbx)
	jne	LBB0_9
## %bb.4:
	movsbl	%r14b, %esi
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	movsbl	%r14b, %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	xorl	%eax, %eax
	callq	_warnx
LBB0_7:
	movl	$1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpb	$0, (%r15)
	je	LBB0_13
## %bb.10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_pwd_opt@GOTPCREL(%rip), %rax
	movsbl	(%rax), %edx
	movsbl	%r14b, %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_7
LBB0_12:
	movq	(%r13), %rbx
LBB0_13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_strncpy
	movq	_pwd_opt@GOTPCREL(%rip), %rax
	movb	%r14b, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_optarg,8,3                     ## @optarg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-%c password is too long"

L_.str.1:                               ## @.str.1
	.asciz	"-%c password is missing"

L_.str.2:                               ## @.str.2
	.asciz	"-%c password starts with '-' (generic arg?)"

L_.str.3:                               ## @.str.3
	.asciz	"-%c password conflicts with existing password from -%c"

	.comm	_pwd_opt,1,0                    ## @pwd_opt
	.no_dead_strip	_ata_getpwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ata_getpwd
_ata_getpwd:                            ; @ata_getpwd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _optarg@GOTPAGE
Lloh1:
	ldr	x23, [x23, _optarg@GOTPAGEOFF]
	ldr	x22, [x23]
	mov	x0, x22
	bl	_strlen
	cmp	w0, w20
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_9
LBB0_2:
	cbz	w0, LBB0_5
; %bb.3:
	ldrb	w8, [x22]
	cmp	w8, #45
	b.ne	LBB0_6
; %bb.4:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_5:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_6:
	ldrb	w8, [x21]
	cbz	w8, LBB0_12
; %bb.7:
	mov	x0, x21
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.8:
Lloh8:
	adrp	x8, _pwd_opt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pwd_opt@GOTPAGEOFF]
Lloh10:
	ldrsb	x8, [x8]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_9:
	mov	x1, x19
	bl	_warnx
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	ldr	x22, [x23]
LBB0_12:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_strncpy
	mov	w0, #0
Lloh13:
	adrp	x8, _pwd_opt@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pwd_opt@GOTPAGEOFF]
Lloh15:
	strb	w19, [x8]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_optarg,8,3                     ; @optarg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-%c password is too long"

l_.str.1:                               ; @.str.1
	.asciz	"-%c password is missing"

l_.str.2:                               ; @.str.2
	.asciz	"-%c password starts with '-' (generic arg?)"

l_.str.3:                               ; @.str.3
	.asciz	"-%c password conflicts with existing password from -%c"

	.comm	_pwd_opt,1,0                    ; @pwd_opt
	.no_dead_strip	_ata_getpwd
.subsections_via_symbols
