	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pam_server
_pam_server:                            ## @pam_server
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r15
	movl	%edi, %ebx
	movl	%edx, %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movq	_RESPONSE_INIT_SUCCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_send_control
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.3:
	leaq	-96(%rbp), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_RESPONSE_VERIFY_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_send_control
	cmpl	$-1, %eax
	je	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rdi
	movl	$8, %esi
	callq	_plugin_secure_memzero
	movq	-64(%rbp), %rdi
	movl	$8, %esi
	callq	_plugin_secure_memzero
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	%r12d, -96(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -56(%rbp)
	movl	%ebx, %edi
	callq	_recv_control
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, %r14d
	jne	LBB0_7
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rsi
	movl	%ebx, %edi
	movl	$8, %edx
	callq	_recv_string
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rsi
	movl	%ebx, %edi
	movl	$8, %edx
	callq	_recv_string
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rsi
	movl	%ebx, %edi
	movl	$8, %edx
	callq	_recv_string
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_split_scrv1_password
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_pam_auth
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_RESPONSE_VERIFY_SUCCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_send_control
	cmpl	$-1, %eax
	jne	LBB0_27
## %bb.24:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_7:
	cmpl	$-1, %r14d
	je	LBB0_28
## %bb.8:
	cmpl	$129, %r14d
	je	LBB0_11
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movl	%r14d, %edx
	jmp	LBB0_10
LBB0_19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$128, %edx
LBB0_10:
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
LBB0_28:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_15
LBB0_26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_15:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_11:
	movq	-80(%rbp), %rdi
	movl	$8, %esi
	callq	_plugin_secure_memzero
	movq	-64(%rbp), %rdi
	movl	$8, %esi
	callq	_plugin_secure_memzero
	movl	%r12d, %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AUTH-PAM: BACKGROUND: INIT service='%s'\n"

	.comm	_RESPONSE_INIT_SUCCEEDED,4,2    ## @RESPONSE_INIT_SUCCEEDED
L_.str.1:                               ## @.str.1
	.asciz	"AUTH-PAM: BACKGROUND: write error on response socket [1]\n"

L_.str.2:                               ## @.str.2
	.asciz	"AUTH-PAM: BACKGROUND: received command code: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"AUTH-PAM: BACKGROUND: read error on command channel: code=%d, exiting\n"

L_.str.4:                               ## @.str.4
	.asciz	"AUTH-PAM: BACKGROUND: USER: %s\n"

	.comm	_RESPONSE_VERIFY_SUCCEEDED,4,2  ## @RESPONSE_VERIFY_SUCCEEDED
L_.str.5:                               ## @.str.5
	.asciz	"AUTH-PAM: BACKGROUND: write error on response socket [2]\n"

	.comm	_RESPONSE_VERIFY_FAILED,4,2     ## @RESPONSE_VERIFY_FAILED
L_.str.6:                               ## @.str.6
	.asciz	"AUTH-PAM: BACKGROUND: write error on response socket [3]\n"

L_.str.7:                               ## @.str.7
	.asciz	"AUTH-PAM: BACKGROUND: read error on command channel\n"

L_.str.8:                               ## @.str.8
	.asciz	"AUTH-PAM: BACKGROUND: unknown command code: code=%d, exiting\n"

L_.str.9:                               ## @.str.9
	.asciz	"AUTH-PAM: BACKGROUND: EXIT\n"

	.comm	_RESPONSE_INIT_FAILED,4,2       ## @RESPONSE_INIT_FAILED
	.no_dead_strip	_pam_server
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pam_server
_pam_server:                            ; @pam_server
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_DEBUG
Lloh0:
	adrp	x26, _stderr@GOTPAGE
Lloh1:
	ldr	x26, [x26, _stderr@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x26]
	str	x21, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh4:
	adrp	x8, _RESPONSE_INIT_SUCCEEDED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RESPONSE_INIT_SUCCEEDED@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_send_control
	cmn	w0, #1
	b.eq	LBB0_17
; %bb.3:
Lloh7:
	adrp	x27, _RESPONSE_VERIFY_FAILED@GOTPAGE
Lloh8:
	ldr	x27, [x27, _RESPONSE_VERIFY_FAILED@GOTPAGEOFF]
Lloh9:
	adrp	x28, _RESPONSE_VERIFY_SUCCEEDED@GOTPAGE
Lloh10:
	ldr	x28, [x28, _RESPONSE_VERIFY_SUCCEEDED@GOTPAGEOFF]
Lloh11:
	adrp	x23, l_.str.4@PAGE
Lloh12:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh13:
	adrp	x24, l_.str.2@PAGE
Lloh14:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x27]
	mov	x0, x22
	bl	_send_control
	cmn	w0, #1
	b.eq	LBB0_23
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #32]
	mov	w1, #8
	bl	_plugin_secure_memzero
	ldr	x0, [sp, #48]
	mov	w1, #8
	bl	_plugin_secure_memzero
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	w19, [sp, #16]
	str	x20, [sp, #56]
	mov	x0, x22
	bl	_recv_control
	mov	x25, x0
	mov	x0, x19
	bl	_DEBUG
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x26]
	str	x25, [sp]
	mov	x1, x24
	bl	_fprintf
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, #128
	b.ne	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [sp, #24]
	mov	x0, x22
	mov	w2, #8
	bl	_recv_string
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [sp, #32]
	mov	x0, x22
	mov	w2, #8
	bl	_recv_string
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [sp, #40]
	mov	x0, x22
	mov	w2, #8
	bl	_recv_string
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_DEBUG
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x26]
	ldr	x8, [sp, #24]
	str	x8, [sp]
	mov	x1, x23
	bl	_fprintf
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	bl	_split_scrv1_password
	add	x1, sp, #16
	mov	x0, x21
	bl	_pam_auth
	cbz	w0, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x28]
	mov	x0, x22
	bl	_send_control
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.16:
	ldr	w0, [x26]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_24
LBB0_17:
	ldr	w0, [x26]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_24
LBB0_18:
	cmn	w25, #1
	b.eq	LBB0_22
; %bb.19:
	cmp	w25, #129
	b.eq	LBB0_25
; %bb.20:
	ldr	w0, [x26]
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	str	x25, [sp]
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_24
LBB0_21:
	ldr	w0, [x26]
	mov	w8, #128
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_24
LBB0_22:
	ldr	w0, [x26]
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_24
LBB0_23:
	ldr	w0, [x26]
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_24:
	bl	_fprintf
LBB0_25:
	ldr	x0, [sp, #32]
	mov	w1, #8
	bl	_plugin_secure_memzero
	ldr	x0, [sp, #48]
	mov	w1, #8
	bl	_plugin_secure_memzero
	mov	x0, x19
	bl	_DEBUG
	cbz	x0, LBB0_27
; %bb.26:
	ldr	w0, [x26]
Lloh27:
	adrp	x1, l_.str.9@PAGE
Lloh28:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
LBB0_27:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AUTH-PAM: BACKGROUND: INIT service='%s'\n"

	.comm	_RESPONSE_INIT_SUCCEEDED,4,2    ; @RESPONSE_INIT_SUCCEEDED
l_.str.1:                               ; @.str.1
	.asciz	"AUTH-PAM: BACKGROUND: write error on response socket [1]\n"

l_.str.2:                               ; @.str.2
	.asciz	"AUTH-PAM: BACKGROUND: received command code: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"AUTH-PAM: BACKGROUND: read error on command channel: code=%d, exiting\n"

l_.str.4:                               ; @.str.4
	.asciz	"AUTH-PAM: BACKGROUND: USER: %s\n"

	.comm	_RESPONSE_VERIFY_SUCCEEDED,4,2  ; @RESPONSE_VERIFY_SUCCEEDED
l_.str.5:                               ; @.str.5
	.asciz	"AUTH-PAM: BACKGROUND: write error on response socket [2]\n"

	.comm	_RESPONSE_VERIFY_FAILED,4,2     ; @RESPONSE_VERIFY_FAILED
l_.str.6:                               ; @.str.6
	.asciz	"AUTH-PAM: BACKGROUND: write error on response socket [3]\n"

l_.str.7:                               ; @.str.7
	.asciz	"AUTH-PAM: BACKGROUND: read error on command channel\n"

l_.str.8:                               ; @.str.8
	.asciz	"AUTH-PAM: BACKGROUND: unknown command code: code=%d, exiting\n"

l_.str.9:                               ; @.str.9
	.asciz	"AUTH-PAM: BACKGROUND: EXIT\n"

	.comm	_RESPONSE_INIT_FAILED,4,2       ; @RESPONSE_INIT_FAILED
	.no_dead_strip	_pam_server
.subsections_via_symbols
