	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pam_ssh_process_agent_output
_pam_ssh_process_agent_output:          ## @pam_ssh_process_agent_output
	.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	$24, %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	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_fgetln
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r14
	leaq	-48(%rbp), %r15
	leaq	L_.str(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_fgetln
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	cmpq	$4, -48(%rbp)
	jb	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx
	leaq	(%r14,%rcx), %rax
	movq	%r14, %r13
	testq	%rcx, %rcx
	jle	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$61, (%r13)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%r13
	cmpq	%rax, %r13
	jb	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %r13
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$61, (%r13)
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, (%r13)
	incq	%r13
	movq	-48(%rbp), %rcx
	addq	%r14, %rcx
	movq	%r13, %rax
	cmpq	%rcx, %r13
	jae	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$59, (%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	incq	%rax
	cmpq	%rcx, %rax
	jb	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$59, (%rax)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, (%rax)
	movq	_PAM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_openpam_log
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	_pam_setenv
	jmp	LBB0_16
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSH_"

	.comm	_PAM_LOG_DEBUG,4,2              ## @PAM_LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"got %s: %s"

	.no_dead_strip	_pam_ssh_process_agent_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pam_ssh_process_agent_output
_pam_ssh_process_agent_output:          ; @pam_ssh_process_agent_output
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_fgetln
	cbz	x0, LBB0_19
; %bb.1:
	mov	x23, x0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _PAM_LOG_DEBUG@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PAM_LOG_DEBUG@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_fgetln
	mov	x23, x0
	cbz	x0, LBB0_19
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x8, [sp, #8]
	cmp	x8, #4
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x21
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [sp, #8]
	add	x9, x23, x10
	mov	x8, x23
	cmp	x10, #1
	b.lt	LBB0_9
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x8]
	cmp	w10, #61
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x8, #1
	cmp	x8, x9
	b.lo	LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x9
	b.ne	LBB0_10
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x23
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #61
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x8
	strb	wzr, [x24], #1
	ldr	x11, [sp, #8]
	add	x9, x23, x11
	cmp	x24, x9
	mov	x10, x24
	b.hs	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x11, x23
	sub	x10, x10, x8
	add	x8, x8, x10
	sub	x11, x10, #1
	mov	x10, x24
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w12, [x10]
	cmp	w12, #59
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x10, x10, #1
	subs	x11, x11, #1
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x10, x8
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x10, x9
	b.eq	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x10]
	cmp	w8, #59
	b.ne	LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x10]
	ldr	w0, [x25]
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_openpam_log
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	w3, #1
	bl	_pam_setenv
	b	LBB0_2
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSH_"

	.comm	_PAM_LOG_DEBUG,4,2              ; @PAM_LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"got %s: %s"

	.no_dead_strip	_pam_ssh_process_agent_output
.subsections_via_symbols
