	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_passwd
_get_passwd:                            ## @get_passwd
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	%rsi, -56(%rbp)
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movq	_RIP_AUTH_NONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %r12
	jmp	LBB0_33
LBB0_4:
	movq	_MAX_AUTH_KEYS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	xorl	%edx, %edx
	testl	%esi, %esi
	cmovgl	%esi, %edx
	incl	%edx
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decl	%edx
	je	LBB0_33
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	40(%rax), %rbx
	cmpq	%rcx, 40(%rax)
	movq	%rbx, %rax
	jne	LBB0_5
LBB0_7:
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r13, -104(%rbp)
	movq	_DAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notq	%rax
	movq	%rax, -88(%rbp)
	movq	-72(%rbp), %rcx
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rdi
	leaq	-41(%rbp), %rdx
	movl	$8, %r8d
	callq	_parse_quote
	testq	%rax, %rax
	js	LBB0_8
## %bb.9:
	movb	-41(%rbp), %al
	cmpb	$124, %al
	jne	LBB0_10
## %bb.12:
	movq	-56(%rbp), %r13
	incq	%r13
	movq	%r13, -56(%rbp)
	movb	$0, _get_passwd.buf+79(%rip)
	leaq	_get_passwd.buf(%rip), %r12
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rdi
	leaq	-41(%rbp), %rdx
	movq	%r12, %rcx
	movl	$80, %r8d
	callq	_parse_quote
	testq	%rax, %rax
	js	LBB0_16
## %bb.13:
	cmpb	$0, _get_passwd.buf+79(%rip)
	jne	LBB0_16
