	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dologin                        ## -- Begin function dologin
	.p2align	4, 0x90
_dologin:                               ## @dologin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_short2blk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_USE
	movq	_blk_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_cleanup_push
	xorl	%eax, %eax
	callq	_islogin
	movq	_STRsavehist@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adrof
	xorl	%esi, %esi
	testq	%rax, %rax
	setne	%sil
	xorl	%edi, %edi
	callq	_rechist
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_parterm@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	__PATH_BIN_LOGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_execv
	movq	__PATH_USRBIN_LOGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_execv
	movq	%r14, %rdi
	callq	_cleanup_until
	xorl	%eax, %eax
	callq	_untty
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xexit                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_blk_cleanup,4,2                ## @blk_cleanup
	.comm	_STRsavehist,4,2                ## @STRsavehist
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_parterm,4,2                    ## @parterm
	.comm	__PATH_BIN_LOGIN,4,2            ## @_PATH_BIN_LOGIN
	.comm	__PATH_USRBIN_LOGIN,4,2         ## @_PATH_USRBIN_LOGIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dologin                        ; -- Begin function dologin
	.p2align	2
_dologin:                               ; @dologin
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_short2blk
	mov	x20, x0
	mov	x0, x19
	bl	_USE
Lloh0:
	adrp	x8, _blk_cleanup@GOTPAGE
Lloh1:
	ldr	x8, [x8, _blk_cleanup@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cleanup_push
	bl	_islogin
Lloh3:
	adrp	x8, _STRsavehist@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRsavehist@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_adrof
	cmp	x0, #0
	cset	w1, ne
	mov	x0, #0
	bl	_rechist
Lloh6:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, _parterm@GOTPAGE
Lloh10:
	ldr	x1, [x1, _parterm@GOTPAGEOFF]
	mov	x2, #0
	bl	_sigaction
Lloh11:
	adrp	x8, __PATH_BIN_LOGIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, __PATH_BIN_LOGIN@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_execv
Lloh14:
	adrp	x8, __PATH_USRBIN_LOGIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, __PATH_USRBIN_LOGIN@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_execv
	mov	x0, x20
	bl	_cleanup_until
	bl	_untty
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xexit
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_blk_cleanup,4,2                ; @blk_cleanup
	.comm	_STRsavehist,4,2                ; @STRsavehist
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_parterm,4,2                    ; @parterm
	.comm	__PATH_BIN_LOGIN,4,2            ; @_PATH_BIN_LOGIN
	.comm	__PATH_USRBIN_LOGIN,4,2         ; @_PATH_USRBIN_LOGIN
.subsections_via_symbols
