	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sshpam_sigchld_handler
_sshpam_sigchld_handler:                ## @sshpam_sigchld_handler
	.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
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_cleanup_ctxt@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	(%rax), %edi
	movq	_WNOHANG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_sshpam_thread_status@GOTPCREL(%rip), %r14
	movq	%r14, %rsi
	callq	_waitpid
	testl	%eax, %eax
	jle	LBB0_2
LBB0_5:
	movl	(%r14), %edi
	callq	_WIFSIGNALED
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	callq	_WTERMSIG
	movq	_SIGTERM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
LBB0_7:
	movl	(%r14), %edi
	callq	_WIFEXITED
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	callq	_sigdie
LBB0_9:
	movl	(%r14), %edi
	callq	_WEXITSTATUS
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sigdie                         ## TAILCALL
LBB0_2:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_kill
	movq	_sshpam_thread_status@GOTPCREL(%rip), %r12
	movq	_errno@GOTPCREL(%rip), %r13
	movq	_EINTR@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_waitpid
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	cmpq	(%rbx), %rax
	je	LBB0_3
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_cleanup_ctxt,8,3               ## @cleanup_ctxt
	.comm	_sshpam_thread_status,4,2       ## @sshpam_thread_status
	.comm	_WNOHANG,4,2                    ## @WNOHANG
	.comm	_SIGTERM,8,3                    ## @SIGTERM
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PAM: authentication thread exited unexpectedly"

L_.str.1:                               ## @.str.1
	.asciz	"PAM: authentication thread exited uncleanly"

	.no_dead_strip	_sshpam_sigchld_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sshpam_sigchld_handler
_sshpam_sigchld_handler:                ; @sshpam_sigchld_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_signal
Lloh6:
	adrp	x21, _cleanup_ctxt@GOTPAGE
Lloh7:
	ldr	x21, [x21, _cleanup_ctxt@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_11
; %bb.1:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _WNOHANG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WNOHANG@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x19, _sshpam_thread_status@GOTPAGE
Lloh12:
	ldr	x19, [x19, _sshpam_thread_status@GOTPAGEOFF]
	mov	x1, x19
	bl	_waitpid
	cmp	w0, #0
	b.le	LBB0_8
LBB0_2:
	ldr	w0, [x19]
	bl	_WIFSIGNALED
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	bl	_WTERMSIG
Lloh13:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_11
LBB0_4:
	ldr	w0, [x19]
	bl	_WIFEXITED
	cbnz	w0, LBB0_6
; %bb.5:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sigdie
LBB0_6:
	ldr	w0, [x19]
	bl	_WEXITSTATUS
	cbz	x0, LBB0_11
; %bb.7:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sigdie
LBB0_8:
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh22:
	ldr	x1, [x8]
	bl	_kill
Lloh23:
	adrp	x20, _sshpam_thread_status@GOTPAGE
Lloh24:
	ldr	x20, [x20, _sshpam_thread_status@GOTPAGEOFF]
Lloh25:
	adrp	x22, _errno@GOTPAGE
Lloh26:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
Lloh27:
	adrp	x23, _EINTR@GOTPAGE
Lloh28:
	ldr	x23, [x23, _EINTR@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #0
	bl	_waitpid
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_cleanup_ctxt,8,3               ; @cleanup_ctxt
	.comm	_sshpam_thread_status,4,2       ; @sshpam_thread_status
	.comm	_WNOHANG,4,2                    ; @WNOHANG
	.comm	_SIGTERM,8,3                    ; @SIGTERM
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PAM: authentication thread exited unexpectedly"

l_.str.1:                               ; @.str.1
	.asciz	"PAM: authentication thread exited uncleanly"

	.no_dead_strip	_sshpam_sigchld_handler
.subsections_via_symbols
