	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split_scrv1_password
_split_scrv1_password:                  ## @split_scrv1_password
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	(%r12), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%r12), %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r14
	movslq	%ebx, %rbx
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %r15
	movb	$0, (%rax)
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_plugin_base64_decode
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	incq	%r15
	movq	(%r12), %rcx
	movl	%eax, %eax
	movb	$0, (%rcx,%rax)
	movq	8(%r12), %rsi
	movq	%r15, %rdi
	movl	$7, %edx
	callq	_plugin_base64_decode
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:
	movq	8(%r12), %rcx
	movl	%eax, %eax
	movb	$0, (%rcx,%rax)
	movl	16(%r12), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_8:
	movq	(%r12), %rdi
	movl	$8, %esi
	callq	_plugin_secure_memzero
	movq	8(%r12), %rdi
	movl	$8, %esi
	callq	_plugin_secure_memzero
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_strcpy
	leaq	L_.str.3(%rip), %rsi
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fprintf
LBB0_10:
	movq	%r14, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_plugin_secure_memzero
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SCRV1:"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"AUTH-PAM: out of memory parsing static challenge password\n"

L_.str.2:                               ## @.str.2
	.asciz	"AUTH-PAM: BACKGROUND: parsed static challenge password\n"

L_.str.3:                               ## @.str.3
	.asciz	"AUTH-PAM: base64 decode error while parsing static challenge password\n"

	.no_dead_strip	_split_scrv1_password
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split_scrv1_password
_split_scrv1_password:                  ; @split_scrv1_password
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strlen
	mov	x21, x0
	ldr	x0, [x20]
	mov	x1, x19
	mov	x2, x21
	bl	_strncmp
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x0, [x20]
	bl	_strdup
	cbz	x0, LBB0_8
; %bb.3:
	mov	x19, x0
	add	x22, x0, w21, sxtw
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.4:
	mov	x21, x0
	strb	wzr, [x0]
	ldr	x1, [x20]
	mov	x0, x22
	mov	w2, #7
	bl	_plugin_base64_decode
	tbnz	w0, #31, LBB0_9
; %bb.5:
	add	x8, x21, #1
	ldr	x9, [x20]
	strb	wzr, [x9, w0, uxtw]
	ldr	x1, [x20, #8]
	mov	x0, x8
	mov	w2, #7
	bl	_plugin_base64_decode
	tbnz	w0, #31, LBB0_9
; %bb.6:
	ldr	x8, [x20, #8]
	strb	wzr, [x8, w0, uxtw]
	ldr	w0, [x20, #16]
	bl	_DEBUG
	cbz	x0, LBB0_11
; %bb.7:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fprintf
LBB0_9:
	ldr	x0, [x20]
	mov	w1, #8
	bl	_plugin_secure_memzero
	ldr	x0, [x20, #8]
	mov	w1, #8
	bl	_plugin_secure_memzero
	ldr	x0, [x20]
	mov	x1, x19
	bl	_strcpy
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_10:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_fprintf
LBB0_11:
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_plugin_secure_memzero
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SCRV1:"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"AUTH-PAM: out of memory parsing static challenge password\n"

l_.str.2:                               ; @.str.2
	.asciz	"AUTH-PAM: BACKGROUND: parsed static challenge password\n"

l_.str.3:                               ; @.str.3
	.asciz	"AUTH-PAM: base64 decode error while parsing static challenge password\n"

	.no_dead_strip	_split_scrv1_password
.subsections_via_symbols