## %bb.14:
	leaq	_get_passwd.buf(%rip), %rdi
	leaq	-64(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoul
	cmpl	$255, %eax
	jg	LBB0_16
## %bb.15:
	movq	-64(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_18
LBB0_16:
	leaq	L_.str.4(%rip), %rsi
LBB0_17:
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_sprintf
	jmp	LBB0_33
LBB0_8:
	movq	%r14, %r12
	jmp	LBB0_33
LBB0_10:
	movq	_RIP_AUTH_MD5@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_31
## %bb.11:
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_33
LBB0_18:
	movq	(%r15), %rcx
	cmpq	%rbx, %rcx
	jae	LBB0_20
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, 8(%rcx)
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_25 Depth=1
	addq	$40, %rcx
	cmpq	%rbx, %rcx
	jb	LBB0_25
LBB0_20:
	movl	%eax, -96(%rbp)
	movb	-41(%rbp), %al
	cmpb	$124, %al
	jne	LBB0_31
## %bb.21:
	movq	-56(%rbp), %rdx
	incq	%rdx
	movq	%rdx, -56(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	_get_passwd.buf(%rip), %r8
	leaq	-56(%rbp), %rsi
	leaq	-41(%rbp), %rcx
	movl	$80, %r9d
	callq	_parse_ts
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_33
## %bb.22:
	cmpb	$124, -41(%rbp)
	jne	LBB0_23
## %bb.27:
	leaq	-88(%rbp), %rdi
	movq	-56(%rbp), %r15
	incq	%r15
	movq	%r15, -56(%rbp)
	leaq	_get_passwd.buf(%rip), %r13
	leaq	-56(%rbp), %rsi
	leaq	-41(%rbp), %rcx
	movq	%r15, %rdx
	movq	%r13, %r8
	movl	$80, %r9d
	callq	_parse_ts
	movq	%rax, %r12
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	jne	LBB0_33
## %bb.28:
	movl	-80(%rbp), %eax
	cmpl	-88(%rbp), %eax
	jle	LBB0_30
## %bb.29:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_sprintf
	movq	%r13, %r12
	jmp	LBB0_33
LBB0_26:
	leaq	L_.str.5(%rip), %rsi
	leaq	_get_passwd.buf(%rip), %r12
	jmp	LBB0_17
LBB0_23:
	leaq	L_.str.6(%rip), %r12
	jmp	LBB0_33
LBB0_30:
	movb	-41(%rbp), %al
LBB0_31:
	movq	%r14, %r12
	testb	%al, %al
	jne	LBB0_33
## %bb.32:
	leaq	-104(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$40, %edx
	callq	_memmove
	xorl	%r12d, %r12d
LBB0_33:
	movq	%r12, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_get_passwd.buf,80,4 ## @get_passwd.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignore unsafe password"

	.comm	_RIP_AUTH_NONE,8,3              ## @RIP_AUTH_NONE
	.comm	_MAX_AUTH_KEYS,4,2              ## @MAX_AUTH_KEYS
L_.str.1:                               ## @.str.1
	.asciz	"too many passwords"

	.comm	_DAY,8,3                        ## @DAY
L_.str.2:                               ## @.str.2
	.asciz	"| ,\n\r"

	.comm	_RIP_AUTH_MD5,8,3               ## @RIP_AUTH_MD5
L_.str.3:                               ## @.str.3
	.asciz	"missing Keyid"

L_.str.4:                               ## @.str.4
	.asciz	"bad KeyID \"%.20s\""

L_.str.5:                               ## @.str.5
	.asciz	"duplicate KeyID \"%.20s\""

L_.str.6:                               ## @.str.6
	.asciz	"missing second timestamp"

L_.str.7:                               ## @.str.7
	.asciz	"out of order timestamp %.30s"

	.no_dead_strip	_get_passwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_passwd
_get_passwd:                            ; @get_passwd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x0
	str	x1, [sp, #56]
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	cbz	w20, LBB0_13
; %bb.1:
	ldr	x20, [x21]
Lloh0:
	adrp	x8, _RIP_AUTH_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RIP_AUTH_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x20]
	cmp	x9, x8
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x9, _MAX_AUTH_KEYS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_AUTH_KEYS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #0
	csel	w9, w9, wzr, gt
	add	w9, w9, #1
Lloh6:
	adrp	x23, l_.str.1@PAGE
Lloh7:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	subs	w9, w9, #1
	b.eq	LBB0_31
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x20, #40]!
	cmp	x10, x8
	b.ne	LBB0_3
LBB0_5:
	mov	x24, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh8:
	adrp	x8, _DAY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DAY@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mvn	x8, x8
	str	x22, [sp]
	str	x8, [sp, #16]
	ldr	x3, [sp, #32]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #56
	add	x2, sp, #47
	mov	w4, #8
	bl	_parse_quote
	tbnz	x0, #63, LBB0_14
; %bb.6:
	ldrb	w8, [sp, #47]
	cmp	w8, #124
	b.ne	LBB0_15
; %bb.7:
	ldr	x8, [sp, #56]
	add	x22, x8, #1
	str	x22, [sp, #56]
Lloh13:
	adrp	x23, _get_passwd.buf@PAGE
Lloh14:
	add	x23, x23, _get_passwd.buf@PAGEOFF
	strb	wzr, [x23, #79]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #56
	add	x2, sp, #47
	mov	x3, x23
	mov	w4, #80
	bl	_parse_quote
	tbnz	x0, #63, LBB0_11
; %bb.8:
	ldrb	w8, [x23, #79]
	cbnz	w8, LBB0_11
; %bb.9:
Lloh17:
	adrp	x0, _get_passwd.buf@PAGE
Lloh18:
	add	x0, x0, _get_passwd.buf@PAGEOFF
	add	x1, sp, #48
	mov	w2, #0
	bl	_strtoul
	cmp	w0, #255
	b.gt	LBB0_11
; %bb.10:
	ldr	x8, [sp, #48]
	ldrb	w8, [x8]
	cbz	w8, LBB0_17
LBB0_11:
Lloh19:
	adrp	x23, _get_passwd.buf@PAGE
Lloh20:
	add	x23, x23, _get_passwd.buf@PAGEOFF
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_12:
	mov	x0, x23
	mov	x2, x22
	bl	_sprintf
	b	LBB0_31
LBB0_13:
Lloh23:
	adrp	x23, l_.str@PAGE
Lloh24:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_31
LBB0_14:
	mov	x23, x19
	b	LBB0_31
LBB0_15:
Lloh25:
	adrp	x9, _RIP_AUTH_MD5@GOTPAGE
Lloh26:
	ldr	x9, [x9, _RIP_AUTH_MD5@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x22
	b.ne	LBB0_29
; %bb.16:
Lloh28:
	adrp	x23, l_.str.3@PAGE
Lloh29:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_31
LBB0_17:
	ldr	x8, [x21]
	cmp	x8, x20
	b.hs	LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8, #8]
	cmp	w9, w0
	b.eq	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x8, x8, #40
	cmp	x8, x20
	b.lo	LBB0_18
LBB0_20:
	str	w0, [sp, #8]
	ldrb	w8, [sp, #47]
	cmp	w8, #124
	b.ne	LBB0_29
; %bb.21:
	ldr	x8, [sp, #56]
	add	x2, x8, #1
	str	x2, [sp, #56]
	mov	x8, sp
	add	x0, x8, #24
Lloh30:
	adrp	x4, _get_passwd.buf@PAGE
Lloh31:
	add	x4, x4, _get_passwd.buf@PAGEOFF
	add	x1, sp, #56
	add	x3, sp, #47
	mov	w5, #80
	bl	_parse_ts
	mov	x23, x0
	cbnz	x0, LBB0_31
; %bb.22:
	ldrb	w8, [sp, #47]
	cmp	w8, #124
	b.ne	LBB0_27
; %bb.23:
	add	x0, x24, #16
	ldr	x8, [sp, #56]
	add	x21, x8, #1
	str	x21, [sp, #56]
Lloh32:
	adrp	x4, _get_passwd.buf@PAGE
Lloh33:
	add	x4, x4, _get_passwd.buf@PAGEOFF
	add	x1, sp, #56
	add	x3, sp, #47
	mov	x2, x21
	mov	w5, #80
	bl	_parse_ts
	mov	x23, x0
	str	x0, [sp, #48]
	cbnz	x0, LBB0_31
; %bb.24:
	ldr	w8, [sp, #24]
	ldr	w9, [sp, #16]
	cmp	w8, w9
	b.le	LBB0_28
; %bb.25:
Lloh34:
	adrp	x23, _get_passwd.buf@PAGE
Lloh35:
	add	x23, x23, _get_passwd.buf@PAGEOFF
Lloh36:
	adrp	x1, l_.str.7@PAGE
Lloh37:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_sprintf
	b	LBB0_31
LBB0_26:
Lloh38:
	adrp	x23, _get_passwd.buf@PAGE
Lloh39:
	add	x23, x23, _get_passwd.buf@PAGEOFF
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_27:
Lloh42:
	adrp	x23, l_.str.6@PAGE
Lloh43:
	add	x23, x23, l_.str.6@PAGEOFF
	b	LBB0_31
LBB0_28:
	ldrb	w8, [sp, #47]
LBB0_29:
	mov	x23, x19
	cbnz	w8, LBB0_31
; %bb.30:
	mov	x1, sp
	mov	x0, x20
	mov	w2, #40
	bl	_memmove
	mov	x23, #0
LBB0_31:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_get_passwd.buf,80,0 ; @get_passwd.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignore unsafe password"

	.comm	_RIP_AUTH_NONE,8,3              ; @RIP_AUTH_NONE
	.comm	_MAX_AUTH_KEYS,4,2              ; @MAX_AUTH_KEYS
l_.str.1:                               ; @.str.1
	.asciz	"too many passwords"

	.comm	_DAY,8,3                        ; @DAY
l_.str.2:                               ; @.str.2
	.asciz	"| ,\n\r"

	.comm	_RIP_AUTH_MD5,8,3               ; @RIP_AUTH_MD5
l_.str.3:                               ; @.str.3
	.asciz	"missing Keyid"

l_.str.4:                               ; @.str.4
	.asciz	"bad KeyID \"%.20s\""

l_.str.5:                               ; @.str.5
	.asciz	"duplicate KeyID \"%.20s\""

l_.str.6:                               ; @.str.6
	.asciz	"missing second timestamp"

l_.str.7:                               ; @.str.7
	.asciz	"out of order timestamp %.30s"

	.no_dead_strip	_get_passwd
.subsections_via_symbols
